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

3 vues (au cours des 30 derniers jours)
Muneef
Muneef le 26 Nov 2013
i when to rotate a moving image whose xdata and ydata is set. now i cant able to rotate it.

Réponses (1)

Walter Roberson
Walter Roberson le 26 Nov 2013
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

Catégories

En savoir plus sur Geometric Transformation and Image Registration dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by