set_generic_shape_model_objectT_set_generic_shape_model_objectSetGenericShapeModelObjectSetGenericShapeModelObjectset_generic_shape_model_object (Operator)
Name
set_generic_shape_model_objectT_set_generic_shape_model_objectSetGenericShapeModelObjectSetGenericShapeModelObjectset_generic_shape_model_object
— Set object parameters of the shape model.
Signature
Description
The operator set_generic_shape_model_objectset_generic_shape_model_objectSetGenericShapeModelObjectSetGenericShapeModelObjectSetGenericShapeModelObjectset_generic_shape_model_object
sets parameters
of the shape model ModelIDModelIDModelIDModelIDmodelIDmodel_id
based on the given ObjectObjectObjectObjectobjectValobject
.
The parameter GenParamNameGenParamNameGenParamNameGenParamNamegenParamNamegen_param_name
determines for which type of setting
the object is used. Currently only the following value is supported:
-
'high_noise_sample'"high_noise_sample""high_noise_sample""high_noise_sample""high_noise_sample""high_noise_sample": Estimate and adapt the shape model
parameters to cope better with high noise images.
The parameter estimation is done based on the sample search image
ObjectObjectObjectObjectobjectValobject
. As a consequence the domain of ObjectObjectObjectObjectobjectValobject
should
contain the model and surrounding background showing noise that is typical
for search images.
The operator modifies the following parameters:
Execution Information
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
This operator modifies the state of the following input parameter:
During execution of this operator, access to the value of this parameter must be synchronized if it is used across multiple threads.
Parameters
ObjectObjectObjectObjectobjectValobject
(input_object) (multichannel-)object(-array) →
objectHObjectHObjectHObjectHobject
Object on which the parameter setting is based.
ModelIDModelIDModelIDModelIDmodelIDmodel_id
(input_control, state is modified) shape_model →
HShapeModel, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of the shape model.
GenParamNameGenParamNameGenParamNameGenParamNamegenParamNamegen_param_name
(input_control) string-array →
HTupleSequence[str]HTupleHtuple (string) (string) (HString) (char*)
Parameter name.
Default value:
'high_noise_sample'
"high_noise_sample"
"high_noise_sample"
"high_noise_sample"
"high_noise_sample"
"high_noise_sample"
List of values: 'high_noise_sample'"high_noise_sample""high_noise_sample""high_noise_sample""high_noise_sample""high_noise_sample"
Result
If the parameters are valid, the operator
set_generic_shape_model_objectset_generic_shape_model_objectSetGenericShapeModelObjectSetGenericShapeModelObjectSetGenericShapeModelObjectset_generic_shape_model_object
returns the value TRUE.
If necessary an exception is raised.
Possible Predecessors
create_generic_shape_modelcreate_generic_shape_modelCreateGenericShapeModelCreateGenericShapeModelCreateGenericShapeModelcreate_generic_shape_model
Possible Successors
train_generic_shape_modeltrain_generic_shape_modelTrainGenericShapeModelTrainGenericShapeModelTrainGenericShapeModeltrain_generic_shape_model
,
find_generic_shape_modelfind_generic_shape_modelFindGenericShapeModelFindGenericShapeModelFindGenericShapeModelfind_generic_shape_model
Module
Matching