write_variation_modelT_write_variation_modelWriteVariationModelWriteVariationModelwrite_variation_model (Operator)
Name
write_variation_modelT_write_variation_modelWriteVariationModelWriteVariationModelwrite_variation_model
— Write a variation model to a file.
Signature
Herror T_write_variation_model(const Htuple ModelID, const Htuple FileName)
Description
write_variation_modelwrite_variation_modelWriteVariationModelWriteVariationModelwrite_variation_model
writes a variation model to the file
FileNameFileNameFileNamefileNamefile_name
. The model can be read with
read_variation_modelread_variation_modelReadVariationModelReadVariationModelread_variation_model
. The default HALCON file extension for a
variation model is 'vam'.
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
ModelIDModelIDModelIDmodelIDmodel_id
(input_control) variation_model →
HVariationModel, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
ID of the variation model.
FileNameFileNameFileNamefileNamefile_name
(input_control) filename.write →
HTuplestrHTupleHtuple (string) (string) (HString) (char*)
File name.
File extension:
.vam
Result
If the file name is valid (write permission), the operator
write_variation_modelwrite_variation_modelWriteVariationModelWriteVariationModelwrite_variation_model
returns 2 (
H_MSG_TRUE)
. If necessary an
exception is raised.
Possible Predecessors
train_variation_modeltrain_variation_modelTrainVariationModelTrainVariationModeltrain_variation_model
See also
read_variation_modelread_variation_modelReadVariationModelReadVariationModelread_variation_model
Module
Matching