Hi Elhadj,<br><br>1) You can compute connected components with<br>    the filter:<br><br><a href="http://www.itk.org/Doxygen/html/classitk_1_1ConnectedComponentImageFilter.html">http://www.itk.org/Doxygen/html/classitk_1_1ConnectedComponentImageFilter.html</a><br>
<br>    this filter will produce an output where the <br>    elements are labeled with integer numbers.<br>    (but those numbers are not contiguous)<br><br>2) You could relabel the output of (1) by using<br>     the filter:<br>
<br><a href="http://www.itk.org/Doxygen/html/classitk_1_1RelabelComponentImageFilter.html">http://www.itk.org/Doxygen/html/classitk_1_1RelabelComponentImageFilter.html</a><br><br><br>3) I&#39;m not aware of a convex hull computation<br>
    in ITK. However, if you don&#39;t need the convex<br>    hull to be exact, you could get a similar result<br>    by using the filter:<br><br><a href="http://www.itk.org/Doxygen/html/classitk_1_1VotingBinaryIterativeHoleFillingImageFilter.html">http://www.itk.org/Doxygen/html/classitk_1_1VotingBinaryIterativeHoleFillingImageFilter.html</a><br>
<br><br><br>Regards,<br><br><br>      Luis<br><br>    <br><br><br>-----------------------------------------------------------------<br><div class="gmail_quote">On Wed, Oct 13, 2010 at 6:05 AM, elhadj meljane <span dir="ltr">&lt;<a href="mailto:elhadj.meljane@gmail.com">elhadj.meljane@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 all, <br>I want to extract the connex components from a binary  image (label each component) and compute the convex hull for some components. <br>
Is there an itk object, slicer module ... that can help to do this ?<br>Thanks, <br>
<br> <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>
<br></blockquote></div><br>