PANDORE Version 6 | GREYC-IMAGE |
pfisher classifies the input image pixels into a small number of clusters according to their value. Every pixel p of the input image is assigned to a cluster identified by the related threshold value:
if threshold[k-1]<im_out[p]<=threshold[k]. then im_out[p]=threshold[k]
The last threshold is equal to 255.
The classification is based on the histogram partitioning into nbclass distinct classes so as to minimize the sum of the class variance.
Notice: This operator can only work on grayscale image of bytes.
Returns SUCCESS or FAILURE.
Segments the tangram pieces:
pfisher 0 2 tangram.pan out.pan
Multiseuillage de l'image par partionnement de l'histogramme des niveaux de gris.