How can refer to rotational angle, which was made in another function of GUI?
Show older comments
Hi, I want to use obtained rotation angle for further computing in another function. Assignment of angle to handles.angle did not help.
----------
handles.angle = round( get(hObject,'Value') );
Im_r = imrotate(handles.pic, handles.angle, 'bilinear', 'crop');
----------
angle=handles.angle;
I_r = imrotate(I,angle, 'bilinear', 'crop');
Accepted Answer
More Answers (0)
Categories
Find more on Image Arithmetic in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!