<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">Hi all,<br><br>Thanks a lot for the response. But I may have to rephrase my question. My actual question is, how to fill large closed structures? For eg, to fill pixels inside a cirlce.<br><br>Cheers<br>Rahul<br><br><br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Sergio Vera &lt;sergio.vera@alma3d.com&gt;<br><b><span style="font-weight: bold;">To:</span></b> Dan Mueller &lt;dan.muel@gmail.com&gt;<br><b><span style="font-weight: bold;">Cc:</span></b> Rahul Kumar &lt;aarkay0001@yahoo.com&gt;; "Insight-users@itk.org" &lt;Insight-users@itk.org&gt;<br><b><span style="font-weight:
 bold;">Sent:</span></b> Thu, October 7, 2010 3:44:52 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [Insight-users] Filling holes<br></font><br>
<div>Hi</div>IMHO the VotingBinary*HoleFillingImageFilters works better when holes are very different in size as you don'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 rel="nofollow" ymailto="mailto:dan.muel@gmail.com" target="_blank" href="mailto:dan.muel@gmail.com">dan.muel@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi Rahul,<br>
<br>
You may want to consider the following filters for binary images:<br>
 &nbsp; &nbsp;Code/BasicFilters/itkVotingBinaryHoleFillingImageFilter.h<br>
 &nbsp; &nbsp;Code/BasicFilters/itkVotingBinaryIterativeHoleFillingImageFilter.h<br>
<br>
Or this filter for greyscale images:<br>
 &nbsp; &nbsp;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 rel="nofollow" ymailto="mailto:aarkay0001@yahoo.com" target="_blank" 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 rel="nofollow" target="_blank" href="http://www.kitware.com">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br><span>
<a target="_blank" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a></span><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br><span>
<a target="_blank" href="http://www.kitware.com/products/protraining.html">http://www.kitware.com/products/protraining.html</a></span><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br><span>
<a target="_blank" href="http://www.itk.org/Wiki/ITK_FAQ">http://www.itk.org/Wiki/ITK_FAQ</a></span><br>
<br>
Follow this link to subscribe/unsubscribe:<br><span>
<a target="_blank" href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</a></span><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Sergio Vera<br><br>&nbsp;Alma IT Systems<br>&nbsp;C/ Vilana, 4B, 4º 1ª<br>&nbsp;08022 Barcelona<br>&nbsp;T. (+34) 932 380 592<br>&nbsp;<a rel="nofollow" target="_blank" href="http://www.alma3d.com">www.alma3d.com</a><br>

</div></div>
</div><br>







      </body></html>