<div>Hi</div>IMHO the VotingBinary*HoleFillingImageFilters works better when holes are very different in size as you don&#39;t have to specify a fixed kernel-size (as opposed to morphology closing)<br><br><div class="gmail_quote">
On Thu, Oct 7, 2010 at 9:08 AM, Dan Mueller <span dir="ltr">&lt;<a href="mailto:dan.muel@gmail.com">dan.muel@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi Rahul,<br>
<br>
You may want to consider the following filters for binary images:<br>
    Code/BasicFilters/itkVotingBinaryHoleFillingImageFilter.h<br>
    Code/BasicFilters/itkVotingBinaryIterativeHoleFillingImageFilter.h<br>
<br>
Or this filter for greyscale images:<br>
    Code/BasicFilters/itkGrayscaleFillholeImageFilter.h<br>
<br>
HTH<br>
<br>
Cheers, Dan<br>
<div><div></div><div class="h5"><br>
On 7 October 2010 03:09, Rahul Kumar &lt;<a href="mailto:aarkay0001@yahoo.com">aarkay0001@yahoo.com</a>&gt; wrote:<br>
&gt; Hi everyone,<br>
&gt;<br>
&gt; Can someone suggest me a best method for filling holes using ITK?<br>
&gt; Thanks in advance.<br>
&gt;<br>
&gt; Regards,<br>
&gt; Rahul P Kumar<br>
_____________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.html" target="_blank">http://www.kitware.com/products/protraining.html</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Sergio Vera<br><br> Alma IT Systems<br> C/ Vilana, 4B, 4º 1ª<br> 08022 Barcelona<br> T. (+34) 932 380 592<br> <a href="http://www.alma3d.com">www.alma3d.com</a><br>