MATLAB: How can i crop an image manually and display it automatically in gui

digital image processingimageimage analysisimage processingImage Processing Toolbox

I have some problem with displaying a cropped image in gui as i know if i crop an image manually, i have to save the cropped image manually and then display it in axes on gui what i want to do is, i crop the image manually and the cropped image will automatically load to the axes on gui without saving the cropped image

Best Answer

NewImage = imcrop(OriginalImage);
imshow(NewImage, 'Parent', handles.AppropriateAxes)
Related Question