[Insight-users] How to flood fill a big hole using a seed point
Luis Ibanez
luis.ibanez@kitware.com
Mon, 03 Mar 2003 11:50:39 -0500
Hi Fucang,
Probably the easiest way to proceed is
by using the region growing filter:
itk::ConnectedThresholdImageFilter
This is described in the Software Guide
http://www.itk.org/ItkSoftwareGuide.pdf
Section 8.1.1, pdf-page 245.
This filter fills out a region starting from
a seed point, subject to the condition that
pixels in the region must have intensities
inside a range provided by the user.
You can put multiple seed by using the method:
AddSeed()
In this way you can add, a seed per hole to
fill, and make a single execution of the
filter.
This will be much more efficient than
morphological operators.
Please let us know if you find any problems,
Thanks
Luis
--------------------------------------
Fucang Jia wrote:
> Hi everyone, hi Luis,
>
> The images I segmented often have very big hole which is another object
> inside the organ in fact. I use morphology to close it, but only close
> the smaller holes. I have noticed that there needs a function to use
> floodfill function. Is it possible to use a seed point to close the
> other object inside? Suppose that there are two circle which has the
> same center, the region between these two circle are segmented, but I
> want to calssify the internal region inside the smaller circle also to
> be the segmented object. BTW, There are often several segmented objects
> in the segmented image, not only one.
>
> Thank you very much!
>
> Fucang
>
>
>
> _________________________________________________________________
> Tired of spam? Get advanced junk mail protection with MSN 8.
> http://join.msn.com/?page=features/junkmail
>
> ------------------------------------------------------------------------
>