Histogram Class
function GetPeaksAndValleys: Histogram;
Detects peaks and valleys of the histogram.
1 - is a front slope.
0 - valley
-1 - back slope.