How to rotate image when its handle is not a matrix?

조회 수: 1 (최근 30일)
Muneef
Muneef 2013년 11월 26일
답변: Walter Roberson 2013년 11월 26일
i when to rotate a moving image whose xdata and ydata is set. now i cant able to rotate it.

답변 (1개)

Walter Roberson
Walter Roberson 2013년 11월 26일
Create an hgtransform group, set() the parent of the image to that group, makehgtform() to create the rotation matrix, and set() that into the hgtransform group to put the rotation into effect. See http://www.mathworks.com/help/matlab/ref/hgtransform.html

카테고리

Help CenterFile Exchange에서 Geometric Transformation and Image Registration에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by