[Insight-users] count number of voxels in image

Leila Baghdadi baghdadi at phenogenomics.ca
Fri May 8 12:26:33 EDT 2009


Hi Gaëtan,

Yep I actually figured out a simpler way, because I am creating the
masks using the class I wrote sometime back
(itkTriangleMeshToBinaryImageFilter), I just added a method to count the
number of voxels as they are added to the image.

Leila

On Fri, 2009-05-08 at 18:16 +0200, Gaëtan Lehmann wrote:
> Le 8 mai 09 à 17:32, Leila Baghdadi a écrit :
> 
> > Hi guys,
> >
> > is there a class in itk that counts the number of voxels with specific
> > intensity within image.
> >
> 
> Hi Leila,
> 
> Maybe can you compute the histogram of the image intensity, an get the  
> frequency of the desired pixel intensity?
> You only have to care about the number of bins, to be sure that  
> several intensities won't be aggregated in a single bin.
> 
> Regards,
> 
> Gaëtan
> 
> 



More information about the Insight-users mailing list