PANDORE Version 6 GREYC-IMAGE

pimgs2imc



Creates a color image from 3 grayscale images.



Synopsis

pimgs2imc [-m mask] [im_in1|-] [im_in2|-] [im_in3|-] [im_out|-]

Description

pimgs2imc builds a color image from 3 grayscale images. Each input image im_in1, im_in2, im_in3 corresponds to one band of the color image. im_in1 becomes the first band, im_in2 the second band and im_in3 the third band in the color image. The three input images must have the same type and the same dimensions.

Inputs

Outputs

Result

Returns SUCCESS or FAILURE.

Examples

Builds thecolor image out.pan where a.pan is the red band, b.pan is the green band and c.pan is the blue band.

   pimgs2imc a.pan b.pan c.pan out.pan

See also

Casting

C++ prototype

Errc PImgs2Imc( const Img2duc &im1, const Img2duc &im2, const Img2duc &im3, Imc2duc &imd);

Version française

Construction d'une image couleur à partir de trois images de niveaux de gris.


Author: Régis Clouard