block by milroc 5689650

Histogram Binning

This is a non parametric histogram binning algorithm (http://perso.telecom-paristech.fr/~delon/HistoSeg/histoseg_last_version.pdf).