get_param_info
— Get information concerning the operator parameters.
get_param_info( : : OperatorName, ParamName, Slot : Information)
The operator get_param_info
is used for calling up the
online-texts assigned to a parameter of an indicated operator. The
form of information available for each parameter (Slot
),
can be called up by using the operator query_param_info
.
Possible slots are given in the list below.
For a more extensive description of the entries and their possible
values we refer to the “Extension Package Programmer’s Manual”
.
Description of the parameter.
Parameter classes.
'input_object'
'output_object'
'input_control'
'output_control'
Permitted type(s) of data for parameter values.
Default-type for parameter values (for control parameters only). This type of parameter is the one HALCON/C uses in the “simple mode”. If 'none' is indicated, the “tuple mode” must be used.
Semantic type of the parameter. This is important to allow the assignment of the parameters to object classes in object-oriented languages (C++, .NET, COM). If more than one parameter belongs semantically to one type, this fact is indicated as well.
Default value for the parameter (for input control parameters only). It is the question of mere information only (the parameter value must be transmitted explicitly, even if the default value is used). This entry serves only as a notice, a point of departure for own experiments. The values have been selected so that they normally do not cause any errors but generate something that makes sense.
'true' , if the operator modifies this input parameter.
'true' , if an array of values must be passed,
'false' , if exactly one value must be passed, and
'optional' allows both.
'true' , in case the input image object may be multichannel.
'true' , if an array of semantic tuples (e.g., poses, camera parameters, etc.) must be passed,
'false' , if exactly one semantic tuple must be passed, and
'optional' allows both.
For control parameters exclusively and only if value tuples
('multivalue' -'true' /'optional' ) and various
types of data are permitted for the parameter values
('type_list' having more than one value).
In this case Slot
indicates, whether values of various
types may be mixed in one tuple ('true' or 'false' ).
Selection of values (optional).
In case a parameter can take only a limited number of values, this fact will be indicated explicitly (optional).
Minimum value of a value interval.
Maximum value of a value interval.
Function describing the course of the values for a series of tests (lin, log, quadr, ...).
Recommended step width for the parameter values in a series of tests.
Minimum step width of the parameter values in a series of tests.
Expression describing the number of parameters as such or in relation to other parameters.
Expression describing the parameter values as such or in relation to other parameters.
List of input image types the compute device implementation of the operator supports for a specific device (use 'cd_type_list.opencl' for OpenCL devices).
List of input control parameters the compute device implementation of the operator supports for a specific device (use 'cd_value_list.opencl' for OpenCL devices).
The online-texts will be taken from the files operators_[LANG].ref,
operators_[LANG].sta, operators_[LANG].key, operators_[LANG].num and
operators_[LANG].idx which will be searched by HALCON in the currently used
directory or the directory 'help_dir' (see also get_system
and
set_system
).
The encoding of the result is UTF-8.
OperatorName
(input_control) proc_name →
(string)
Name of the operator on whose parameter more information is needed.
Default: 'get_param_info'
ParamName
(input_control) string →
(string)
Name of the parameter on which more information is needed.
Default: 'Slot'
Slot
(input_control) string →
(string)
Desired information.
Default: 'description'
List of values: 'assertion' , 'cd_type_list.opencl' , 'cd_value_list.opencl' , 'default_type' , 'default_value' , 'description' , 'mixed_type' , 'modified' , 'multichannel' , 'multivalue' , 'sem_type' , 'step_min' , 'step_rec' , 'type_list' , 'value_function' , 'value_list' , 'value_max' , 'value_min' , 'value_number' , 'values'
Information
(output_control) string(-array) →
(string)
Information (empty in case there is no information available).
The operator get_param_info
returns the value 2 (
H_MSG_TRUE)
if the
parameters are correct and the helpfiles are available. Otherwise an
exception is raised.
get_param_names
,
get_param_num
,
get_param_types
query_param_info
,
get_operator_info
,
get_operator_name
Foundation