How to rotate an image in a button?

2 views (last 30 days)
Ha
Ha on 1 Dec 2014
Commented: Image Analyst on 1 Dec 2014
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 ...

Answers (0)

Community Treasure Hunt

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

Start Hunting!