<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi Robert,<br><br>&nbsp;&nbsp; U are absolutely right. That was a stupid mistake.<br>Thanks for the help,<br>Ella<br><br>--- robert tamburo <i>&lt;robert.tamburo@gmail.com&gt;</i> schrieb am <b>Fr, 25.3.2011:<br></b><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><b><br>Von: robert tamburo &lt;robert.tamburo@gmail.com&gt;<br>Betreff: Re: [Insight-users] ConnectedComponentImageFilter 3D no labels<br>An: "Ella Maria Kadas" &lt;ella_kadas@yahoo.com&gt;<br>CC: insight-users@itk.org<br>Datum: Freitag, 25. März, 2011 19:12 Uhr<br><br></b><div id="yiv1621714708"><div><b>Are you sure your output of ConnectedThresholdFilter contains multiple objects? I believe the output should contain only one object comprising of pixels connected to a seed pixel,&nbsp;which explains why the ConnectedComponentImageFilter output is the
 same.</b></div>


<div><b><br></b><div class="yiv1621714708gmail_quote"><b>On Fri, Mar 25, 2011 at 12:31 PM, Ella Maria Kadas <span dir="ltr">&lt;<a rel="nofollow" ymailto="mailto:ella_kadas@yahoo.com" target="_blank" href="/mc/compose?to=ella_kadas@yahoo.com">ella_kadas@yahoo.com</a>&gt;</span> wrote:<br></b><blockquote class="yiv1621714708gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">


<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font: inherit;" valign="top">Hi,<div><br></div><div>&nbsp;&nbsp; I am trying to label a binary 3D image. I first create the binary image using ConnectedThresholdFilter. But when i use ConnectedComponentImageFilter the output is the same as the binary image.</div>


<div>&nbsp;&nbsp; So i used a screen shot from some slices from the binary 3D, and used the filter for this 2D images and it works.</div><div>&nbsp;&nbsp; Any idea why. Anybody was facing the same problem? (i was careful at casting from float the dicom 3D series to unsigned char after the connected threshold, so this shouldn't be a problem)</div>


<div>Cheers,</div><div>&nbsp;&nbsp; Ella</div></td></tr></tbody></table><b><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>
<a rel="nofollow" target="_blank" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a rel="nofollow" target="_blank" href="http://www.kitware.com/products/protraining.html">http://www.kitware.com/products/protraining.html</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a rel="nofollow" target="_blank" href="http://www.itk.org/Wiki/ITK_FAQ">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a rel="nofollow" target="_blank" href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</a><br>
<br></b></blockquote></div><b><br></b></div>
</div></blockquote></td></tr></table>