serialize_calib_data
— Serialize a calibration data model.
serialize_calib_data( : : CalibDataID : SerializedItemHandle)
serialize_calib_data
serializes the data of a calibration data model
(see fwrite_serialized_item
for an introduction of the
basic principle of serialization). The same data that is written
in a file by write_calib_data
is converted to a serialized
item. The calibration data model is defined by the handle
CalibDataID
. The serialized calibration data model is returned
by the handle SerializedItemHandle
and can be deserialized
by deserialize_calib_data
.
Note that no calibration results are serialized. You can
access them with the operator get_calib_data
, either as
individual items or in form of a camera setup model and
store them separately.
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.
CalibDataID
(input_control, state is modified) calib_data →
(handle)
Handle of a calibration data model.
SerializedItemHandle
(output_control) serialized_item →
(handle)
Handle of the serialized item.
If the parameters are valid, the operator
serialize_calib_data
returns the value 2 (H_MSG_TRUE). If
necessary, an exception is raised.
fwrite_serialized_item
,
send_serialized_item
,
deserialize_calib_data
Calibration