Operator Reference

read_calib_dataT_read_calib_dataReadCalibDataReadCalibDataread_calib_data (Operator)

read_calib_dataT_read_calib_dataReadCalibDataReadCalibDataread_calib_data — Restore a calibration data model from a file.

Signature

read_calib_data( : : FileName : CalibDataID)

Herror T_read_calib_data(const Htuple FileName, Htuple* CalibDataID)

void ReadCalibData(const HTuple& FileName, HTuple* CalibDataID)

void HCalibData::HCalibData(const HString& FileName)

void HCalibData::HCalibData(const char* FileName)

void HCalibData::HCalibData(const wchar_t* FileName)   ( Windows only)

void HCalibData::ReadCalibData(const HString& FileName)

void HCalibData::ReadCalibData(const char* FileName)

void HCalibData::ReadCalibData(const wchar_t* FileName)   ( Windows only)

static void HOperatorSet.ReadCalibData(HTuple fileName, out HTuple calibDataID)

public HCalibData(string fileName)

void HCalibData.ReadCalibData(string fileName)

def read_calib_data(file_name: str) -> HHandle

Description

The operator read_calib_dataread_calib_dataReadCalibDataReadCalibDataread_calib_data restores a calibration data model from a file specified by its FileNameFileNameFileNamefileNamefile_name and returns a handle to the restored model in CalibDataIDCalibDataIDCalibDataIDcalibDataIDcalib_data_id. The model file must have been created by write_calib_datawrite_calib_dataWriteCalibDataWriteCalibDatawrite_calib_data.

Note that write_calib_datawrite_calib_dataWriteCalibDataWriteCalibDatawrite_calib_data does not store any calibration results into the file. Yet, calibrate_camerascalibrate_camerasCalibrateCamerasCalibrateCamerascalibrate_cameras can be called for a fully configured calibration model immediately after the reading. All calibration results are accessible afterwards.

Execution Information

  • Multithreading type: reentrant (runs in parallel with non-exclusive operators).
  • Multithreading scope: global (may be called from any thread).
  • Processed without parallelization.

This operator returns a handle. Note that the state of an instance of this handle type may be changed by specific operators even though the handle is used as an input parameter by those operators.

Parameters

FileNameFileNameFileNamefileNamefile_name (input_control)  filename.read HTuplestrHTupleHtuple (string) (string) (HString) (char*)

The path and file name of the model file.

File extension: .ccd

CalibDataIDCalibDataIDCalibDataIDcalibDataIDcalib_data_id (output_control)  calib_data HCalibData, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of a calibration data model.

Module

Calibration