Operator Reference

write_calib_dataT_write_calib_dataWriteCalibDataWriteCalibDatawrite_calib_data (Operator)

write_calib_dataT_write_calib_dataWriteCalibDataWriteCalibDatawrite_calib_data — Store a calibration data model into a file.

Signature

write_calib_data( : : CalibDataID, FileName : )

Herror T_write_calib_data(const Htuple CalibDataID, const Htuple FileName)

void WriteCalibData(const HTuple& CalibDataID, const HTuple& FileName)

void HCalibData::WriteCalibData(const HString& FileName) const

void HCalibData::WriteCalibData(const char* FileName) const

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

static void HOperatorSet.WriteCalibData(HTuple calibDataID, HTuple fileName)

void HCalibData.WriteCalibData(string fileName)

def write_calib_data(calib_data_id: HHandle, file_name: str) -> None

Description

The operator write_calib_datawrite_calib_dataWriteCalibDataWriteCalibDatawrite_calib_data stores a calibration data model CalibDataIDCalibDataIDCalibDataIDcalibDataIDcalib_data_id into a file specified by its file name FileNameFileNameFileNamefileNamefile_name. The information stored in the file includes:

  • initial camera parameters

  • calibration object descriptions

  • observation data

  • model settings: generic and specific optimization parameters for both cameras and calibration object poses.

Note that no calibration results are stored in the file. You can access them with the operator get_calib_dataget_calib_dataGetCalibDataGetCalibDataget_calib_data, either as individual items or in form of a camera setup model and store them separately.

The calibration data model can be later read with read_calib_dataread_calib_dataReadCalibDataReadCalibDataread_calib_data.

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 modifies the state of the following input parameter:

During execution of this operator, access to the value of this parameter must be synchronized if it is used across multiple threads.

Parameters

CalibDataIDCalibDataIDCalibDataIDcalibDataIDcalib_data_id (input_control, state is modified)  calib_data HCalibData, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of a calibration data model.

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

The file name of the model to be saved.

File extension: .ccd

Module

Calibration