Clear Filters
Clear Filters

Loading image into GUI

3 views (last 30 days)
Jaanu
Jaanu on 5 Jun 2012
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
Walter Roberson on 5 Jun 2012
http://www.mathworks.com/matlabcentral/answers/29922-why-your-question-is-not-urgent-or-an-emergency

Sign in to comment.

Answers (1)

Walter Roberson
Walter Roberson on 5 Jun 2012

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!