Error codes
-101 Passing NULL pointer
-102 mira_GetDeviceName: Device index out of bounds
-103 mira_StartAcquisition: Project not loaded
-104 mira_StartAcquisition: Classifier model not loaded
-110 mira_LoadModel: Error loading model from file
-111 mira_LoadModel: Wrong file format
-112 mira_LoadModel: Internal error when loading
-113 mira_LoadModel: File cannot be opened
-120 mira_saveImage: Label image does not exist
-130 mira_LoadCorrection: Loading meta-data from the correction scan failed.
-131 mira_LoadCorrection: Error loading dark reference data
-132 mira_LoadCorrection: Dark and White reference images have different width or band count.
-134 mira_LoadCorrection: Both dark and white reference scans need to be loaded.
-135 mira_LoadCorrection: Reference file not present
-136 mira_LoadCorrection: Unsupported data layout or data type
-140 Error switching to the computation device
-141 mira_RefreshDeviceList: Error setting CUDA backend
-142 mira_RefreshDeviceList: Error setting OpenCL backend
-143 mira_RefreshDeviceList: listNVIDIA and listOpenCL must be specified as 0 or 1 values
-150 Feature does not exist
-151 Wrong feature type requested
-160 Max number of objects per frame reached
-161 mira_GetObjData*: Object index out of bounds
-162 mira_GetObjData*: Class index out of bounds (0..9)
-163 mira_GetObjDataClassSize: Segmentation not set to required 'All foreground' mode.
-164 mira_GetMaskType: Object segmetation not defined
-170 mira_StartAcquisition: Acquisition already running
-171 mira_StopAcquisition: Acquisition not running
-172 mira_StartAcquisition: Object segmentation cannot proceed
-180 mira_GetDecName: Decision index out of bounds
-190 mira_SetForegroundClass: Foreground class index out of bounds
-201 mira_ProcessCube: Line-scan project type cannot process cubes
-202 mira_StartAcquisition: Label image dimension mismatch
-203 mira_ProcessCube: Missing image geometry description
-204 mira_ProcessFrame: Line-scan processing requires BIL layout
-205 mira_GetInputDataLayout: Undefined data layout
-206 mira_GetInputDataType: Undefined data type
-207 mira_ProcessCube: Unsupported project type
-208 mira_ProcessFrame: Unsupported data type
-208 mira_ProcessCube: Unsupported data type or data layout