PANDORE Version 6 | GREYC-IMAGE |
arraynorm creates the collection col_out with the normalized versions of the array name of the input collection col_in. The array in the output collection is converted to Double, and each item has been divided by the maximum value of the related type in the input array. For example, each item of Uchar array is divided by 255. The result values are between 0 and 1 for unsigned type or between -1 and 1 for signed type.
Returns SUCCESS or FAILURE.
Normalisation des valeurs d'un vecteur entre 0 et 1.
Author: Alexandre Duret-Lutz