SpdcOfVector

Declaration: SpdcOfVector (const MetaData: TMetaData; const Spdc: TSpdc; const RefSpdcSet: TSpdcSet; Data: TDoubleArray): double;
Applies the spectral descriptor defined by Spdc of the spectrum contained in the array Data. The parameter MetaData contains the corresponding meta data (which is used to scale the spectral data in the array Data). The parameter RefSpdcSet contains the reference set of spectral descriptors to resolve virtual descriptors.

Hint: Please note that this function is rather inefficient and should be used only if the descriptors of a small number of pixels are to be calculated. In order to calculate the spectral descriptor of an entire image the function CalcSpdcMatrix should be used.