[Insight-users] smoothing an Histogram

Raquel Itk raquelitk at gmail.com
Fri Jul 3 06:09:56 EDT 2009


Hi,

I have computed the histogram of an image with
Examples/Statistics/ImageHistogram2.cxx, now I want to smooth the array ,
where I have saved the values of an Histogram ( valoresHisto[i]) because I
have a lot of peaks. I would like to use a Gaussian method, I have been read
about Gaussian but only for Images.


while( itr != end )

{

 valoresHisto[i]=itr.GetFrequency();

++itr;

++binNumber;

++i;

}

return(valoresHisto);


Thanks


Raquel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20090703/07a07c7a/attachment.htm>


More information about the Insight-users mailing list