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
37namespace itpp
38{
39
43ITPP_EXPORT mat kmeans(Array<vec> &DB, int SIZE, int NOITER = 9999, bool VERBOSE = true);
45ITPP_EXPORT mat lbg(Array<vec> &DB, int SIZE, int NOITER = 9999, bool VERBOSE = true);
46
66ITPP_EXPORT mat vqtrain(Array<vec> &DB, int SIZE, int NOITER, double STARTSTEP = 0.2, bool VERBOSE = true);
67
69ITPP_EXPORT vec sqtrain(const vec &inDB, int SIZE);
70
72ITPP_EXPORT ivec bitalloc(const vec& variances, int nobits);
73
74} // namespace itpp
75
76#endif // #ifndef VQTRAIN_H
Definition of Array class (container)
General array class.
Definition array.h:105
ITPP_EXPORT mat vqtrain(Array< vec > &DB, int SIZE, int NOITER, double STARTSTEP=0.2, bool VERBOSE=true)
Function for vector quantization training.
Matrix Class Definitions.
itpp namespace
Definition itmex.h:37
ITPP_EXPORT mat lbg(Array< vec > &DB, int SIZE, int NOITER=9999, bool VERBOSE=true)
ADD DOCUMENTATION HERE.
ITPP_EXPORT double kmeansiter(Array< vec > &DB, mat &codebook)
ADD DOCUMENTATION HERE.
ITPP_EXPORT mat kmeans(Array< vec > &DB, int SIZE, int NOITER=9999, bool VERBOSE=true)
ADD DOCUMENTATION HERE.
ITPP_EXPORT ivec bitalloc(const vec &variances, int nobits)
ADD DOCUMENTATION HERE.
ITPP_EXPORT vec sqtrain(const vec &inDB, int SIZE)
ADD DOCUMENTATION HERE.
Templated Vector Class Definitions.
SourceForge Logo

Generated on Mon Jun 10 2024 11:49:25 for IT++ by Doxygen 1.9.8