adapt_shape_model_high_noise — Adapt a shape model's parameters for high noise images.
adapt_shape_model_high_noise adapts the parameters of a shape model
ModelID for high noise images and returns them in
Based on a sample search image
ImageReduced, the optimal values of
the shape model's parameters are estimated and adapted in the model. The
ImageReduced should contain the model and surrounding
background, such that the typical noise is presented to the algorithm.
GenParam the parameters to be estimated can be controlled.
Currently, the operator supports the estimation of the lowest pyramid level
used in the matching step. Accordingly, the value 'all' or
'lowest_level' should be provided to
Please note that the operator changes the shape model
that it uses the estimated lowest pyramid level in subsequent calls of, e.g.,
The estimated lowest pyramid level can be overridden in subsequent find calls
as explained in the documentation of the different find operators, e.g.,
This operator returns a handle. Note that the state of an instance of this handle type may be changed by specific operators even though the handle is used as an input parameter by those operators.
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.
→object (byte / uint2)
Sample search image with reduced domain.
ModelID(input_control, state is modified) shape_model
Handle of the shape model.
Parameters to be estimated.
Default value: 'all'
List of values: 'all', 'lowest_level'
Dictionary with the estimated parameter values.
If the parameters are valid, the operator
adapt_shape_model_high_noise returns the value 2 (H_MSG_TRUE). If
necessary, an exception is raised.