PANDORE Version 6 GREYC-IMAGE

pimg2imx



Creates a multispectral image from a grayscale images.



é

Synopsis

pimg2imx dimension [-m mask] [im_in|-] [im_out|-]

Description

pimg2imx creates a multispectral image from a grayscale image. The parameter dimension specifies the number of bands of the output image im_out.

The input image is copied on each band of the output image.

Parameter

Inputs

Outputs

Result

SUCCESS or FAILURE if image are incompatible.

Examples

Creates a multispectral image with two bands:

   pimg2imx 2 tangram.pan a.pan

See also

Casting

C++ prototype

Errc PImg2Imx( const Img2duc &im_in, Imx2duc &im_out );

Author: Régis Clouard