[Insight-users] flood fill filters/iterators
Dan Mueller
d.mueller at qut.edu.au
Wed Sep 13 22:05:53 EDT 2006
Hi Debbie,
Try BasicFilters/itkNeighborhoodConnectedImageFilter
<http://www.itk.org/Doxygen/html/classitk_1_1NeighborhoodConnectedImageFilter.html>.
Note that this filter works with full-connectivity (ie. 2D = 8, 3D =
26). To control the connectivity you /may /have to make your own very
similar filter which uses a ShapedNeighborhoodIterator instead of a
ConstNeighborhoodIterator in the
itkNeighborhoodBinaryThresholdImageFunction.
Hope this helps.
Cheers, Dan
debbie larson wrote:
> Hi,
>
> I would like to flood fill an image according with a specified
> connectivity (4,8,16). Is there any filter (maybe iterators) that lets
> me do that? Basically I would like to specify a threshold, a pointer
> to an image, a integer , a pointer to an int image and a seed pixel
> and the filter would flood fill the int image with the integer specified.
>
> Thanks
>
> deb
>
> _________________________________________________________________
> Windows Live Spaces is here! It's easy to create your own personal Web
> site. http://spaces.live.com/signup.aspx
>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20060914/2116c891/attachment.htm
More information about the Insight-users
mailing list