PANDORE Version 6 GREYC-IMAGE

pimg2imc



Creates a color image from a grayscale image.



Synopsis

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

Description

pimg2imc builds a color image from a grayscale image. The input image im_in1 is copied on each band of the color image.

Inputs

Outputs

Result

Returns SUCCESS or FAILURE.

Examples

Builds the color image out.pan from the image a.pan where a.pan is copied on the red, green, and blue bands

   pimg2imc 0 a.pan b.pan c.pan out.pan

See also

Casting

C++ prototype

Errc PImg2Imc( const Img2duc &im, Imc2duc &imd);

Author: Régis Clouard