Loading image into GUI
1 view (last 30 days)
Show older comments
Hi
I am new to matlab. please help me urgently. I have design an GUI and wrote following code to load an image.
% Browse for the image file.
[baseFileName, folder] = uigetfile('*.*', 'Specify an image file');
% Create the full file name.
fullImageFileName = fullfile(folder, baseFileName);
im_dis=imread(fullImageFileName);
axes(handles.axes1);
image(im_dis);
Now i need to use uploaded image which is stored in im_dis with other button function. how can i call that image.
please Help me..
1 Comment
Walter Roberson
on 5 Jun 2012
http://www.mathworks.com/matlabcentral/answers/29922-why-your-question-is-not-urgent-or-an-emergency
Answers (1)
See Also
Categories
Find more on Image Processing Toolbox 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!