Path: news.mathworks.com!newsfeed-00.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!a17g2000yqn.googlegroups.com!not-for-mail
From: ImageAnalyst <imageanalyst@mailinator.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: can i use List box to show image?
Date: Thu, 7 Apr 2011 16:51:37 -0700 (PDT)
Organization: http://groups.google.com
Lines: 29
Message-ID: <069ffa12-eea1-425c-9ed8-01cf63d6a139@a17g2000yqn.googlegroups.com>
References: <inku3v$g8t$1@fred.mathworks.com> <cd0cdb05-4bf6-47fc-a6eb-83c6b257e5cd@d12g2000vbz.googlegroups.com>
 <inlejs$4ed$1@fred.mathworks.com>
NNTP-Posting-Host: 184.57.134.178
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
X-Trace: posting.google.com 1302220297 31515 127.0.0.1 (7 Apr 2011 23:51:37 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Thu, 7 Apr 2011 23:51:37 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: a17g2000yqn.googlegroups.com; posting-host=184.57.134.178; posting-account=0rLUzAkAAABojYSRC64DkTbtiSCX77HH
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.16)
 Gecko/20110319 Firefox/3.6.16,gzip(gfe)
Xref: news.mathworks.com comp.soft-sys.matlab:720727

I don't know what this means "list up the sample" or this: "list up
all 10 sample in the string properties"

The way I do it is to have all the filennames listed in a listbox and
then when the user clicks on one, it displays the image in a listbox.
Here is a nice framework for doing that - I suggest you 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.