Does someone know how can I crop and image and a plot to obtein both the result in another figure, I tried with getframe and frame2im but it pixels the image too much.. Does someone know another option?
And I need to do it in comand line automaticalle, not using the figure option. In rect you can see the rect i would like to use in the imcrop function.
I = imread('cameraman.tif');
rect = [71.5 92.5 101 76];