serialize_descriptor_model🔗
Short description🔗
serialize_descriptor_model — Serialize a descriptor model.
Signature🔗
serialize_descriptor_model( descriptor_model ModelID, out serialized_item SerializedItemHandle )
Description🔗
serialize_descriptor_model serializes the data of a descriptor
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_descriptor_model is converted to a serialized
item. The descriptor model is defined by the handle
ModelID. The serialized descriptor model is returned by the
handle SerializedItemHandle and can be deserialized by
deserialize_descriptor_model.
Execution information🔗
Execution information
-
Multithreading type: reentrant (runs in parallel with non-exclusive operators).
-
Multithreading scope: global (may be called from any thread).
-
Processed without parallelization.
Parameters🔗
ModelID (input_control) descriptor_model → (handle)
Handle of a model to be saved.
SerializedItemHandle (output_control) serialized_item → (handle)
Handle of the serialized item.
Result🔗
If the parameters are valid, the operator
serialize_descriptor_model returns the value 2 (H_MSG_TRUE).
If necessary, an exception is raised.
Combinations with other operators🔗
Combinations
Possible predecessors
points_lepetit, create_uncalib_descriptor_model, create_calib_descriptor_model
Possible successors
fwrite_serialized_item, send_serialized_item, deserialize_descriptor_model
See also
create_uncalib_descriptor_model, create_calib_descriptor_model
Module🔗
Matching