Connectivity is the only criteria for ConnectedComponentImageFilter<div><br></div><div>The below include intensity:</div><div><a href="http://www.itk.org/Doxygen/html/classitk_1_1ConfidenceConnectedImageFilter.html#details" target="_blank">http://www.itk.org/Doxygen/html/classitk_1_1ConfidenceConnectedImageFilter.html#details</a></div>

<div><a href="http://www.itk.org/Doxygen/html/classitk_1_1ConnectedThresholdImageFilter.html#details" target="_blank">http://www.itk.org/Doxygen/html/classitk_1_1ConnectedThresholdImageFilter.html#details</a><br><br></div>
<div>You can also define your own criteria in an ImageFunction and use it with a FloodFilledImageFunctionConditionalIterator-- which is how the *Connected* filters function. An example of how to do this is here:  <a href="http://www.itk.org/Wiki/ITK/Examples/WishList/Iterators/FloodFillIterator">http://www.itk.org/Wiki/ITK/Examples/WishList/Iterators/FloodFillIterator</a></div>
<div><br></div><div><div class="gmail_quote">On Tue, Jul 12, 2011 at 8:35 AM, anna han wan <span dir="ltr">&lt;<a href="mailto:anna.han.wan@gmail.com" target="_blank">anna.han.wan@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">

<p style="margin:0cm 0cm 10pt" class="MsoNormal"><span style="line-height:115%;font-size:12pt"><font face="Calibri">Dear itk users,</font></span></p>
<p style="margin:0cm 0cm 10pt" class="MsoNormal"><span style="line-height:115%;font-size:12pt"><font face="Calibri">I have a question about <span>ConnectedComponentImageFilter. In addition to the connectivity what are the other criterias used to group pixels in the same component ? deos the gray value used also as criteria? </span></font></span></p>



<p style="margin:0cm 0cm 10pt" class="MsoNormal"><span style="line-height:115%;font-size:12pt"><font face="Calibri">I am asking such a question because I tried to work with this filter to get the components of a volume composed of different objects having different Ct values (but these objects are touching each other) and the result is one connected component !</font></span></p>



<p style="margin:0cm 0cm 10pt" class="MsoNormal"><span style="line-height:115%;font-size:12pt"><font face="Calibri">Thank you</font></span><span style="line-height:115%;font-size:12pt"><font face="Calibri"> </font></span></p>



<p style="margin:0cm 0cm 10pt" class="MsoNormal"><span style="line-height:115%;font-size:12pt"><font face="Calibri">Best regards, </font></span></p>
<p style="margin:0cm 0cm 10pt" class="MsoNormal"><span style="line-height:115%;font-size:12pt"><font face="Calibri">Anna</font></span></p>
<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></div>