[ITK] [ITK-users] LabelStatisticsImageFilter in 3D

Mathew Guilfoyle mrguilfoyle at gmail.com
Sun Jul 3 21:11:43 EDT 2016


Hi

Using SimpleITK I'm trying to get statistics for a grayscale image segmentation for which I have a binary mask.  Both image and mask are 3D volumes

I have converted my binary mask to a Label map and then tried to apply the LabelStatisticsImageFilter, however I get the following exception:

Pixel type: 32-bit float is not supported in 3D

I've tried casting the intensity image to unsigned int, Float 64 etc... none of them work.  It seems to be the 3D that is the issue.  Is this filter defined for 3D images?  There is nothing I have found in the documentation/source to suggest not.

Thanks
_____________________________________
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.php

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://public.kitware.com/mailman/listinfo/insight-users


More information about the Community mailing list