Operator Reference
deserialize_class_box (Operator)
deserialize_class_box
— Deserialize a serialized classifier.
Warning
deserialize_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
deserialize_class_box( : : ClassifHandle, SerializedItemHandle : )
Description
deserialize_class_box
deserializes a classifier, that was serialized
by serialize_class_box
(see fwrite_serialized_item
for an
introduction of the basic principle of serialization). The serialized
classifier is defined by the handle SerializedItemHandle
.
The values of the current classifier, defined by the handle
ClassifHandle
, are overwritten.
Attention
All values of the classifier are going to be overwritten.
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.
SerializedItemHandle
(input_control) serialized_item →
(handle)
Handle of the serialized item.
Result
If the parameters are valid, the operator
deserialize_class_box
returns the value 2 (
H_MSG_TRUE)
. If
necessary, an exception is raised.
Possible Predecessors
fread_serialized_item
,
receive_serialized_item
,
serialize_class_box
,
create_class_box
Possible Successors
test_sampset_box
,
enquire_class_box
,
write_class_box
,
close_class_box
,
clear_sampset
See also
create_class_box
,
serialize_class_box
Module
Foundation