PRTools Contents

PRTools User Guide

im_gray

IM_GRAY

Fixed mapping converting multi-band images to gray images

   B = IM_GRAY(A,V)
   B = A*IM_GRAY([],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.  (weights will be normalized to sum to one)

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 User Guide

This file has been automatically generated. If badly readable, use the help-command in Matlab.