how to plotting the selected images
显示 更早的评论
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) ?
采纳的回答
更多回答(1 个)
Ahmed
2011-9-7
0 个投票
3 个评论
Walter Roberson
2011-9-7
[filename, directory] = uigetfile(...)
imagename = fullfilename(directory,filename);
IMG = imread(imagename);
imshow(handles.axes1, IMG);
drawnow();
Ahmed
2011-9-8
Walter Roberson
2011-9-8
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.
类别
在 帮助中心 和 File Exchange 中查找有关 Image Arithmetic 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!