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');
Best Answer