Implement a figure in GUI

1 次查看(过去 30 天)
Laura Sels
Laura Sels 2016-7-7
Hello,
I want to implement different images (from the web) (which will pop up separately) in GUI. Is this possible? I have no experience with GUI so it is very hard to find.
Can anybody help me?
Laura

回答(1 个)

Image Analyst
Image Analyst 2016-7-7
Just call "figure" anytime in your code that you want a brand new figure to be created.
  5 个评论
Laura Sels
Laura Sels 2016-7-7
S.fh = figure('units','pixels',... 'position',[500 500 200 260],... 'menubar','none',... 'name','puppy.fig',... 'numbertitle','off',... 'resize','off');
Something like this will work? Do I have to fill in alle the arguments?
Image Analyst
Image Analyst 2016-7-7
Instead of calling plot(), call imshow() to display an image. Or display anything you want with bar(), surf(), or whatever.
Perhaps you want to get up to speed quickly with a framework that is already built: http://www.mathworks.com/matlabcentral/fileexchange/24224-magic-matlab-generic-imaging-component
"Description
This GUI will help the novice user get up to speed very quickly on using GUI-based applications. Everything is laid out in a very simple Step 1, Step 2, Step 3, etc. layout. It is a very good starting point for a typical image analysis application. This application uses GUIDE to do the user interface design, and has most of the basic controls such as buttons, listboxes, checkboxes, radio buttons, scrollbars, etc. It allows the user to select a folder of images, select one or more images and display them, to select a series of options, and to individually or batch process one or more images. The user can ....."

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Display Image 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by