Skip to content

adapt_shape_model_high_noiseadapt_shape_model_high_noiseAdaptShapeModelHighNoiseAdaptShapeModelHighNoiseadapt_shape_model_high_noiseT_adapt_shape_model_high_noiseπŸ”—

Short descriptionπŸ”—

adapt_shape_model_high_noiseadapt_shape_model_high_noiseAdaptShapeModelHighNoiseAdaptShapeModelHighNoiseadapt_shape_model_high_noiseT_adapt_shape_model_high_noise β€” Adapt a shape model’s parameters for high noise images.

SignatureπŸ”—

adapt_shape_model_high_noise( image ImageReduced, shape_model ModelID, string GenParam, out dict ResultDict )adapt_shape_model_high_noise( ImageReduced : : ModelID, GenParam : ResultDict )void AdaptShapeModelHighNoise( const HObject& ImageReduced, const HTuple& ModelID, const HTuple& GenParam, HTuple* ResultDict )static void HOperatorSet.AdaptShapeModelHighNoise( HObject imageReduced, HTuple modelID, HTuple genParam, out HTuple resultDict )def adapt_shape_model_high_noise( image_reduced: HObject, model_id: HHandle, gen_param: Sequence[str] ) -> HHandle

Herror T_adapt_shape_model_high_noise( const Hobject ImageReduced, const Htuple ModelID, const Htuple GenParam, Htuple* ResultDict )

HDict HShapeModel::AdaptShapeModelHighNoise( const HImage& ImageReduced, const HTuple& GenParam ) const

HDict HShapeModel.AdaptShapeModelHighNoise( HImage imageReduced, HTuple genParam )

DescriptionπŸ”—

adapt_shape_model_high_noiseAdaptShapeModelHighNoise adapts the parameters of a shape model ModelIDmodelIDmodel_id for high noise images and returns them in ResultDictresultDictresult_dict. Based on a sample search image ImageReducedimageReducedimage_reduced, the optimal values of the shape model’s parameters are estimated and adapted in the model. The domain of ImageReducedimageReducedimage_reduced should contain the model and surrounding background, such that the typical noise is presented to the algorithm. With GenParamgenParamgen_param 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'"all" or 'lowest_level'"lowest_level" should be provided to GenParamgenParamgen_param.

Attention: The operator changes the shape model ModelIDmodelIDmodel_id by setting the estimated lowest pyramid level.

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.

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.

ParametersπŸ”—

ImageReducedimageReducedimage_reduced (input_object) (multichannel-)image β†’ object (byte / uint2)object (byte / uint2)HObject (byte / uint2)HImage (byte / uint2)HObject (byte / uint2)Hobject (byte / uint2)

Sample search image with reduced domain.

ModelIDmodelIDmodel_id (input_control, state is modified) shape_model β†’ (handle)(handle)HTuple (HHandle)HShapeModel, HTuple (IntPtr)HHandleHtuple (handle)

Handle of the shape model.

GenParamgenParamgen_param (input_control) string-array β†’ (string)(string)HTuple (HString)HTuple (string)Sequence[str]Htuple (char*)

Parameters to be estimated.

Default: 'all'"all"
List of values: 'all', 'lowest_level'"all", "lowest_level"

ResultDictresultDictresult_dict (output_control) dict β†’ (handle)(handle)HTuple (HHandle)HDict, HTuple (IntPtr)HHandleHtuple (handle)

Dictionary with the estimated parameter values.

ResultπŸ”—

If the parameters are valid, the operator adapt_shape_model_high_noiseAdaptShapeModelHighNoise returns the value 2 (H_MSG_TRUE). If necessary, an exception is raised.

Combinations with other operatorsπŸ”—

Combinations

Possible predecessors

create_generic_shape_modelCreateGenericShapeModel

Possible successors

find_generic_shape_modelFindGenericShapeModel

ModuleπŸ”—

Matching