BAND2OBJ Mapping image bands to objects
B = BAND2OBJ(A,N)
DescriptionIf 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 [C,R,L] for for L bands of a C x R image. This routine combines sets of N successive bands as separate objects. The total number of objects is thereby enlarged by a factor L/N. All information of the constituting objects like labels, is copied to the newly created objects. Note: BAND2OBJ cannot be applied to datafiles for which already a bandselection (BANDSEL) has been defined. See alsodatasets, datafiles, bandsel, im2obj, data2im,
|