[Insight-users] calculating the percentiles

Luis Ibanez luis.ibanez at kitware.com
Fri May 30 09:28:13 EDT 2008


Hi Anja,

You may want to use the "Quantile()" method:
http://www.itk.org/Insight/Doxygen/html/classitk_1_1Statistics_1_1Histogram.html#itk_1_1Statistics_1_1Histogramz2116_0

of the itk::Histogram class:
http://www.itk.org/Insight/Doxygen/html/classitk_1_1Statistics_1_1Histogram.html

For an example on how to generate the histogram of an image,
please look at the file:


         Insight/Examples/Statistics/ImageHistogram2.cxx


   Regards,


      Luis


------------------
Anja Ende wrote:
> Hi all,
> 
> What is an efficient way to calculate the different percentiles for
> the image intensity? So, what I want to do is get the 25, 50 and 75
> percentiles for a given image.
> 
> Cheers,
> 
> Anja
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
> 


More information about the Insight-users mailing list