PRTools contents

PRTools manual

im_gray

IM_GRAY

Conversion of multi-band images into gray images

   B = IM_GRAY(A,V)
   B = A*IM_GRAY([],V)

Input
 A Multiband image or dataset with multi-band images as objects
 V Weight vector, one weight per band. Default: equal weights.

Output
 B Output image or dataset.

Description

The multi-band components in the image A (3rd dimension) or in the  objects in the dataset A are weigthed (default: equal weights) and  averaged.

See also

mappings, datasets, datafiles,

PRTools contents

PRTools manual