Operator Reference
enquire_reject_class_box (Operator)
enquire_reject_class_box
— Classify a tuple of attributes with rejection class.
Warning
enquire_reject_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_reject_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.
If the array of attributes cannot be assigned to a class, i.e. the array
does not reside inside of one of the hyper boxes, then in contrary to
enquire_class_box
not the next class is going to be returned,
but the rejection class -1 as a result is going to be passed.
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. By 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 or -1 for the rejection class.
Result
enquire_reject_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