How to rotate an image in a button?
Show older comments
Good night,
I wanted to ask for help regarding the matlab for image processing.
I have a problem, I have a picture but it is turning evil.

They told me to put a variable to 0 where 0 is the initial angle.
RotateCounter = 0;
handles.image = imrotate (handles.image, RotateCounter, 'crop');
RotateCounter RotateCounter = -20;
imageRot = imrotate (handles.image, RotateCounter, 'crop');
imshow (imageRot 'Parent', handles.axes2);
But I do not get ...
1 Comment
Image Analyst
on 1 Dec 2014
You do not get what ? What are you expecting?
Answers (0)
Categories
Find more on Geometric Transformation and Image Registration in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!