Dear Moussa,<br>I&#39;d say that a morphological closing operation (dilation followed by erosion) would do the work.<br><br>You may want to have a look at this thread:<br><a href="http://itk-insight-users.2283740.n2.nabble.com/Filling-holes-td5609614.html">http://itk-insight-users.2283740.n2.nabble.com/Filling-holes-td5609614.html</a><br>
<br>HTH,<br>JON HAITZ<br><br><br><br>On 8 January 2012 11:29, Moussa <span dir="ltr">&lt;<a href="mailto:ouedmoha@yahoo.fr">ouedmoha@yahoo.fr</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Hi there,<br>
<br>
I have used the canny edge detection to detect an object boundary. However<br>
there are some holes that remain along the object contour. Does anyone knows<br>
how i can fill them?<br>
<br>
Thank,<br>
<br>
Moussa<br>
--<br>
View this message in context: <a href="http://old.nabble.com/filling-holes-from-boundary-tp33101716p33101716.html" target="_blank">http://old.nabble.com/filling-holes-from-boundary-tp33101716p33101716.html</a><br>
Sent from the ITK - Users mailing list archive at Nabble.com.<br>
<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>
</blockquote></div><br>