how can I do ROTATION OPERATION for both row and column

1 Ansicht (letzte 30 Tage)
hayat ali
hayat ali am 24 Nov. 2018
Kommentiert: hayat ali am 27 Nov. 2018
I want to make shifting for row and column. how can I do that?

Akzeptierte Antwort

KALYAN ACHARJYA
KALYAN ACHARJYA am 24 Nov. 2018
Bearbeitet: KALYAN ACHARJYA am 24 Nov. 2018
result=rot90(input_mat)
Check imrotate also.

Weitere Antworten (2)

madhan ravi
madhan ravi am 24 Nov. 2018
Bearbeitet: madhan ravi am 24 Nov. 2018

Image Analyst
Image Analyst am 27 Nov. 2018
Bearbeitet: Image Analyst am 27 Nov. 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.

Kategorien

Mehr zu Geometric Transformation and Image Registration finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by