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 01:59:06 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 31
Message-ID: <h99b1a$gj$1@fred.mathworks.com>
References: <h96qbb$ug$1@fred.mathworks.com> <h96r1t$emm$1@fred.mathworks.com> <2ccdaea8-ab83-4439-86a2-36957876f227@g23g2000vbr.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 1253584746 531 172.30.248.35 (22 Sep 2009 01:59:06 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 22 Sep 2009 01:59:06 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 506617
Xref: news.mathworks.com comp.soft-sys.matlab:571979


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 <imageanalyst@mailinator.com> wrote in message <2ccdaea8-ab83-4439-86a2-36957876f227@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.