how to plotting the selected images
Show older comments
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) ?
Accepted Answer
More Answers (1)
Ahmed
on 7 Sep 2011
0 votes
3 Comments
Walter Roberson
on 7 Sep 2011
[filename, directory] = uigetfile(...)
imagename = fullfilename(directory,filename);
IMG = imread(imagename);
imshow(handles.axes1, IMG);
drawnow();
Ahmed
on 8 Sep 2011
Walter Roberson
on 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.
Categories
Find more on Image Arithmetic in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!