How to display desired image in MATLAB GUI?
问题 I have a GUI as shown below: And I would like to apply Otsu threshold on the image displayed after contrast enhancement. But whenever I pressed the apply button for Otsu threshold,the Otsu threshold will be applied on the original image instead of the image after contrast enhancement (refer to the attached GUI and coding). So how do I overcome this problem? function pushbutton10_Callback(hObject, eventdata, handles) I = im2double(handles.im); imshow(I); % prompts for the two inputs prompt = {