how to plotting the selected images
Mostrar comentarios más antiguos
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) ?
Respuesta aceptada
Más respuestas (1)
Ahmed
el 7 de Sept. de 2011
0 votos
3 comentarios
Walter Roberson
el 7 de Sept. de 2011
[filename, directory] = uigetfile(...)
imagename = fullfilename(directory,filename);
IMG = imread(imagename);
imshow(handles.axes1, IMG);
drawnow();
Ahmed
el 8 de Sept. de 2011
Walter Roberson
el 8 de Sept. de 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.
Categorías
Más información sobre Image Arithmetic en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!