[Insight-users] itkConnectedComponentImageFilter: Number of objects greater than maximum of output pixel type ???

Jim Miller millerjv at gmail.com
Thu Sep 16 20:12:12 EDT 2010


The message is saying that pixel type of the output image is too small
to represent the number of objects in the image. Try setting the
output pixel type of the connected component image filter to unsigned
long.


On 9/13/10, Daniela Sacchetto <danysunflower at hotmail.it> wrote:
>
> Hi everyone,
> I'm using itkConnectedComponentImageFilter but I have a problem with my
> code: it runs very well with an example 3D image of 39 slices, but when I
> use it with my image (a 3D image of 97 slice) I have this error:
>
> itk::ERROR: ConnectedComponentImageFilter(0x99fd918): Number of objects
> greater than maximum of output pixel type
> Aborted
>
> It seems that my image has to many objects...but, is it possible? Can't I
> use this filter with every size image?
>
> Regards
> Daniela
>


More information about the Insight-users mailing list