How to load N images in 4 axes GUI Matlab
Show older comments
So my question is how am I going to load N images in 4 axes..I made push button and four axes so I can load one image and put it in first axes,so when I am loading second image I need to be uploaded in first axes and the image from the first axes to be moved to second axes. While loading third image,image from second axes need to be moved to third and first image to second axes and so on. Last image is always replaced by the penultimate.
I used this code but it works only for one image
[filename, foldername] = uigetfile({'*.*'}, 'Select file');
if filename ~= 0
FileName = fullfile(foldername, filename);
end
axes (handles.axes1);
F = imread (FileName);
imshow(F, 'Parent', handles.axes1);
s=F;
axes(handles.axes2);
imshow(s)
Please can anyone help me with this?
Accepted Answer
More Answers (0)
Categories
Find more on Images 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!