PANDORE Version 6 GREYC-IMAGE

parraysmin



Computes the minimum values of several arrays in a collection.



Synopsis

parraysmin name [col_in|-] [col_out|-]

Description

parraysmin creates the collection col_out with the mininimum values of arrays of the input collection col_in name.1, name.2, ..., name.n. Arrays in the output collection are converted to Double, and each item is the minimum of the related array.

Parameters

Inputs

Outputs

Result

Returns SUCCESS or FAILURE.

Examples

Compute the minimum value of the variance and mean images:

   pmeanfiltering 1 tangram.pan moy.pan
   pvariancefilter 0 255 tangram.pan var.pan

   pim2array data.1 moy.pan data1.colc
   pim2array data.2 var.pan data2.colc
   parray2array data.1 Float data1.colc data1.cold
   parray2array data.2 Float data2.colc data2.cold
   pcolcatenateitem data1.cold data2.cold data3.cold
   parraysmin data data3.cold data3.cold

See also

Array

C++ prototype

Errc PArraysMin( Collection &col_in, Collection &col_out, const std::string &name );

Version française

Calcul des valeurs minimales dans plusieurs tableaux.


Author: Régis Clouard