필터 지우기
필터 지우기

how can I do ROTATION OPERATION for both row and column

조회 수: 1 (최근 30일)
hayat ali
hayat ali 2018년 11월 24일
댓글: hayat ali 2018년 11월 27일
I want to make shifting for row and column. how can I do that?

채택된 답변

KALYAN ACHARJYA
KALYAN ACHARJYA 2018년 11월 24일
편집: KALYAN ACHARJYA 2018년 11월 24일
result=rot90(input_mat)
Check imrotate also.

추가 답변 (2개)

madhan ravi
madhan ravi 2018년 11월 24일
편집: madhan ravi 2018년 11월 24일

Image Analyst
Image Analyst 2018년 11월 27일
편집: Image Analyst 2018년 11월 27일
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.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by