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

CCalibrationManager::LoadDefaultCalibration Static Method

C++
static void LoadDefaultCalibration(CCalibration& xCalib, const CRxString& sCameraSerial, const CRxString& sDriverName, bool bLoadGrayImg)

Loads the default calibration of the given camera defined by the camera serial and the driver name.

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 CRxString&] sCameraSerial

[in] The camera serial.

[const CRxString&] sDriverName

[in] The driver name.

[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.