PRTools contents

PRTools manual

bandsel

BANDSEL

Selection of bands from object images

    B = BANDSEL(A,J)
    W = BANDSEL([],J)
    B = A*BANDSEL([],J)

Input
 A Dataset or datafile with multi-band object images
 J Indices of bands to be selected

Output
 W Mapping performing the band selection
 B Dataset with selected bands (ordered according to J)

Description

If the objects in a dataset or datafile A are multi-band images, e.g. RGB images, or the result of IM_PATCH, then the featsize of A is [M,N,L] for  for L bands of an M x N images. This routine makes a selection J out of  L. The routine BAND2OBJ may be used to organize the bands vertically  as separate objects. However, BANDSEL nor BAND2OBJ can be applied to  datafiles for which already a bandselection has been defined by BANDSEL.

See also

datasets, datafiles, im2obj, im_patch, band2obj,

PRTools contents

PRTools manual