deserialize_structured_light_model — Deserialize a structured light model.
deserialize_structured_light_model( : : SerializedItemHandle : StructuredLightModel)
deserialize_structured_light_model deserializes a structured light
model that was serialized by serialize_structured_light_model
(see fwrite_serialized_item for an introduction of the basic
principle of serialization). The serialized structured light model is
defined by the handle SerializedItemHandle. The deserialized values
are stored in an automatically created structured light model with the
handle StructuredLightModel.
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.
SerializedItemHandle (input_control) serialized_item → (handle)
Handle of the serialized item.
StructuredLightModel (output_control, state is modified) structured_light_model → (handle)
Handle of the structured light model.
* 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')
The operator deserialize_structured_light_model returns the
value 2 (H_MSG_TRUE) if the given parameters are valid. Otherwise, an exception will be
raised.
fread_serialized_item,
receive_serialized_item,
serialize_structured_light_model
create_structured_light_model,
write_structured_light_model,
serialize_structured_light_model
3D Metrology