Operators |
get_structured_light_model_param — Query parameters of a structured light model.
get_structured_light_model_param( : : StructuredLightModel, GenParamName : GenParamValue)
The operator get_structured_light_model_param is used to query the values of the different parameters of a structured light model (StructuredLightModel). The names of the desired parameters are passed in the parameter GenParamName, the corresponding values are returned in GenParamValue. It is possible to query multiple parameters with a single call to get_structured_light_model_param . All parameters which can be manipulated by set_structured_light_model_param can be queried. Please refer to the documentation of set_structured_light_model_param for an explanation of the individual parameters.
For an explanation of the concept of structured light and its supported applications, see the introduction of chapter Inspection / Structured Light.
Handle of the structured light model.
Name of the queried model parameter.
Default value: 'min_stripe_width'
List of values: 'derivative_sigma' , 'min_gray_difference' , 'min_stripe_width' , 'normalization' , 'pattern_height' , 'pattern_orientation' , 'pattern_type' , 'pattern_width' , 'persistence'
Value of the queried model parameter.
* Create the model create_structured_light_model ('deflectometry', StructuredLightModel) * Get the default value get_structured_light_model_param (StructuredLightModel, \ 'min_stripe_width', Default) * Set the value set_structured_light_model_param (StructuredLightModel, \ 'min_stripe_width', 64) * Get the value get_structured_light_model_param (StructuredLightModel, 'min_stripe_width', \ MinStripeWidth) * 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 get_structured_light_model_param returns the value 2 (H_MSG_TRUE) if the given parameters are valid. Otherwise, an exception will be raised.
set_structured_light_model_param
3D Metrology
Operators |