[Insight-users] ConnectedComponentImageFilter 3D no labels

robert tamburo robert.tamburo at gmail.com
Fri Mar 25 13:12:32 EDT 2011


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/20110325/54284b3f/attachment.htm>


More information about the Insight-users mailing list