| Table of Contents / Classification / Gaussian Mixture Models | Operators |
write_samples_class_gmm — Write the training data of a Gaussian Mixture Model to a file.
write_samples_class_gmm writes the training samples stored in the Gaussian Mixture Model (GMM) GMMHandle to the file given by FileName. write_samples_class_gmm can be used to build up a database of training samples, and hence to improve the performance of the GMM by training it with an extended data set (see train_class_gmm).
The file FileName is overwritten by write_samples_class_gmm. Nevertheless, extending the database of training samples is easy because read_samples_class_gmm and add_sample_class_gmm add the training samples to the training samples that are already stored in memory with the GMM.
The created file can be read with read_samples_class_mlp if the classifier of a multilayer perceptron (MLP) should be used. The class of a training sample in the GMM corresponds to a component of the target vector in the MLP being 1.0.
GMM handle.
File name.
If the parameters are valid, the operator write_samples_class_gmm returns the value 2 (H_MSG_TRUE). If necessary an exception is raised.
create_class_gmm, read_samples_class_gmm, read_samples_class_mlp, write_samples_class_mlp
Foundation
| Table of Contents / Classification / Gaussian Mixture Models | Operators |
| HALCON Reference Manual 10.0.2 | Copyright © 1996-2011 MVTec Software GmbH |