Hi,<br><br>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.<br>
 
<meta name="qrichtext" content="1"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><style type="text/css">
p, li { white-space: pre-wrap; }
</style>
<p style="margin: 0px; text-indent: 0px;">    while( itr != end )</p>
<p style="margin: 0px; text-indent: 0px;">    {</p>
<p style="margin: 0px; text-indent: 0px;">     </p><p style="margin: 0px; text-indent: 0px;">        valoresHisto[i]=itr.GetFrequency();</p>
<p style="margin: 0px; text-indent: 0px;">        ++itr;</p>
<p style="margin: 0px; text-indent: 0px;">        ++binNumber;</p>
<p style="margin: 0px; text-indent: 0px;">        ++i;</p>
<p style="margin: 0px; text-indent: 0px;">    }</p>
<p style="margin: 0px; text-indent: 0px;">    return(valoresHisto);</p><p style="margin: 0px; text-indent: 0px;"><br></p><p style="margin: 0px; text-indent: 0px;">Thanks</p><p style="margin: 0px; text-indent: 0px;"><br></p>
<p style="margin: 0px; text-indent: 0px;">Raquel<br></p>