Path: news.mathworks.com!not-for-mail
From: "Sven " <sven.holcombe@gmail.deleteme.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: image processing
Date: Tue, 1 Apr 2008 00:21:03 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 24
Message-ID: <fsrv5f$t12$1@fred.mathworks.com>
References: <fsns6q$ke7$1@fred.mathworks.com> <fspubm$iep$1@fred.mathworks.com> <fsq5i9$b92$1@fred.mathworks.com> <fsq8e5$a8l$1@fred.mathworks.com> <fsq9ut$rlr$1@fred.mathworks.com> <fsqm50$6th$1@fred.mathworks.com> <fsqqst$4jr$1@fred.mathworks.com>
Reply-To: "Sven " <sven.holcombe@gmail.deleteme.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 1207009263 29730 172.30.248.35 (1 Apr 2008 00:21:03 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 1 Apr 2008 00:21:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1326470
Xref: news.mathworks.com comp.soft-sys.matlab:460216


"misty m." <donotspam@smth.be> wrote in message
<fsqqst$4jr$1@fred.mathworks.com>...
> i've found some other options for 'regionprops', 
> with 'FilledImage' i can get my hole, but becuse of earlier 
> operations i've lost too much information and the shape of 
> the hole is not acceptable :/

I believe my previous paragraph still stands unanswered.
----
What is the output that you are looking for? For example,
it seems that all of your holes are always (very close to)
the same diameter, and always (very close to) perfectly
circular. Therefore, is your desired output is simply a
[row column] coordinate pair per hole? This coordinate
gives you the centre of your hole, and from this you already
know the hole radius, such that you don't *necessarily* need
to find the hole edges.
----
I hope that you realise how simple it would be to simply
*draw* a circle on your picture if you know the central
point and radius of the hole.

Thanks,
Sven.