Path: news.mathworks.com!newsfeed-00.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!news2.google.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post02.iad.highwinds-media.com!newsfe18.iad.POSTED!7564ea0f!not-for-mail
From: Walter Roberson <roberson@hushmail.com>
Organization: Canada Eat The Cookie Foundation
User-Agent: Thunderbird 2.0.0.21 (Windows/20090302)
MIME-Version: 1.0
Newsgroups: comp.soft-sys.matlab
Subject: Re: Detecting spots on a butterfly
References: <gr4gga$d84$1@fred.mathworks.com>
In-Reply-To: <gr4gga$d84$1@fred.mathworks.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Lines: 12
Message-ID: <futBl.41$TD1.22@newsfe18.iad>
NNTP-Posting-Host: 24.79.146.116
X-Complaints-To: internet.abuse@sjrb.ca
X-Trace: newsfe18.iad 1238787083 24.79.146.116 (Fri, 03 Apr 2009 19:31:23 UTC)
NNTP-Posting-Date: Fri, 03 Apr 2009 19:31:23 UTC
Date: Fri, 03 Apr 2009 14:31:53 -0500
Xref: news.mathworks.com comp.soft-sys.matlab:530150


Husam Aldahiyat wrote:

> Say I have a picture of a butterfly with black spots on its wings, what is a good way
> to create an algorithm that takes the picture as input and give the location and/or
> number of spots as output?
> The spots aren't circular.

I had a look at the image you supplied in a later posting, and it appeared to me that
the number of spots was beyond any easy counting, and it appeared to me that there were
spots that were smaller than the resolution of the image, especially near the body of
the butterfly. This will make the problem quite difficult -- unless, that is, you place
some kind of minimum size as to what is to be considered a "spot".