how can I do ROTATION OPERATION for both row and column

1 visualización (últimos 30 días)
hayat ali
hayat ali el 24 de Nov. de 2018
Comentada: hayat ali el 27 de Nov. de 2018
I want to make shifting for row and column. how can I do that?

Respuesta aceptada

KALYAN ACHARJYA
KALYAN ACHARJYA el 24 de Nov. de 2018
Editada: KALYAN ACHARJYA el 24 de Nov. de 2018
result=rot90(input_mat)
Check imrotate also.

Más respuestas (2)

madhan ravi
madhan ravi el 24 de Nov. de 2018
Editada: madhan ravi el 24 de Nov. de 2018

Image Analyst
Image Analyst el 27 de Nov. de 2018
Editada: Image Analyst el 27 de Nov. de 2018
Really depends on what "rotation" means to you.
  1. Try imtranslate() if you want to shift the image by some number of rows and columns, with no wrap around of edges to the opposite side.
  2. Try circshift() if you want to shift the image with edges wrapping around.
  3. Try imrotate if you want to spin the image around it's center.

Categorías

Más información sobre Geometric Transformation and Image Registration en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by