Path: news.mathworks.com!not-for-mail
From: "Yi " <heyinba0904@hotmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: find Spots in the Image
Date: Tue, 22 Sep 2009 02:33:04 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 47
Message-ID: <h99d10$6ge$1@fred.mathworks.com>
References: <h96qbb$ug$1@fred.mathworks.com> <h96r1t$emm$1@fred.mathworks.com> <3aeaa406-d937-4807-a397-4e46c2ea46ec@s6g2000vbp.googlegroups.com>
Reply-To: "Yi " <heyinba0904@hotmail.com>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1253586784 6670 172.30.248.35 (22 Sep 2009 02:33:04 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 22 Sep 2009 02:33:04 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 506617
Xref: news.mathworks.com comp.soft-sys.matlab:571986


Hi ImageAnalyst:
this is my image at:
http://img199.imageshack.us/img199/8948/testimageg.jpg
then you can see there are two blobs which contian the hole
and the other one doesn't.
so in my result, i need to tell user ,total is 3 blobs,  two blobs contain hole, one doesn't contain.

thank you!!


ImageAnalyst <imageanalyst@mailinator.com> wrote in message <3aeaa406-d937-4807-a397-4e46c2ea46ec@s6g2000vbp.googlegroups.com>...
> On Sep 21, 9:59?pm, "Yi " <heyinba0...@hotmail.com> wrote:
> > Hi ImageAnalyst:
> > Sorry, I don't know How to post Image on this Website. I think they do not allow posting image. ?so Could I sent Image to your Email?
> >
> > My image is white colour(white background), and it contains black blobs. The hole is white and it can be any shape, as long as it is included inside black blob.
> >
> > thank you
> >
> >
> >
> > ImageAnalyst <imageanal...@mailinator.com> wrote in message <2ccdaea8-ab83-4439-86a2-36957876f...@g23g2000vbr.googlegroups.com>...
> > > On Sep 21, 9:08?pm, "Yi " <heyinba0...@hotmail.com> wrote:
> > > > Hi ImageAnalyst:
> >
> > > > what is reginprops function ? Does it give me the number of spots? how can i know the spots contain a white hole?
> >
> > > > thanks ImageAnalyst
> >
> > > ---------------------------------------------------------------------------?---
> > > Did you check out my tutorial in the link - it uses regionprops().
> > > The demo image is basically white coins (spots) on a black background
> > > - pretty similar to your situation I would think. ?Are you now saying
> > > that you have black spots with a white hole in them so that they are
> > > now black with white in the middle, or basically a black ring or "O"
> > > shape on a white background? ?Why don't you post an image somewhere so
> > > we don't have to guess?
> >
> > > regionprops is also described in the MATLAB help file. ?Basically it
> > > makes measurements on an image given a segmented and labeled binary
> > > image.- Hide quoted text -
> >
> > - Show quoted text -
> 
> ----------------------------------------------------------------
> Just google "free image hosting" and pick a site, such as flickr.com
> or imageshack.us.