PANDORE Version 6 GREYC-IMAGE

parraysmax



Computes the maximum values of several arrays in a collection.



Synopsis

parraysmax name [col_in|-] [col_out|-]

Description

parraysmax creates the collection col_out with the maxinimum 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 maximum of the related array.

Parameters

Inputs

Outputs

Result

Returns SUCCESS or FAILURE.

Examples

Compute the maximum 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
   parraysmax data data3.cold data3.cold

See also

Array

C++ prototype

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

Version française

Calcul des valeurs maximales dans plusieurs tableaux.


Author: Régis Clouard