Operators |
query_aop_info — Query indexing structure of AOP information for operators.
query_aop_info( : : OperatorName, IndexName, IndexValue : Name, Value)
HALCON supports a mechanism to adapt the behavior of automatic parallelization of image processing operators (AOP) to the machine's hardware capability. The information for this adaption can be obtained by the operator optimize_aop and can be partly read and modified by the operators get_aop_info and set_aop_info, respectively. To address specific AOP information the operator's optimization data is indexed within a 3-ary hierarchy that can be obtained by query_aop_info . The three hierarchy stages are indexed by the operator name, the iconic type, and a parameter string value denoting a special mode or method supported by the operator.
If an empty string '' is passed to OperatorName, the parameters IndexName and IndexValue are ignored and all operator names in Value are returned, for which optimization data is stored. Name contains the index identifier 'operator' as many times as operator names are returned. Specifying a single operator name in OperatorName and passing an empty string '' to the parameters IndexName and IndexValue queries all iconic types the operator holds optimization data for. Value contains the type strings, Name the index identifier 'iconic_type' , respectively. Finally, when specifying a certain operator in OperatorName and a specific iconic type by passing the dimension identifier 'iconic_type' to IndexName and the specific iconic type to IndexValue, Name contains the parameter index identifier Value holds the parameter string values supported by the operator. The format of the parameter identifier string is compound containing the string 'parameter' , followed by a colon separator ':' and a digit, denoting the parameter index (starting with 1). If the operator does not support any mode parameter or the operator's parameter values were not varied during optimization process of optimize_aop the string 'parameter:0' is returned for Name and Value contains an empty string. In case no AOP information is stored for the specified index, Name returns an empty string.
Operator to get information for
Default value: ''
Further specific index
Default value: ''
Suggested values: '' , 'iconic_type'
Further specific address
Number of elements: IndexName == IndexValue
Default value: ''
Suggested values: '' , 'byte' , 'int1' , 'int2' , 'uint2' , 'int4' , 'int8' , 'direction' , 'cyclic' , 'vector_field' , 'complex' , 'region' , 'xld' , 'xld_cont' , 'xld_poly'
Name of next index stage
Values of next index stage
query_aop_info returns 2 (H_MSG_TRUE) if all parameters are correct. If necessary, an exception is raised.
Foundation
Operators |