[ITK] Fill in the interior of a threshold image

Matt McCormick matt.mccormick at kitware.com
Mon Jun 9 15:55:01 EDT 2014


Hi Ryan,

Does the BinaryFillHoleImageFilter [1] do the job?

HTH,
Matt

[1]
http://www.itk.org/Doxygen/html/classitk_1_1BinaryFillholeImageFilter.html


On Mon, Jun 9, 2014 at 3:44 PM, Ryan Edward Young <Ryan.E.Young at colorado.edu
> wrote:

> Hello,
>
> I was hoping that someone could recommend a filter or sequence of filters
> to fill in the interior of a threshold image. A screenshot of the
> thresholded image is attached (threshold.png) and so is the desired output
> (want.png).  I have three known interior points, but would prefer to have a
> method that does not rely on having known them.
>
> Thanks
> Ryan
>
> [image: Inline image 4]
>
>
>   [image: Inline image 2]
>
> _______________________________________________
> Community mailing list
> Community at itk.org
> http://public.kitware.com/cgi-bin/mailman/listinfo/community
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20140609/e7b212e0/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: want.png
Type: image/png
Size: 8474 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/community/attachments/20140609/e7b212e0/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: threshold.png
Type: image/png
Size: 37795 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/community/attachments/20140609/e7b212e0/attachment-0005.png>


More information about the Community mailing list