Operators |
clear_structured_light_model — Clear a structured light model and free the allocated memory.
clear_structured_light_model( : : StructuredLightModel : )
The operator clear_structured_light_model deletes a structured light model that was created by create_structured_light_model. All memory used by the model is freed. The handle of the model is passed in StructuredLightModel. It is invalid after the operator call.
For an explanation of the concept of structured light and its supported applications, see the introduction of chapter Inspection / Structured Light.
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.Handle of the structured light model.
* Create the model create_structured_light_model ('deflectometry', StructuredLightModel) * Generate the patterns to project gen_structured_light_pattern (PatternImages, StructuredLightModel) * Decode the camera images decode_structured_light_pattern (CameraImages, StructuredLightModel) * Clean up clear_structured_light_model (StructuredLightModel)
The operator clear_structured_light_model returns the value 2 (H_MSG_TRUE) if a valid handle is passed and the referred structured light model can be freed correctly. Otherwise, an exception will be raised.
3D Metrology
Operators |