rotate a tif image
Afficher commentaires plus anciens
I have a tif image which I need to rotate by an angle theta keeping the cg and coordinate axes constant.(i have attached my .tif image). In the example given below, i have rotated the image by 45 degree anticlockwise but it is getting distorted and the cg is also moving. Any help is appreciated.

to

8 commentaires
Guillaume
le 7 Fév 2018
What is "the cg"?
What does keeping the coordinate axes constant mean?
In what way is your image distorted?
How do you rotate the image?
Please attach the image instead of posting it on an external service. Otherwise the thread becomes meaningless, if you drive is cleaned up.
How did you apply the rotation yet? How can you keep the coordinate axes constant if you rotate this image? Do you want to crop the pixels outside the original dimensions?
Busy Bee
le 7 Fév 2018
Busy Bee
le 7 Fév 2018
Guillaume
le 7 Fév 2018
Are we talking about rotating an image around an arbitrary point (which is not the centre of the rectangular image) or rotating a polygon whose vertices are known around its centroid?
The two are fundamentally different.
Busy Bee
le 7 Fév 2018
Jan
le 7 Fév 2018
@Busy Bee: Really? You have the coordinates of the vertices? (By the way: coordinates are not "known around a centroid") And you want to attach a TIF file? Why not providing the positions as code?
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Convert Image Type dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!