write_variation_modelT_write_variation_modelWriteVariationModelWriteVariationModel (Operator)
Name
write_variation_modelT_write_variation_modelWriteVariationModelWriteVariationModel
— Write a variation model to a file.
Signature
Herror T_write_variation_model(const Htuple ModelID, const Htuple FileName)
Description
write_variation_modelwrite_variation_modelWriteVariationModelWriteVariationModelWriteVariationModel
writes a variation model to the file
FileNameFileNameFileNameFileNamefileName
. The model can be read with
read_variation_modelread_variation_modelReadVariationModelReadVariationModelReadVariationModel
. 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
ModelIDModelIDModelIDModelIDmodelID
(input_control) variation_model →
HVariationModel, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
ID of the variation model.
FileNameFileNameFileNameFileNamefileName
(input_control) filename.write →
HTupleHTupleHtuple (string) (string) (HString) (char*)
File name.
File extension: .vam
Result
If the file name is valid (write permission), the operator
write_variation_modelwrite_variation_modelWriteVariationModelWriteVariationModelWriteVariationModel
returns 2 (H_MSG_TRUE). If necessary an
exception is raised.
Possible Predecessors
train_variation_modeltrain_variation_modelTrainVariationModelTrainVariationModelTrainVariationModel
See also
read_variation_modelread_variation_modelReadVariationModelReadVariationModelReadVariationModel
Module
Matching