i have a problem executing this set of statements. it sort of hangs when i execute it. is there any other alternative ways i could do it by manually assign a standard size to the images to crop all automatically?
[I1c rect] = imcrop(handles.axes2);
rect
axes(handles.axes2); imshow(I1c); guidata(hObject, handles); I2c = imcrop(I2, rect); axes(handles.axes3); imshow(I2c); guidata(hObject, handles);
Best Answer