serialize_calib_dataT_serialize_calib_dataSerializeCalibDataSerializeCalibDataserialize_calib_data (Operator)

Name

serialize_calib_dataT_serialize_calib_dataSerializeCalibDataSerializeCalibDataserialize_calib_data — Serialize a calibration data model.

Signature

serialize_calib_data( : : CalibDataID : SerializedItemHandle)

Herror T_serialize_calib_data(const Htuple CalibDataID, Htuple* SerializedItemHandle)

void SerializeCalibData(const HTuple& CalibDataID, HTuple* SerializedItemHandle)

HSerializedItem HCalibData::SerializeCalibData() const

static void HOperatorSet.SerializeCalibData(HTuple calibDataID, out HTuple serializedItemHandle)

HSerializedItem HCalibData.SerializeCalibData()

def serialize_calib_data(calib_data_id: HHandle) -> HHandle

Description

serialize_calib_dataserialize_calib_dataSerializeCalibDataSerializeCalibDataSerializeCalibDataserialize_calib_data serializes the data of a calibration data model (see fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItemfwrite_serialized_item for an introduction of the basic principle of serialization). The same data that is written in a file by write_calib_datawrite_calib_dataWriteCalibDataWriteCalibDataWriteCalibDatawrite_calib_data is converted to a serialized item. The calibration data model is defined by the handle CalibDataIDCalibDataIDCalibDataIDCalibDataIDcalibDataIDcalib_data_id. The serialized calibration data model is returned by the handle SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle and can be deserialized by deserialize_calib_datadeserialize_calib_dataDeserializeCalibDataDeserializeCalibDataDeserializeCalibDatadeserialize_calib_data.

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

Execution Information

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

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

Handle of a calibration data model.

SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle (output_control)  serialized_item HSerializedItem, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the serialized item.

Result

If the parameters are valid, the operator serialize_calib_dataserialize_calib_dataSerializeCalibDataSerializeCalibDataSerializeCalibDataserialize_calib_data returns the value 2 (H_MSG_TRUE). If necessary, an exception is raised.

Possible Successors

fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItemfwrite_serialized_item, send_serialized_itemsend_serialized_itemSendSerializedItemSendSerializedItemSendSerializedItemsend_serialized_item, deserialize_calib_datadeserialize_calib_dataDeserializeCalibDataDeserializeCalibDataDeserializeCalibDatadeserialize_calib_data

Module

Calibration