RecalcCalibPieces

Declaration: TMetaData.RecalcCalibPieces(dim: TDims): integer;
The function RecalcCalibPieces analyses the current calibration coefficients of the axis given by the parameter dim and fills the internal table of calibration pieces. Please note that this internal table is required to be up to date for a perfect function of Epina ImageLab. Thus you have to call it whenever you change the calibration parameters programmatically (i.e. by using the function SetCalibCoeffs).

The function returns the number of found calibration pieces.

Hint: In order to directly access the metadata of the currently loaded dataset you can use the pre-declared global variable MData.