get_ncc_model_paramsT_get_ncc_model_paramsGetNccModelParamsGetNccModelParamsget_ncc_model_params (算子名称)
名称
get_ncc_model_paramsT_get_ncc_model_paramsGetNccModelParamsGetNccModelParamsget_ncc_model_params
— Return the parameters of an NCC model.
参数签名
def get_ncc_model_params(model_id: HHandle) -> Tuple[int, float, float, float, str]
描述
The operator get_ncc_model_paramsget_ncc_model_paramsGetNccModelParamsGetNccModelParamsGetNccModelParamsget_ncc_model_params
returns the parameters of
the NCC model ModelIDModelIDModelIDModelIDmodelIDmodel_id
that were used to create it using
create_ncc_modelcreate_ncc_modelCreateNccModelCreateNccModelCreateNccModelcreate_ncc_model
. In particular, this output can be used to
check the parameters NumLevelsNumLevelsNumLevelsNumLevelsnumLevelsnum_levels
and AngleStepAngleStepAngleStepAngleStepangleStepangle_step
if
they were determined automatically during the model creation with
create_ncc_modelcreate_ncc_modelCreateNccModelCreateNccModelCreateNccModelcreate_ncc_model
. Furthermore, this output can be used to
check the parameters if the model was read with
read_ncc_modelread_ncc_modelReadNccModelReadNccModelReadNccModelread_ncc_model
.
运行信息
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
参数表
ModelIDModelIDModelIDModelIDmodelIDmodel_id
(input_control) ncc_model →
HNCCModel, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of the model.
NumLevelsNumLevelsNumLevelsNumLevelsnumLevelsnum_levels
(output_control) integer →
HTupleintHTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Number of pyramid levels.
AngleStartAngleStartAngleStartAngleStartangleStartangle_start
(output_control) angle.rad →
HTuplefloatHTupleHtuple (real) (double) (double) (double)
Smallest rotation of the pattern.
AngleExtentAngleExtentAngleExtentAngleExtentangleExtentangle_extent
(output_control) angle.rad →
HTuplefloatHTupleHtuple (real) (double) (double) (double)
Extent of the rotation angles.
Assertion:
AngleExtent >= 0
AngleStepAngleStepAngleStepAngleStepangleStepangle_step
(output_control) angle.rad →
HTuplefloatHTupleHtuple (real) (double) (double) (double)
Step length of the angles (resolution).
Assertion:
AngleStep >= 0
MetricMetricMetricMetricmetricmetric
(output_control) string →
HTuplestrHTupleHtuple (string) (string) (HString) (char*)
Match metric.
结果
If the handle of the model is valid, the operator
get_ncc_model_paramsget_ncc_model_paramsGetNccModelParamsGetNccModelParamsGetNccModelParamsget_ncc_model_params
returns the value 2 (
H_MSG_TRUE)
. If necessary
an exception is raised.
可能的前置算子
create_ncc_modelcreate_ncc_modelCreateNccModelCreateNccModelCreateNccModelcreate_ncc_model
,
read_ncc_modelread_ncc_modelReadNccModelReadNccModelReadNccModelread_ncc_model
参考其它
find_ncc_modelfind_ncc_modelFindNccModelFindNccModelFindNccModelfind_ncc_model
模块
Matching