Hello,
Can I create something on the GUI like "browse" to select an image and process it according to the program code?
Thanks
|
|
0
|
|
|
|
Reply
|
hasan4444
|
2/1/2011 12:04:05 AM |
|
On Jan 31, 7:04=A0pm, "hasan4444 Assistant" <ghostassist...@gmail.com>
wrote:
> Hello,
>
> Can I create something on the GUI like "browse" to select an image and pr=
ocess it according to the program code?
>
> Thanks
------------------------------------------------------------
Try MAGIC:
http://www.mathworks.com/matlabcentral/fileexchange/24224
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
optionally apply a mask (region of interest) to the image so that only
the area within the mask will be analyzed. The results are optionally
sent to Excel. In this demo, I do some very basic particle sizing but
in use, the user would replace that simple demo code in the function
AnalyzeSingleImage() with their own code. Works with Windows or Unix
since paths are all forward slashes. Requires the Image Processing
Toolbox to do the simple particle sizing demo, but if you delete that
demo code before using it, then the IP toolbox would not be required
and it would still demonstrate the basic GUI-based file processing
functionality.
|
|
1
|
|
|
|
Reply
|
ImageAnalyst
|
2/1/2011 12:23:24 AM
|
|
On 1/31/2011 4:04 PM, hasan4444 Assistant wrote:
> Hello,
>
> Can I create something on the GUI like "browse" to select an image and process
> it according to the program code?
>
> Thanks
May be use uigetfile() to browse for the file on the system, and once you
get the filename, you can use image functions present in matlab
to open the image file, say imopen() and process it.
--Nasser
|
|
0
|
|
|
|
Reply
|
Nasser
|
2/1/2011 12:46:05 AM
|
|