ClassesClasses | | Operators

deserialize_structured_light_modeldeserialize_structured_light_modelDeserializeStructuredLightModelDeserializeStructuredLightModel (Operator)

Name

deserialize_structured_light_modeldeserialize_structured_light_modelDeserializeStructuredLightModelDeserializeStructuredLightModel — Deserialize a structured light model.

Signature

deserialize_structured_light_model( : : SerializedItemHandle : StructuredLightModel)

Herror deserialize_structured_light_model(const Hlong SerializedItemHandle, Hlong* StructuredLightModel)

Herror T_deserialize_structured_light_model(const Htuple SerializedItemHandle, Htuple* StructuredLightModel)

void DeserializeStructuredLightModel(const HTuple& SerializedItemHandle, HTuple* StructuredLightModel)

void HStructuredLightModel::DeserializeStructuredLightModel(const HSerializedItem& SerializedItemHandle)

static void HOperatorSet.DeserializeStructuredLightModel(HTuple serializedItemHandle, out HTuple structuredLightModel)

void HStructuredLightModel.DeserializeStructuredLightModel(HSerializedItem serializedItemHandle)

Description

deserialize_structured_light_modeldeserialize_structured_light_modelDeserializeStructuredLightModelDeserializeStructuredLightModelDeserializeStructuredLightModel deserializes a structured light model that was serialized by serialize_structured_light_modelserialize_structured_light_modelSerializeStructuredLightModelSerializeStructuredLightModelSerializeStructuredLightModel (see fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItem for an introduction of the basic principle of serialization). The serialized structured light model is defined by the handle SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandle. The deserialized values are stored in an automatically created structured light model with the handle StructuredLightModelStructuredLightModelStructuredLightModelStructuredLightModelstructuredLightModel.

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

SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandle (input_control)  serialized_item HSerializedItem, HTupleHTupleHtuple (integer) (IntPtr) (Hlong) (Hlong)

Handle of the serialized item.

StructuredLightModelStructuredLightModelStructuredLightModelStructuredLightModelstructuredLightModel (output_control, state is modified)  structured_light_model HStructuredLightModel, HTupleHTupleHtuple (integer) (IntPtr) (Hlong) (Hlong)

Handle of the structured light model.

Example (HDevelop)

* Deserialize the model
deserialize_structured_light_model (SerializedItemHandle, \
                                    StructuredLightModel)
* Get a previously decoded result
get_structured_light_object (CorrespondenceImages, StructuredLightModel, \
                             'correspondence_image')
* Decode new camera images
decode_structured_light_pattern (CameraImages, StructuredLightModel)
* Get the decoded result
get_structured_light_object (CorrespondenceImagesNew, StructuredLightModel, \
                             'correspondence_image')
* Clean up
clear_structured_light_model (StructuredLightModel)

Result

The operator deserialize_structured_light_modeldeserialize_structured_light_modelDeserializeStructuredLightModelDeserializeStructuredLightModelDeserializeStructuredLightModel returns the value 2 (H_MSG_TRUE) if the given parameters are valid. Otherwise, an exception will be raised.

Possible Predecessors

fread_serialized_itemfread_serialized_itemFreadSerializedItemFreadSerializedItemFreadSerializedItem, receive_serialized_itemreceive_serialized_itemReceiveSerializedItemReceiveSerializedItemReceiveSerializedItem, serialize_structured_light_modelserialize_structured_light_modelSerializeStructuredLightModelSerializeStructuredLightModelSerializeStructuredLightModel

See also

create_structured_light_modelcreate_structured_light_modelCreateStructuredLightModelCreateStructuredLightModelCreateStructuredLightModel, write_structured_light_modelwrite_structured_light_modelWriteStructuredLightModelWriteStructuredLightModelWriteStructuredLightModel, serialize_structured_light_modelserialize_structured_light_modelSerializeStructuredLightModelSerializeStructuredLightModelSerializeStructuredLightModel

Module

3D Metrology


ClassesClasses | | Operators