PANDORE Version 6 | GREYC-IMAGE |
phistogram computes the histogram of the input image im_in. An histogram is an array where the item i indicates the number of pixel with grayscale value i.
For signed image, histogram is shifted so as the item 0 indicates the number of min value, and the last item (max-min) the number of max value.
The output image im_out is long 1D image.
Returns SUCCESS or FAILURE.
Builds the histogram of tangram.pan:
phistogram tangram.pan a.pan pplot1d 256 256 0 0 0 a.pan b.pan pvisu b.pan
Création de l'histogramme d'une image.
Author: Alexandre Duret-Lutz