Operator Reference
enquire_class_box (Operator)
enquire_class_box
— Classify a tuple of attributes.
Warning
enquire_class_box
is obsolete and is only provided for
reasons of backward compatibility. New applications should use the
MLP, SVM, KNN or GMM operators instead. The operator will be removed with
HALCON 25.11.
Signature
enquire_class_box( : : ClassifHandle, FeatureList : Class)
Description
FeatureList
is a tuple of any floating point- or integer numbers
(attributes) which has to be assigned to a class with assistance of a
previous trained (learn_class_box
) classifier. It is possible to
specify attributes as unknown by indicating the symbol '*'
instead of a number. If you specify n values, then all following values,
i.e. the attributes n+1 until 'max', are automatically supposed to be
undefined.
See learn_class_box
for more details about the functionality
of the classifier.
You may call the operators learn_class_box
and
enquire_class_box
alternately, so that it is possible to classify
already in the phase of learning. This means you could see when a
satisfying behavior had been reached.
Execution Information
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Parameters
ClassifHandle
(input_control) class_box →
(handle)
Handle of the classifier.
FeatureList
(input_control) real-array →
(real / integer / string)
Array of attributes which has to be classified.
Default: 1.0
Class
(output_control) integer →
(integer)
Number of the class to which the array of attributes had been assigned.
Result
enquire_class_box
returns 2 (
H_MSG_TRUE)
.
Possible Predecessors
create_class_box
,
learn_class_box
,
set_class_box_param
Possible Successors
learn_class_box
,
write_class_box
,
close_class_box
Alternatives
See also
test_sampset_box
,
learn_class_box
,
learn_sampset_box
Module
Foundation