first version of histogram segmentation algorithms implemented in GNU Octave