PANDORE Version 6 GREYC-IMAGE

parraysmean



Computes the average values of several arrays in a collection.



Synopsis

parraysmean name [col_in|-] [col_out|-]

Description

parraysmean creates the collection col_out with the average 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 average 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
   parraysmean data data3.cold data3.cold

See also

Array

C++ prototype

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

Version française

Calcul des valeurs moyennes dans plusieurs tableaux.


Author: Régis Clouard