using slider to rotate image in Matlab
问题 I have a GUI (using GUIDE) in Matlab, this is how it looks: I want to rotate the image using slider and to show the change in real time. I use axes to display the image. how can I do this? EDIT: I'm building OCR application. this is how the plate looks when I'm rotate it, the numbers are totally deformed. thanks. 回答1: Here is an example GUI: function rotationGUI() %# read image I = imread('cameraman.tif'); %# setup GUI hFig = figure('menu','none'); hAx = axes('Parent',hFig); uicontrol('Parent