PANDORE Version 6 | GREYC-IMAGE |
pcontrastvalue measures the global contrast of the input image im_in or the input graph im_in.
The contrast is the difference between the minimum and maximum values:
contrast(im_in) = max(im_in) - min(im_in).
For image, the contrast is measured from the pixel values.
For graph, the contrast is measured from the node values.
The contrast values for each band are stored in the collection col_out.
Returns the global contrast value (for the first band only). This value can be get using operator pstatus.
Measures the global contrast of the tangram.pan (Unix version):
pcontrastvalue tangram.pan col.pan var=`pstatus` echo "Contrast = $val"
Measures the global contrast of the tangram.pan (MsDos version):
pcontrastvalue tangram.pan col.pan call pstatus call pset var echo Contrast = %val%
Calcul du contraste global d'une image ou d'un graphe.
Author: Régis Clouard