Effacer les filtres
Effacer les filtres

Enhancing crop code in Matlab gui

1 vue (au cours des 30 derniers jours)
sha
sha le 1 Nov 2012
Hi there,
I have some problems in enhancing for my code. What i have done is loading 3 images and cropping the image individually. However, i wanted to crop image 1, and subsequently, the other 2 images will follow the exact size of the cropping image 1.
this code is just for cropping individual image:
-----------------------------------------
[handles.currentimage handles.cropRect] = ...
imcrop(handles.axes2);
axes(handles.axes2);
imshow(handles.currentimage);
guidata(hObject, handles);
[handles.currentimage2 handles.cropRect] = ...
imcrop(handles.axes3);
axes(handles.axes3);
imshow(handles.currentimage2);
guidata(hObject, handles);
[handles.currentimage3 handles.cropRect] = ...
imcrop(handles.axes4);
axes(handles.axes4);
imshow(handles.currentimage3);
guidata(hObject, handles);
----------------------------------------------------
Can anyone help??? THANKSSS!!

Réponses (0)

Catégories

En savoir plus sur Image Filtering and Enhancement dans Help Center et File Exchange

Produits

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by