adapt_shape_model_high_noiseT_adapt_shape_model_high_noiseAdaptShapeModelHighNoiseAdaptShapeModelHighNoiseadapt_shape_model_high_noise (算子名称)

名称

adapt_shape_model_high_noiseT_adapt_shape_model_high_noiseAdaptShapeModelHighNoiseAdaptShapeModelHighNoiseadapt_shape_model_high_noise — 为高噪声图像调整形状模型的参数。

参数签名

adapt_shape_model_high_noise(ImageReduced : : ModelID, GenParam : ResultDict)

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

void AdaptShapeModelHighNoise(const HObject& ImageReduced, const HTuple& ModelID, const HTuple& GenParam, HTuple* ResultDict)

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

static void HOperatorSet.AdaptShapeModelHighNoise(HObject imageReduced, HTuple modelID, HTuple genParam, out HTuple resultDict)

HDict HShapeModel.AdaptShapeModelHighNoise(HImage imageReduced, HTuple genParam)

def adapt_shape_model_high_noise(image_reduced: HObject, model_id: HHandle, gen_param: Sequence[str]) -> HHandle

描述

adapt_shape_model_high_noiseadapt_shape_model_high_noiseAdaptShapeModelHighNoiseAdaptShapeModelHighNoiseAdaptShapeModelHighNoiseadapt_shape_model_high_noise adapts the parameters of a shape model ModelIDModelIDModelIDModelIDmodelIDmodel_id for high noise images and returns them in ResultDictResultDictResultDictResultDictresultDictresult_dict. Based on a sample search image ImageReducedImageReducedImageReducedImageReducedimageReducedimage_reduced, the optimal values of the shape model's parameters are estimated and adapted in the model. The domain of ImageReducedImageReducedImageReducedImageReducedimageReducedimage_reduced should contain the model and surrounding background, such that the typical noise is presented to the algorithm. With GenParamGenParamGenParamGenParamgenParamgen_param the parameters to be estimated can be controlled. Currently, 该算子 supports the estimation of the lowest pyramid level used in the matching step. Accordingly, the value 'all'"all""all""all""all""all" or 'lowest_level'"lowest_level""lowest_level""lowest_level""lowest_level""lowest_level" should be provided to GenParamGenParamGenParamGenParamgenParamgen_param.

Note: 该算子 changes the shape model ModelIDModelIDModelIDModelIDmodelIDmodel_id by setting the estimated lowest pyramid level.

运行信息

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.

参数表

ImageReducedImageReducedImageReducedImageReducedimageReducedimage_reduced (input_object)  (multichannel-)image objectHImageHObjectHImageHobject (byte / uint2)

Sample search image with reduced domain.

ModelIDModelIDModelIDModelIDmodelIDmodel_id (input_control, state is modified)  shape_model HShapeModel, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the shape model.

GenParamGenParamGenParamGenParamgenParamgen_param (input_control)  string-array HTupleSequence[str]HTupleHtuple (string) (string) (HString) (char*)

Parameters to be estimated.

Default: 'all' "all" "all" "all" "all" "all"

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

ResultDictResultDictResultDictResultDictresultDictresult_dict (output_control)  dict HDict, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Dictionary with the estimated parameter values.

结果

如果参数均有效,算子 adapt_shape_model_high_noiseadapt_shape_model_high_noiseAdaptShapeModelHighNoiseAdaptShapeModelHighNoiseAdaptShapeModelHighNoiseadapt_shape_model_high_noise 返回值 2 ( H_MSG_TRUE) . If necessary, an exception is raised.

可能的前置算子

create_generic_shape_modelcreate_generic_shape_modelCreateGenericShapeModelCreateGenericShapeModelCreateGenericShapeModelcreate_generic_shape_model

可能的后置算子

find_generic_shape_modelfind_generic_shape_modelFindGenericShapeModelFindGenericShapeModelFindGenericShapeModelfind_generic_shape_model

模块

Matching