write_shape_modelT_write_shape_modelWriteShapeModelWriteShapeModel (Operator)
Name
write_shape_modelT_write_shape_modelWriteShapeModelWriteShapeModel
— Write a shape model to a file.
Signature
Description
The operator write_shape_modelwrite_shape_modelWriteShapeModelWriteShapeModelWriteShapeModel
writes a shape model to the
file FileNameFileNameFileNameFileNamefileName
. The model can be read again with
read_shape_modelread_shape_modelReadShapeModelReadShapeModelReadShapeModel
. The default HALCON file extension for
the shape model is 'shm'.
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) shape_model →
HShapeModel, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of the model.
FileNameFileNameFileNameFileNamefileName
(input_control) filename.write →
HTupleHTupleHtuple (string) (string) (HString) (char*)
File name.
File extension: .shm
Result
If the file name is valid (write permission), the operator
write_shape_modelwrite_shape_modelWriteShapeModelWriteShapeModelWriteShapeModel
returns the value 2 (H_MSG_TRUE). If necessary an
exception is raised.
Possible Predecessors
create_shape_modelcreate_shape_modelCreateShapeModelCreateShapeModelCreateShapeModel
,
create_scaled_shape_modelcreate_scaled_shape_modelCreateScaledShapeModelCreateScaledShapeModelCreateScaledShapeModel
,
create_aniso_shape_modelcreate_aniso_shape_modelCreateAnisoShapeModelCreateAnisoShapeModelCreateAnisoShapeModel
Module
Matching