IT++ Logo
vqtrain.h
Go to the documentation of this file.
1 
29 #ifndef VQTRAIN_H
30 #define VQTRAIN_H
31 
32 #include <itpp/base/vec.h>
33 #include <itpp/base/mat.h>
34 #include <itpp/base/array.h>
35 #include <itpp/itexports.h>
36 
37 namespace itpp
38 {
39 
41 ITPP_EXPORT double kmeansiter(Array<vec> &DB, mat &codebook);
43 ITPP_EXPORT mat kmeans(Array<vec> &DB, int SIZE, int NOITER = 9999, bool VERBOSE = true);
45 ITPP_EXPORT mat lbg(Array<vec> &DB, int SIZE, int NOITER = 9999, bool VERBOSE = true);
46 
66 ITPP_EXPORT mat vqtrain(Array<vec> &DB, int SIZE, int NOITER, double STARTSTEP = 0.2, bool VERBOSE = true);
67 
69 ITPP_EXPORT vec sqtrain(const vec &inDB, int SIZE);
70 
72 ITPP_EXPORT ivec bitalloc(const vec& variances, int nobits);
73 
74 } // namespace itpp
75 
76 #endif // #ifndef VQTRAIN_H
SourceForge Logo

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