get_metrology_object_fuzzy_paramT_get_metrology_object_fuzzy_paramGetMetrologyObjectFuzzyParamGetMetrologyObjectFuzzyParamget_metrology_object_fuzzy_param (算子)
名称
get_metrology_object_fuzzy_paramT_get_metrology_object_fuzzy_paramGetMetrologyObjectFuzzyParamGetMetrologyObjectFuzzyParamget_metrology_object_fuzzy_param — 获取计量模型的模糊参数。
签名
描述
get_metrology_object_paramget_metrology_object_paramGetMetrologyObjectParamGetMetrologyObjectParamGetMetrologyObjectParamget_metrology_object_param allows to acess the fuzzy
parameters of metrology objects.
有关二维计量概念的说明,请参阅 二维计量 一章的引言。
The metrology model is defined by the handle
MetrologyHandleMetrologyHandleMetrologyHandleMetrologyHandlemetrologyHandlemetrology_handle. The parameter IndexIndexIndexIndexindexindex specifies
for which metrology objects the information is accessed. With
IndexIndexIndexIndexindexindex set to 'all'"all""all""all""all""all", the parameters of all metrology
objects are accessed. The names of the desired parameters are passed
in the generic parameter GenParamNameGenParamNameGenParamNameGenParamNamegenParamNamegen_param_name, the corresponding values
are returned in GenParamValueGenParamValueGenParamValueGenParamValuegenParamValuegen_param_value in the same order. All these
fuzzy parameters can be set and changed at any time with the operator
set_metrology_object_fuzzy_paramset_metrology_object_fuzzy_paramSetMetrologyObjectFuzzyParamSetMetrologyObjectFuzzyParamSetMetrologyObjectFuzzyParamset_metrology_object_fuzzy_param。
The following parameters can be accessed:
- 'fuzzy_thresh'"fuzzy_thresh""fuzzy_thresh""fuzzy_thresh""fuzzy_thresh""fuzzy_thresh":
-
The meaning and the use of this
parameter is equivalent to the parameter FuzzyThreshFuzzyThreshFuzzyThreshFuzzyThreshfuzzyThreshfuzzy_thresh of
the operator fuzzy_measure_posfuzzy_measure_posFuzzyMeasurePosFuzzyMeasurePosFuzzyMeasurePosfuzzy_measure_pos and is described there.
- 'function_contrast'"function_contrast""function_contrast""function_contrast""function_contrast""function_contrast":
-
With this parameter the
fuzzy function of type contrast that is set in the operator
set_metrology_object_paramset_metrology_object_paramSetMetrologyObjectParamSetMetrologyObjectParamSetMetrologyObjectParamset_metrology_object_param can be queried. The meaning
and the use of this parameter is equivalent to the parameter
SetTypeSetTypeSetTypeSetTypesetTypeset_type with the value 'contrast'"contrast""contrast""contrast""contrast""contrast" of the
operator set_fuzzy_measureset_fuzzy_measureSetFuzzyMeasureSetFuzzyMeasureSetFuzzyMeasureset_fuzzy_measure and is described there. The
return value GenParamValueGenParamValueGenParamValueGenParamValuegenParamValuegen_param_value contains the function of the
metrology object.
- 'function_position'"function_position""function_position""function_position""function_position""function_position":
-
With this parameter the
fuzzy function of type position that is set in the operator
set_metrology_object_paramset_metrology_object_paramSetMetrologyObjectParamSetMetrologyObjectParamSetMetrologyObjectParamset_metrology_object_param can be queried.
Because only one fuzzy function of a type can be set, only the
last set function can be returned. The type can be
'function_position'"function_position""function_position""function_position""function_position""function_position", 'function_position_center'"function_position_center""function_position_center""function_position_center""function_position_center""function_position_center",
'function_position_end'"function_position_end""function_position_end""function_position_end""function_position_end""function_position_end",
'function_position_first_edge'"function_position_first_edge""function_position_first_edge""function_position_first_edge""function_position_first_edge""function_position_first_edge", or
'function_position_last_edge'"function_position_last_edge""function_position_last_edge""function_position_last_edge""function_position_last_edge""function_position_last_edge".
执行信息
- 多线程类型:可重入(与非独占算子并行运行)。
- 多线程作用域:全局(可从任何线程调用)。
- 未采用并行化处理。
参数
MetrologyHandleMetrologyHandleMetrologyHandleMetrologyHandlemetrologyHandlemetrology_handle (输入控制) metrology_model → HMetrologyModel, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
计量模型的句柄。
IndexIndexIndexIndexindexindex (输入控制) integer(-array) → HTupleMaybeSequence[Union[str, int]]HTupleHtuple (string / integer) (string / int / long) (HString / Hlong) (char* / Hlong)
Index of the metrology objects.
默认值:
'all'
"all"
"all"
"all"
"all"
"all"
建议值:
'all'"all""all""all""all""all", 0, 1, 2
GenParamNameGenParamNameGenParamNameGenParamNamegenParamNamegen_param_name (输入控制) attribute.name-array → HTupleSequence[str]HTupleHtuple (string) (string) (HString) (char*)
通用参数的名称。
默认值:
'fuzzy_thresh'
"fuzzy_thresh"
"fuzzy_thresh"
"fuzzy_thresh"
"fuzzy_thresh"
"fuzzy_thresh"
值列表:
'function_contrast'"function_contrast""function_contrast""function_contrast""function_contrast""function_contrast", 'function_position'"function_position""function_position""function_position""function_position""function_position", 'fuzzy_thresh'"fuzzy_thresh""fuzzy_thresh""fuzzy_thresh""fuzzy_thresh""fuzzy_thresh"
GenParamValueGenParamValueGenParamValueGenParamValuegenParamValuegen_param_value (输出控制) attribute.value-array → HTupleSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
通用参数的值。
结果
如果参数有效,算子
get_metrology_object_fuzzy_paramget_metrology_object_fuzzy_paramGetMetrologyObjectFuzzyParamGetMetrologyObjectFuzzyParamGetMetrologyObjectFuzzyParamget_metrology_object_fuzzy_param 返回值 2 ( H_MSG_TRUE )。如有必要,则抛出异常。
可能的前趋
get_metrology_object_indicesget_metrology_object_indicesGetMetrologyObjectIndicesGetMetrologyObjectIndicesGetMetrologyObjectIndicesget_metrology_object_indices,
set_metrology_object_fuzzy_paramset_metrology_object_fuzzy_paramSetMetrologyObjectFuzzyParamSetMetrologyObjectFuzzyParamSetMetrologyObjectFuzzyParamset_metrology_object_fuzzy_param
可能的后继
set_metrology_object_fuzzy_paramset_metrology_object_fuzzy_paramSetMetrologyObjectFuzzyParamSetMetrologyObjectFuzzyParamSetMetrologyObjectFuzzyParamset_metrology_object_fuzzy_param
另见
get_metrology_object_paramget_metrology_object_paramGetMetrologyObjectParamGetMetrologyObjectParamGetMetrologyObjectParamget_metrology_object_param
模块
二维计量