The method AssignGroups tries to assign the spectral group numbers to all descriptors of the collection set using the ContentType and the DerivOrder parameters as criteria. The parameter MetaData contains the meta data of the dataset for which the descriptors are loaded.
The function returns TRUE if everything is OK and the group numbers of the descriptors are assigned, or FALSE if there is a mismatch of the type of spectral descriptors. Group numbers of descriptors which cannot be assigned are set to zero.
|