Namespace: Rx::LFR – Class: CCalibrationManager – Header: Rx.LFR/CalibrationManager.h

CCalibrationManager::LoadDefaultCalibration Static Method

C++
static CRxString LoadDefaultCalibration(CCalibration& xCalib, const CCamera& xCamera, bool bLoadGrayImg)

Loads the default calibration of the given camera.

The default calibration is a calibration that has been set as default by calling SetMetaData with a CRxCalibMetaData that has the IsDefaultCalib flag set to true. By default an internal master calibration is the default one.

Parameters

[CCalibration&] xCalib

[out] The loaded calibration.

[const CCamera&] xCamera

[in] The camera.

[bool] bLoadGrayImg

[in] True to load the gray image from disk. The image is invalid if there isn't a gray image. False to load no gray image.

Returns

CRxString

The default calibration guid.