Operator Reference
clear_sampset (Operator)
clear_sampset
— Free memory of a data set.
Warning
clear_sampset
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
clear_sampset( : : SampKey : )
Description
clear_sampset
frees the memory which was used for training
data set having read by read_sampset
. This memory is only
reusable in combination with read_sampset
.
Execution Information
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
This operator modifies the state of the following input parameter:
During execution of this operator, access to the value of this parameter must be synchronized if it is used across multiple threads.
Parameters
SampKey
(input_control, state is modified) feature_set →
(handle)
Number of the data set.
Result
clear_sampset
returns 2 (
H_MSG_TRUE)
.
An exception is raised if the key SampKey
does not exist.
Possible Predecessors
create_class_box
,
enquire_class_box
,
learn_class_box
,
write_class_box
See also
test_sampset_box
,
learn_sampset_box
,
read_sampset
Module
Foundation