Operator Reference
write_training_components (Operator)
write_training_components
— Write a component training result to a file.
Warning
write_training_components
is obsolete and is only provided for
reasons of backward compatibility.
The operator will be removed with HALCON 26.11.
Signature
write_training_components( : : ComponentTrainingID, FileName : )
Description
The operator write_training_components
writes the component
training result ComponentTrainingID
to the file
FileName
. The training result can be read again with
read_training_components
.
The default HALCON file extension for the component training result
is 'ct'.
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
ComponentTrainingID
(input_control) component_training →
(handle)
Handle of the training result.
FileName
(input_control) filename.write →
(string)
File name.
File extension:
.ct
Result
If the file name is valid (write permission), the operator
write_training_components
returns the value 2 (
H_MSG_TRUE)
.
If necessary, an exception is raised.
Module
Matching