PANDORE Version 6 GREYC-IMAGE

pimx2imc



Converts multispectral image to color image.



Synopsis

pimx2imc colorspace [-m mask] [im_in|-] [im_out|-]

Description

pimx2imc converts the multispectral image im_in to the color image im_out. Only multispectral image with less or equal to 3 bands can be converted. If input image have less than 3 bands, others bands are set to 0.

The color space of the result image is specified from the parameter colorspace.

Parameters

Inputs

Outputs

Result

Returns SUCCESS or FAILURE.

Examples

Converts multispectral image a.pan to RGB color image b.pan:

   pimx2imc 0 a.pan b.pan

See also

Casting

C++ prototype

Errc PImx2imc( const Imx2duc &im_in, Imc2duc &im_out, int colorspace );

Version française

Construction d'une image couleur à partir d'une image multispectrale à 3 bandes.


Author: Régis Clouard