mira_LoadCorrection
Loads white and dark references from the disk.
int mira_LoadCorrection(mrkernel* pmr, const char* pScanDirectory, const char* pScanName);
Parameters:
- pmr: A pointer to the runtime kernel returned by mira_Init.
- pScanDirectory: Path to the directory containing a scan with references.
- pScanName: The name of the scan to load the references from, excluding any extensions.
Return value:
MIRA_OK (0) or an error code.
Description:
mira_LoadCorrection loads references from the disk to be able to correct the incoming data with, the location of the references is based on the project type of the model. Correction loading is currently supported for the perClass, Headwall, and Specim project types. It requires that a model has been loaded using mira_LoadModel.