IT++ Logo
Classes | Functions
Source Coding Routines
Source Coding Module

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

ITPP_EXPORT mat itpp::vqtrain (Array< vec > &DB, int SIZE, int NOITER, double STARTSTEP=0.2, bool VERBOSE=true)
 Function for vector quantization training.
 

Detailed Description

Function Documentation

ITPP_EXPORT mat itpp::vqtrain ( Array< vec > &  DB,
int  SIZE,
int  NOITER,
double  STARTSTEP = 0.2,
bool  VERBOSE = true 
)

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);
SourceForge Logo

Generated on Sat Jul 6 2013 10:54:29 for IT++ by Doxygen 1.8.2