adapt_shape_model_high_noise调整形状模型高噪声T_adapt_shape_model_high_noise调整形状模型高噪声AdaptShapeModelHighNoise调整形状模型高噪声AdaptShapeModelHighNoise调整形状模型高噪声adapt_shape_model_high_noise调整形状模型高噪声 (算子)
名称
adapt_shape_model_high_noise调整形状模型高噪声T_adapt_shape_model_high_noise调整形状模型高噪声AdaptShapeModelHighNoise调整形状模型高噪声AdaptShapeModelHighNoise调整形状模型高噪声adapt_shape_model_high_noise调整形状模型高噪声 — 针对高噪声图像调整形状模型的参数。
签名
描述
adapt_shape_model_high_noiseadapt_shape_model_high_noiseAdaptShapeModelHighNoiseAdaptShapeModelHighNoiseAdaptShapeModelHighNoiseadapt_shape_model_high_noise 针对高噪声图像调整形状模型
ModelIDModelIDModelIDModelIDmodelIDmodel_id 的参数,并将结果存储于 ResultDictResultDictResultDictResultDictresultDictresult_dict。基于样本搜索图像 ImageReducedImageReducedImageReducedImageReducedimageReducedimage_reduced,该算法估算并调整形状模型参数的最优值。ImageReducedImageReducedImageReducedImageReducedimageReducedimage_reduced 的域应包含模型及其周边背景,以便向算法呈现典型噪声特征。通过 GenParamGenParamGenParamGenParamgenParamgen_param 可控制待估算的参数。当前该算子支持匹配步骤中使用的最低金字塔层级的参数估计。因此需向 GenParamGenParamGenParamGenParamgenParamgen_param 提供 'all'"all""all""all""all""all" 或
'lowest_level'"lowest_level""lowest_level""lowest_level""lowest_level""lowest_level" 参数值。
注:该算子通过设置估计的最低金字塔层级来改变形状模型 ModelIDModelIDModelIDModelIDmodelIDmodel_id。
执行信息
- 多线程类型:可重入(与非独占算子并行运行)。
- 多线程作用域:全局(可从任何线程调用)。
- 未采用并行化处理。
此算子返回一个句柄。请注意,即使该句柄被用作特定算子的输入参数,这些算子仍可能改变此句柄类型的实例状态。
此算子修改后续输入参数的状态:
在执行此算子时,若该参数值需在多个线程间使用,则必须对其访问进行同步。
参数
ImageReducedImageReducedImageReducedImageReducedimageReducedimage_reduced (输入对象) (multichannel-)image → objectHImageHObjectHImageHobject (byte / uint2)
缩小域的搜索图像示例。
ModelIDModelIDModelIDModelIDmodelIDmodel_id (输入控制,状态被修改) shape_model → HShapeModel, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
形状模型的句柄。
GenParamGenParamGenParamGenParamgenParamgen_param (输入控制) string-array → HTupleSequence[str]HTupleHtuple (string) (string) (HString) (char*)
待估参数。
默认值:
'all'
"all"
"all"
"all"
"all"
"all"
值列表:
'all'"all""all""all""all""all", 'lowest_level'"lowest_level""lowest_level""lowest_level""lowest_level""lowest_level"
ResultDictResultDictResultDictResultDictresultDictresult_dict (输出控制) dict → HDict, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
包含估计参数值的字典。
结果
如果参数有效,算子
adapt_shape_model_high_noiseadapt_shape_model_high_noiseAdaptShapeModelHighNoiseAdaptShapeModelHighNoiseAdaptShapeModelHighNoiseadapt_shape_model_high_noise 返回值 2 (
H_MSG_TRUE)
。如有必要,则抛出异常。
可能的前趋
create_generic_shape_modelcreate_generic_shape_modelCreateGenericShapeModelCreateGenericShapeModelCreateGenericShapeModelcreate_generic_shape_model
可能的后继
find_generic_shape_modelfind_generic_shape_modelFindGenericShapeModelFindGenericShapeModelFindGenericShapeModelfind_generic_shape_model
模块
匹配