PANDORE Version 6 GREYC-IMAGE

pgetband



Gets a specified band in a multispectral image.



Synopsis

pgetband band [-m mask] [im_in|-] [im_out|-]

Description

pgetband creates a grayscale image im_out with the specified band of the input image. The type of the grayscale image is the same as the input image.

Parameters

Inputs

Outputs

Examples

Extracts the first band of the parrot.pan color image:

   pgetband 0 parrot.pan a.pn

Result

Returns SUCCESS or FAILURE.

See also

Utility, psetband.

C++ prototype

Errc PGetBand( const Imc2duc &im_in, Img2duc &im_out, int band );

Version française

Récupération d'une bande donnée dans une image multispectrale.


Author: Régis Clouard