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 simply copied on each band of the color image.

Inputs

Outputs

Result

Returns SUCCESS or FAILURE.

Examples

Builds the color image out.pan from image tangram.pan:

   pimg2imc examples/tangram.pan out.pan

See also

Casting

C++ prototype

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

Author: Régis Clouard