How to rotate an image in a button?
2 views (last 30 days)
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
Answers (0)
See Also
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!