<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 <sergio.vera@alma3d.com><br><b><span style="font-weight: bold;">To:</span></b> Dan Mueller <dan.muel@gmail.com><br><b><span style="font-weight: bold;">Cc:</span></b> Rahul Kumar <aarkay0001@yahoo.com>; "Insight-users@itk.org" <Insight-users@itk.org><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"><<a rel="nofollow" ymailto="mailto:dan.muel@gmail.com" target="_blank" href="mailto:dan.muel@gmail.com">dan.muel@gmail.com</a>></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>
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 <<a rel="nofollow" ymailto="mailto:aarkay0001@yahoo.com" target="_blank" href="mailto:aarkay0001@yahoo.com">aarkay0001@yahoo.com</a>> wrote:<br>
> Hi everyone,<br>
><br>
> Can someone suggest me a best method for filling holes using ITK?<br>
> Thanks in advance.<br>
><br>
> Regards,<br>
> 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> Alma IT Systems<br> C/ Vilana, 4B, 4º 1ª<br> 08022 Barcelona<br> T. (+34) 932 380 592<br> <a rel="nofollow" target="_blank" href="http://www.alma3d.com">www.alma3d.com</a><br>
</div></div>
</div><br>
</body></html>