write_class_gmmT_write_class_gmmWriteClassGmmWriteClassGmmwrite_class_gmm (Operator)
Name
write_class_gmmT_write_class_gmmWriteClassGmmWriteClassGmmwrite_class_gmm
— Write a Gaussian Mixture Model to a file.
Signature
Description
write_class_gmmwrite_class_gmmWriteClassGmmWriteClassGmmWriteClassGmmwrite_class_gmm
writes the Gaussian Mixture Model (GMM)
GMMHandleGMMHandleGMMHandleGMMHandleGMMHandlegmmhandle
to the file given by FileNameFileNameFileNameFileNamefileNamefile_name
.
The default HALCON file extension for the GMM classifier is 'ggc'.
write_class_gmmwrite_class_gmmWriteClassGmmWriteClassGmmWriteClassGmmwrite_class_gmm
is typically called after the GMM has been
trained with train_class_gmmtrain_class_gmmTrainClassGmmTrainClassGmmTrainClassGmmtrain_class_gmm
. The GMM can be read with
read_class_gmmread_class_gmmReadClassGmmReadClassGmmReadClassGmmread_class_gmm
. write_class_gmmwrite_class_gmmWriteClassGmmWriteClassGmmWriteClassGmmwrite_class_gmm
does not
write any training samples that possibly have been stored in the
GMM. For this purpose, write_samples_class_gmmwrite_samples_class_gmmWriteSamplesClassGmmWriteSamplesClassGmmWriteSamplesClassGmmwrite_samples_class_gmm
should be
used.
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
GMMHandleGMMHandleGMMHandleGMMHandleGMMHandlegmmhandle
(input_control) class_gmm →
HClassGmm, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
GMM handle.
FileNameFileNameFileNameFileNamefileNamefile_name
(input_control) filename.write →
HTuplestrHTupleHtuple (string) (string) (HString) (char*)
File name.
File extension: .ggc
Result
If the parameters are valid, the operator write_class_gmmwrite_class_gmmWriteClassGmmWriteClassGmmWriteClassGmmwrite_class_gmm
returns the value TRUE. If necessary an exception is
raised.
Possible Predecessors
train_class_gmmtrain_class_gmmTrainClassGmmTrainClassGmmTrainClassGmmtrain_class_gmm
Possible Successors
clear_class_gmmclear_class_gmmClearClassGmmClearClassGmmClearClassGmmclear_class_gmm
See also
create_class_gmmcreate_class_gmmCreateClassGmmCreateClassGmmCreateClassGmmcreate_class_gmm
,
read_class_gmmread_class_gmmReadClassGmmReadClassGmmReadClassGmmread_class_gmm
,
write_samples_class_gmmwrite_samples_class_gmmWriteSamplesClassGmmWriteSamplesClassGmmWriteSamplesClassGmmwrite_samples_class_gmm
Module
Foundation