[Insight-users] ConnectedComponentImageFilter 3D no labels

Ella Maria Kadas ella_kadas at yahoo.com
Sat Mar 26 09:41:47 EDT 2011


Hi Robert,

   U are absolutely right. That was a stupid mistake.
Thanks for the help,
Ella

--- robert tamburo <robert.tamburo at gmail.com> schrieb am Fr, 25.3.2011:

Von: robert tamburo <robert.tamburo at gmail.com>
Betreff: Re: [Insight-users] ConnectedComponentImageFilter 3D no labels
An: "Ella Maria Kadas" <ella_kadas at yahoo.com>
CC: insight-users at itk.org
Datum: Freitag, 25. März, 2011 19:12 Uhr

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.



On Fri, Mar 25, 2011 at 12:31 PM, Ella Maria Kadas <ella_kadas at yahoo.com> wrote:



Hi,
   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.


   So i used a screen shot from some slices from the binary 3D, and used the filter for this 2D images and it works.   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)


Cheers,   Ella
_____________________________________

Powered by www.kitware.com



Visit other Kitware open-source projects at

http://www.kitware.com/opensource/opensource.html



Kitware offers ITK Training Courses, for more information visit:

http://www.kitware.com/products/protraining.html



Please keep messages on-topic and check the ITK FAQ at:

http://www.itk.org/Wiki/ITK_FAQ



Follow this link to subscribe/unsubscribe:

http://www.itk.org/mailman/listinfo/insight-users




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110326/2e8fc251/attachment.htm>


More information about the Insight-users mailing list