HALCON Reference Manual 10.0.2
Table of Contents / Identification / Data Code ClassesClassesClasses | | | Operators

get_data_code_2d_paramget_data_code_2d_paramget_data_code_2d_paramGetDataCode2dParamGetDataCode2dParam (Operator)

Name

get_data_code_2d_paramget_data_code_2d_paramget_data_code_2d_paramGetDataCode2dParamGetDataCode2dParam — Get one or several parameters that describe the 2D data code model.

Signature

get_data_code_2d_param( : : DataCodeHandle, GenParamNames : GenParamValues)

Herror get_data_code_2d_param(const Hlong DataCodeHandle, const char* GenParamNames, char* GenParamValues)

Herror T_get_data_code_2d_param(const Htuple DataCodeHandle, const Htuple GenParamNames, Htuple* GenParamValues)

Herror get_data_code_2d_param(const HTuple& DataCodeHandle, const HTuple& GenParamNames, char* GenParamValues)

Herror get_data_code_2d_param(const HTuple& DataCodeHandle, const HTuple& GenParamNames, HTuple* GenParamValues)

HTuple HDataCode2D::GetDataCode2dParam(const HTuple& GenParamNames) const

void HOperatorSetX.GetDataCode2dParam(
[in] VARIANT DataCodeHandle, [in] VARIANT GenParamNames, [out] VARIANT* GenParamValues)

VARIANT HDataCode2DX.GetDataCode2dParam([in] VARIANT GenParamNames)

static void HOperatorSet.GetDataCode2dParam(HTuple dataCodeHandle, HTuple genParamNames, out HTuple genParamValues)

HTuple HDataCode2D.GetDataCode2dParam(HTuple genParamNames)

HTuple HDataCode2D.GetDataCode2dParam(string genParamNames)

Description

The operator get_data_code_2d_paramget_data_code_2d_paramget_data_code_2d_paramGetDataCode2dParamGetDataCode2dParam allows to query the parameters that are used to describe the 2D data code model. The names of the desired parameters are passed in the generic parameter GenParamNamesGenParamNamesGenParamNamesGenParamNamesgenParamNames, the corresponding values are returned in GenParamValuesGenParamValuesGenParamValuesGenParamValuesgenParamValues. All these parameters can be set and changed at any time with the operator set_data_code_2d_paramset_data_code_2d_paramset_data_code_2d_paramSetDataCode2dParamSetDataCode2dParam. A list with the names of all parameters that are valid for the used 2D data code type is returned by the operator query_data_code_2d_paramsquery_data_code_2d_paramsquery_data_code_2d_paramsQueryDataCode2dParamsQueryDataCode2dParams.

The following parameters can be queried - ordered by different categories and data code types:

Size and shape of the symbol:

Appearance of the modules in the image:

General model behavior:

It is possible to query the values of several or all parameters with a single operator call by passing a tuple containing the names of all desired parameters to GenParamNamesGenParamNamesGenParamNamesGenParamNamesgenParamNames. As a result a tuple of the same length with the corresponding values is returned in GenParamValuesGenParamValuesGenParamValuesGenParamValuesgenParamValues.

Parallelization

Parameters

DataCodeHandleDataCodeHandleDataCodeHandleDataCodeHandledataCodeHandle (input_control)  datacode_2d HDataCode2D, HTupleHDataCode2D, HTupleHDataCode2DX, VARIANTHtuple (integer) (IntPtr) (Hlong) (Hlong) (Hlong)

Handle of the 2D data code model.

GenParamNamesGenParamNamesGenParamNamesGenParamNamesgenParamNames (input_control)  attribute.name(-array) HTupleHTupleVARIANTHtuple (string) (string) (char*) (BSTR) (char*)

Names of the generic parameters that are to be queried for the 2D data code model.

Default value: 'contrast_min' "contrast_min" "contrast_min" "contrast_min" "contrast_min"

