PANDORE Version 6 GREYC-IMAGE

pgetband



Sets a specified band in a multispectral image.



Synopsis

pgetband band [-m mask] [im_in1|-] [im_in2|-] [im_out|-]

Description

pgetband creates a new multispectrale or color image with the image im_in2 where the im_in1 replaces the specicied band.

Parameters

Inputs

Outputs

Examples

Modifie la bande 0 de l'image parrot.pan:

   pgetband 0 parrot.pan a.pan
   pinverse a.pan b.pan
   psetband 0 b.pan parrot.pan c.pan

Result

Returns SUCCESS or FAILURE.

See also

Utility pgetband.

C++ prototype

Errc PSetBand( const Img2duc &ims, const Imx2duc &ims2, int band);

Author: Régis Clouard