<div>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, which explains why the ConnectedComponentImageFilter output is the same.</div>
<div><br><div class="gmail_quote">On Fri, Mar 25, 2011 at 12:31 PM, Ella Maria Kadas <span dir="ltr"><<a href="mailto:ella_kadas@yahoo.com" target="_blank">ella_kadas@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td valign="top" style="font:inherit">Hi,<div><br></div><div> 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> 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> 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> Ella</div></td></tr></tbody></table><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>