PANDORE Version 6 GREYC-IMAGE

pgray2falsecolor



Converts gray scale image to image with false colors./



Synopsis

pgray2falsecolor [-m mask] [im_in|-] [im_out|-]

Description

pgray2falsecolor is a mean to reduce to convert a gray scale gray level image to a color image by using false colors.

each pixel of the input image im_in is converted to 3 values: red, green,bleu iusing a specified lut.

For each pixel of the input image p:

   imd.R[p]=lut[0][ims[p]
   imd.V[p]=lut[1][ims[p]
   imd.B[p]=lut[2][ims[p]

Parameters

Inputs

Outputs

Result

Returns SUCCESS or FAILURE.

Examples

Transforms image 'tangram.pan' with the rainbow lut.

   pgray2falsecolor 0 tangram.pan a.pan

See also

Color

C++ prototype

Errc PGray2FALSECOLOR( const Img2duc &im_in, Img2duc &im_out, int lutId );

Version française

Conversion d'une image de niveaux de gris en une image binaire équivalente.


Author: Régis Clouard