Declaration: CalcSpdcMatrix(SpdcIx, it: integer; var SpdcMat: TDouble2DArray; Feedback: boolean): integer;
Calculates the spectral descriptor (specified by the index SpdcIx) of the entire hyperspectral image at the time slot it. The matrix of spectral descriptor values is returned in the array variable SpdcMat which is automatically resized to match the data cube. If the parameter FeedBack is set to TRUE a visual feedback on the progress is provided. The function returns one of the following error codes:
-1 .... the spectral descriptor is undefined (invalid SpdcIx)
-2 .... the specified time slot does not exist (it is out of range)