[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://www.itk.org/pipermail/insight-users/attachments/20140513/12bc72a5/attachment.html>
More information about the Insight-users
mailing list