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, bool VERBOSE) |
| 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::log10(), itpp::max_index(), itpp::min_index(), itpp::randi(), itpp::sqr(), and itpp::sum(). |
Generated on Fri Jan 11 08:51:41 2008 for IT++ by Doxygen 1.3.9.1