Loading image into GUI
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
Walter Roberson
2012-6-5
http://www.mathworks.com/matlabcentral/answers/29922-why-your-question-is-not-urgent-or-an-emergency
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!