PANDORE Version 6 GREYC-IMAGE

pminimumvalue



Measures global minimum value of image, region map or graph.



Synopsis

pminimumvalue [-m mask] [im_in|-] [col_out|-]

Description

pminimumvalue returns the minimum value in the input object im_in. if im_in is an image, the minimum value is the minimum pixel value on each band. If im_in is a region map, the minimum value is the minimum label value. If im_in is a graph, the minimum value is the minimum node value.

The minimum values for each band are stored in the collection col_out.

Inputs

Outputs

Result

Returns the minimum value (for the first band only). This value can be get using operator pstatus.

Examples

Measures the global minimum of the tangram.pan (Unix version):

   pminimumvalue tangram.pan col.pan
   var=`pstatus`
   echo "Minimum = $val"

Measures the global minimum of the tangram.pan (MsDos version):

   pminimumvalue tangram.pan col.pan
   call pstatus
   call pset var
   echo Minimum = %val%

See also

Image Features Extraction

C++ prototype

Float PMinimumValue( const Img2duc &im_in, Collection & col_out );

Version française

Recherche de la valeur de pixel minimum dans une image (un graphe ou une carte de régions).


Author: Régis Clouard