[ITK] [ITK-users] Bug in StatisticsImageFilter?

Mirco Serra mirco9091 at hotmail.it
Tue May 13 06:37:01 EDT 2014


Hi all,
I was trying to use the itkStatisticsImageFilter to count the number of voxels of a binary image as results of  segmentation. However, the function GetSum() seems to be multiplying the number of voxels by the integer value that I'm using for the segmentation. As an example, if I decide to give a value of 2 to the voxels which are part of the segmentation, then the voxels count will be the double of what it should really be,  if I give a value of 3 it will the triple and so forth...Is this normal? Is there a way to fix it (apart from dividing by the value the voxels count)?
Thank you very much,MIrco 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20140513/12bc72a5/attachment.html>
-------------- next part --------------
_____________________________________
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://www.itk.org/mailman/listinfo/insight-users


More information about the Community mailing list