how to load image to two axes with use of one push button
Show older comments
Dear friends
I have to create color constancy program for using GUI in mat lab i want to load two images for using two axes(axes1,axes2) with the use of one pushbutton1(LoadImage) i have to try that following code
[File,Folder]=uigetfile('*.*','Multiselect','on');
handles.img=cell(1,length(File));
for iFile=1:length(File)
filename=strcat(Floder,File{iFile);
image=imread(filename);
axes(handles.axes(iFile));
imshow(image);
handles.img{iFile} =image;
end
guidata(hObject,handles);
Please any one help to me. How to execute that code ?
Accepted Answer
More Answers (0)
Categories
Find more on Images in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!