how to plotting the selected images
Ältere Kommentare anzeigen
hai.
i have question on how to plotting the selected images from folder into axes when push button has been click. And how to update the selected image in axes1 into second push button(analysis operation in second push button) ?
Akzeptierte Antwort
Weitere Antworten (1)
Ahmed
am 7 Sep. 2011
0 Stimmen
3 Kommentare
Walter Roberson
am 7 Sep. 2011
[filename, directory] = uigetfile(...)
imagename = fullfilename(directory,filename);
IMG = imread(imagename);
imshow(handles.axes1, IMG);
drawnow();
Ahmed
am 8 Sep. 2011
Walter Roberson
am 8 Sep. 2011
Sorry, should have been fullfile() instead of fullfilename()
You appear to be using an existing axes. Are your axis limit modes set to manual or to automatic (default is automatic)?
I never use the CreateFcn; never found a use for it.
Kategorien
Mehr zu Image Arithmetic finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!