get_metrology_model_paramT_get_metrology_model_paramGetMetrologyModelParamGetMetrologyModelParamget_metrology_model_param (算子)
名称
get_metrology_model_paramT_get_metrology_model_paramGetMetrologyModelParamGetMetrologyModelParamget_metrology_model_param — 获取对整个计量模型有效的参数。
签名
描述
get_metrology_model_paramget_metrology_model_paramGetMetrologyModelParamGetMetrologyModelParamGetMetrologyModelParamget_metrology_model_param queries parameters that are
valid for the entire metrology model.
有关二维计量概念的说明,请参阅 二维计量 一章的引言。
The metrology model is defined by
the handle MetrologyHandleMetrologyHandleMetrologyHandleMetrologyHandlemetrologyHandlemetrology_handle。
The following generic parameter names for GenParamNameGenParamNameGenParamNameGenParamNamegenParamNamegen_param_name
are possible:
- 'camera_param'"camera_param""camera_param""camera_param""camera_param""camera_param":
-
The internal
camera parameters that are set for the metrology model.
- 'plane_pose'"plane_pose""plane_pose""plane_pose""plane_pose""plane_pose":
-
The 3D pose of the
measurement plane that is set for the metrology model. The 3D pose is
given in camera coordinates.
- 'reference_system'"reference_system""reference_system""reference_system""reference_system""reference_system":
-
The rotation and translation of the current
reference coordinate system with respect to the image coordinate system.
The tuple returned in GenParamValueGenParamValueGenParamValueGenParamValuegenParamValuegen_param_value contains [row, column, angle].
- 'scale'"scale""scale""scale""scale""scale":
-
The scaling factor or
unit of the results of the measurement returned by
get_metrology_object_resultget_metrology_object_resultGetMetrologyObjectResultGetMetrologyObjectResultGetMetrologyObjectResultget_metrology_object_result。
执行信息
- 多线程类型:可重入(与非独占算子并行运行)。
- 多线程作用域:全局(可从任何线程调用)。
- 未采用并行化处理。
参数
MetrologyHandleMetrologyHandleMetrologyHandleMetrologyHandlemetrologyHandlemetrology_handle (输入控制) metrology_model → HMetrologyModel, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
计量模型的句柄。
GenParamNameGenParamNameGenParamNameGenParamNamegenParamNamegen_param_name (输入控制) attribute.name → HTuplestrHTupleHtuple (string) (string) (HString) (char*)
Name of the generic parameter.
默认值:
'camera_param'
"camera_param"
"camera_param"
"camera_param"
"camera_param"
"camera_param"
值列表:
'camera_param'"camera_param""camera_param""camera_param""camera_param""camera_param", 'plane_pose'"plane_pose""plane_pose""plane_pose""plane_pose""plane_pose", 'reference_system'"reference_system""reference_system""reference_system""reference_system""reference_system", 'scale'"scale""scale""scale""scale""scale"
GenParamValueGenParamValueGenParamValueGenParamValuegenParamValuegen_param_value (输出控制) attribute.value(-array) → HTupleSequence[Union[str, float, int]]HTupleHtuple (string / real / integer) (string / double / int / long) (HString / double / Hlong) (char* / double / Hlong)
Value of the generic parameter.
结果
如果参数有效,算子
get_metrology_model_paramget_metrology_model_paramGetMetrologyModelParamGetMetrologyModelParamGetMetrologyModelParamget_metrology_model_param 返回值 2 ( H_MSG_TRUE )。如有必要,则抛出异常。
可能的前趋
get_metrology_object_indicesget_metrology_object_indicesGetMetrologyObjectIndicesGetMetrologyObjectIndicesGetMetrologyObjectIndicesget_metrology_object_indices,
set_metrology_model_paramset_metrology_model_paramSetMetrologyModelParamSetMetrologyModelParamSetMetrologyModelParamset_metrology_model_param
可能的后继
get_metrology_object_paramget_metrology_object_paramGetMetrologyObjectParamGetMetrologyObjectParamGetMetrologyObjectParamget_metrology_object_param
另见
get_metrology_object_paramget_metrology_object_paramGetMetrologyObjectParamGetMetrologyObjectParamGetMetrologyObjectParamget_metrology_object_param,
get_metrology_object_num_instancesget_metrology_object_num_instancesGetMetrologyObjectNumInstancesGetMetrologyObjectNumInstancesGetMetrologyObjectNumInstancesget_metrology_object_num_instances
模块
二维计量