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
- band is an integer. If the value if lower or
greater than the current number of bands in the input image
than the closest band is used (the first or last band).
Inputs
- im_in1: an grayscale image.
- im_in2: a color or multispectral image.
Outputs
- im_out: a color or multispectral image.
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