Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Detecting spots on a butterfly
Date: Fri, 3 Apr 2009 12:30:03 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 9
Message-ID: <gr4vgb$5sn$1@fred.mathworks.com>
References: <gr4gga$d84$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1238761803 6039 172.30.248.38 (3 Apr 2009 12:30:03 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 3 Apr 2009 12:30:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1477385
Xref: news.mathworks.com comp.soft-sys.matlab:530024


Here is my progress so far:

>> I=imread('2009_03_15_3434.JPG');
>> I=rgb2gray(I);
>> bw = im2bw(I,.3);
>> bw = bwareaopen(bw,30);
>> imshow(bw)

I want to use regionprops() like in one of the demos and decide which objects are more round, which will be the spots. But how can I split my pic into objects???