ClassesClasses | | Operators

serialize_calib_dataT_serialize_calib_dataSerializeCalibDataSerializeCalibData (Operator)

Name

serialize_calib_dataT_serialize_calib_dataSerializeCalibDataSerializeCalibData — 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()

Description

serialize_calib_dataserialize_calib_dataSerializeCalibDataSerializeCalibDataSerializeCalibData serializes the data of a calibration data model (see fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItem for an introduction of the basic principle of serialization). The same data that is written in a file by write_calib_datawrite_calib_dataWriteCalibDataWriteCalibDataWriteCalibData is converted to a serialized item. The calibration data model is defined by the handle CalibDataIDCalibDataIDCalibDataIDCalibDataIDcalibDataID. The serialized calibration data model is returned by the handle SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandle and can be deserialized by deserialize_calib_datadeserialize_calib_dataDeserializeCalibDataDeserializeCalibDataDeserializeCalibData.

Note that no calibration results are serialized. You can access them with the operator get_calib_dataget_calib_dataGetCalibDataGetCalibDataGetCalibData, 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:

The value of this parameter may not be shared across multiple threads without external synchronization.

Parameters

CalibDataIDCalibDataIDCalibDataIDCalibDataIDcalibDataID (input_control, state is modified)  calib_data HCalibData, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of a calibration data model.

SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandle (output_control)  serialized_item HSerializedItem, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the serialized item.

Result

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

Possible Successors

fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItem, send_serialized_itemsend_serialized_itemSendSerializedItemSendSerializedItemSendSerializedItem, deserialize_calib_datadeserialize_calib_dataDeserializeCalibDataDeserializeCalibDataDeserializeCalibData

Module

Calibration


ClassesClasses | | Operators