필터 지우기
필터 지우기

image rotation with equations?

조회 수: 4 (최근 30일)
Muneef
Muneef 2013년 11월 27일
답변: Walter Roberson 2013년 11월 27일
xrot = x*cos(θ) y*sin(θ)
yrot = x*sin(θ) + y*cos(θ)
hold for images as well. can i rotate image with them?

채택된 답변

Walter Roberson
Walter Roberson 2013년 11월 27일
Yes, but you will encounter the same limitations as with imrotate(), that you will need to end up with a rectangular grid that the rotated image takes up part of. image() and imagesc() and imshow() can only deal with horizontally and vertically aligned matrices.
You should have a look at hgtransform()

추가 답변 (1개)

Matt J
Matt J 2013년 11월 27일
You could, when you incorporate them into imtransform(). But it would be easier just to use imrotate().

카테고리

Help CenterFile Exchange에서 Images에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by