Classes | |
| class | itpp::GMM |
| Gaussian Mixture Model Class. More... | |
| class | itpp::Vector_Quantizer |
| Class for vector quantization. More... | |
| class | itpp::Scalar_Quantizer |
| Class for vector quantization. More... | |
Functions | |
| mat | itpp::vqtrain (Array< vec > &DB, int SIZE, int NOITER, double STARTSTEP=0.2, bool VERBOSE=true) |
| Function for vector quantization training. | |
|
||||||||||||||||||||||||
|
Function for vector quantization training. The following code illustrates how the VQ can be trained.
VQ Quantizer;
mat A;
Array<vec> database;
// read vectors into database somehow
...
// train a vq
A = vqtrain(database, 1024, 1000000);
Quantizer.set_codebook(A);
Definition at line 158 of file vqtrain.cpp. References itpp::Array< T >::length(), and itpp::randi(). Referenced by itpp::gmmtrain(). |
Generated on Thu Apr 19 14:19:59 2007 for IT++ by Doxygen 1.4.6