PANDORE Version 6 |
GREYC-IMAGE |
pimx2img
Converts one band of multispectral image to grayscale image.
Synopsis
pimx2img numband [-m mask] [im_in|-] [im_out|-]
Description
pimx2img extracts the band numband from the multispectral
im_in to create the grayscale image im_out.
Parameters
- numband is an integer that specifies the band number to
be converted. If numband is greater than the total number
of bands than the last band is selected.
Inputs
- im_in: a multispectral image.
Outputs
Examples
Extracts band #0 from a.pan:
pimx2img 0 a.pan b.pan
Result
Returns SUCCESS or FAILURE.
See also
Casting
C++ prototype
Errc PImx2Img( const Imx2duc &im_in, Img2duc &im_out, int numband );
Version française
Construction d'une image couleur à partir d'une image multispectrale à 3 bandes.
Author: Régis Clouard