Operators |
set_calib_data_calib_object — Define a calibration object in a calibration model.
set_calib_data_calib_object( : : CalibDataID, CalibObjIdx, CalibObjDescr : )
The operator set_calib_data_calib_object defines the calibration object with the index CalibObjIdx in the camera calibration data model CalibDataID. The index must be between 0 and NumCalibObjects-1 (NumCalibObjects is specified during model creation with create_calib_data and can be queried with get_calib_data).
If a calibration object description with index CalibObjIdx is already defined, then the current object description overwrites it (the description is 'substituted'). Note that all NumCalibObjects calibration objects must be set to perform calibrate_cameras.
The parameter CalibObjDescr can be used in two ways:
it specifies a calibration plate description file as created with create_caltab or gen_caltab.
it specifies the 3D coordinates of all points of the calibration object. All X, Y, and Z coordinates, respectively, of all points must be packed sequentially in the tuple in form: [X, Y, Z], i.e., [X1, ..., Xn, Y1, ..., Yn, Z1, ..., Zn], where |X| = |Y| = |Z| and all coordinates are in meters.
To query the calibration objects parameters stored earlier in a calibration data model, use get_calib_data.
This operator modifies the state of the following input parameter:
The value of this parameter may not be shared across multiple threads without external synchronization.Handle of a calibration data model.
Calibration object index.
Default value: 0
Suggested values: 0, 1, 2
3D point coordinates or a description file name.
List of values: 'calplate.cpd' , 'calplate_20mm.cpd' , 'calplate_40mm.cpd' , 'calplate_80mm.cpd' , 'caltab.descr' , 'caltab_160mm.cpd'
create_calib_data, set_calib_data_cam_param
set_calib_data_cam_param, set_calib_data_observ_points, find_calib_object
Calibration
Operators |