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 Center および File ExchangeGeometric 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