PANDORE Version 6 | GREYC-IMAGE |
psumvalue calculates the total sum of the pixels of the input image im_in or of the nodes of the input graph.
For the graph, the sum is calculated from the node values.
The sum values for each band are stored in the collection col_out.
Notice : This operator is not maskable.
Returns the sum value (for the first band only). This value can be get using operator pstatus.
Measures the global sum of the tangram.pan (Unix version):
psumvalue tangram.pan col.pan var=`pstatus` echo "Sum = $val"
Measures the global sum of the tangram.pan (MsDos version):
psumvalue tangram.pan col.pan call pstatus call pset var echo Sum = %val%
Calcul de la somme des valeurs de pixels (ou de sommets).
Author: Régis Clouard