List of values: 'strict_model'"strict_model""strict_model""strict_model""strict_model", 'persistence'"persistence""persistence""persistence""persistence", 'polarity'"polarity""polarity""polarity""polarity", 'mirrored'"mirrored""mirrored""mirrored""mirrored", 'contrast_min'"contrast_min""contrast_min""contrast_min""contrast_min", 'model_type'"model_type""model_type""model_type""model_type", 'version_min'"version_min""version_min""version_min""version_min", 'version_max'"version_max""version_max""version_max""version_max", 'symbol_size_min'"symbol_size_min""symbol_size_min""symbol_size_min""symbol_size_min", 'symbol_size_max'"symbol_size_max""symbol_size_max""symbol_size_max""symbol_size_max", 'symbol_cols_min'"symbol_cols_min""symbol_cols_min""symbol_cols_min""symbol_cols_min", 'symbol_cols_max'"symbol_cols_max""symbol_cols_max""symbol_cols_max""symbol_cols_max", 'symbol_rows_min'"symbol_rows_min""symbol_rows_min""symbol_rows_min""symbol_rows_min", 'symbol_rows_max'"symbol_rows_max""symbol_rows_max""symbol_rows_max""symbol_rows_max", 'symbol_shape'"symbol_shape""symbol_shape""symbol_shape""symbol_shape", 'module_size_min'"module_size_min""module_size_min""module_size_min""module_size_min", 'module_size_max'"module_size_max""module_size_max""module_size_max""module_size_max", 'module_width_min'"module_width_min""module_width_min""module_width_min""module_width_min", 'module_width_max'"module_width_max""module_width_max""module_width_max""module_width_max", 'small_modules_robustness'"small_modules_robustness""small_modules_robustness""small_modules_robustness""small_modules_robustness", 'module_aspect_min'"module_aspect_min""module_aspect_min""module_aspect_min""module_aspect_min", 'module_aspect_max'"module_aspect_max""module_aspect_max""module_aspect_max""module_aspect_max", 'module_gap_col_min'"module_gap_col_min""module_gap_col_min""module_gap_col_min""module_gap_col_min", 'module_gap_col_max'"module_gap_col_max""module_gap_col_max""module_gap_col_max""module_gap_col_max", 'module_gap_row_min'"module_gap_row_min""module_gap_row_min""module_gap_row_min""module_gap_row_min", 'module_gap_row_max'"module_gap_row_max""module_gap_row_max""module_gap_row_max""module_gap_row_max", 'slant_max'"slant_max""slant_max""slant_max""slant_max", 'module_grid'"module_grid""module_grid""module_grid""module_grid", 'position_pattern_min'"position_pattern_min""position_pattern_min""position_pattern_min""position_pattern_min", 'finder_pattern_tolerance'"finder_pattern_tolerance""finder_pattern_tolerance""finder_pattern_tolerance""finder_pattern_tolerance"

GenParamValuesGenParamValuesGenParamValuesGenParamValuesgenParamValues (output_control)  attribute.value(-array) HTupleHTupleVARIANTHtuple (string / integer / real) (string / int / long / double) (char* / Hlong / double) (BSTR / Hlong / double) (char* / Hlong / double)

Values of the generic parameters.

Result

The operator get_data_code_2d_paramget_data_code_2d_paramget_data_code_2d_paramGetDataCode2dParamGetDataCode2dParam returns the value 2 (H_MSG_TRUE) if the given parameters are correct. Otherwise, an exception will be raised.

Possible Predecessors

query_data_code_2d_paramsquery_data_code_2d_paramsquery_data_code_2d_paramsQueryDataCode2dParamsQueryDataCode2dParams, set_data_code_2d_paramset_data_code_2d_paramset_data_code_2d_paramSetDataCode2dParamSetDataCode2dParam, find_data_code_2dfind_data_code_2dfind_data_code_2dFindDataCode2dFindDataCode2d

Possible Successors

find_data_code_2dfind_data_code_2dfind_data_code_2dFindDataCode2dFindDataCode2d, write_data_code_2d_modelwrite_data_code_2d_modelwrite_data_code_2d_modelWriteDataCode2dModelWriteDataCode2dModel

Alternatives

write_data_code_2d_modelwrite_data_code_2d_modelwrite_data_code_2d_modelWriteDataCode2dModelWriteDataCode2dModel

See also

query_data_code_2d_paramsquery_data_code_2d_paramsquery_data_code_2d_paramsQueryDataCode2dParamsQueryDataCode2dParams, set_data_code_2d_paramset_data_code_2d_paramset_data_code_2d_paramSetDataCode2dParamSetDataCode2dParam, get_data_code_2d_resultsget_data_code_2d_resultsget_data_code_2d_resultsGetDataCode2dResultsGetDataCode2dResults, get_data_code_2d_objectsget_data_code_2d_objectsget_data_code_2d_objectsGetDataCode2dObjectsGetDataCode2dObjects, find_data_code_2dfind_data_code_2dfind_data_code_2dFindDataCode2dFindDataCode2d

Module

Data Code


Table of Contents / Identification / Data Code ClassesClassesClasses | | | Operators
HALCON Reference Manual 10.0.2 Copyright © 1996-2011 MVTec Software GmbH