IT++
4.3.1
Toggle main menu visibility
itpp
srccode
vqtrain.h
Go to the documentation of this file.
1
28
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
array.h
Definition of Array class (container).
itpp::Array
General array class.
Definition
array.h:105
itpp::vqtrain
ITPP_EXPORT mat vqtrain(Array< vec > &DB, int SIZE, int NOITER, double STARTSTEP=0.2, bool VERBOSE=true)
Function for vector quantization training.
mat.h
Matrix Class Definitions.
itpp
itpp namespace
Definition
itmex.h:37
itpp::lbg
ITPP_EXPORT mat lbg(Array< vec > &DB, int SIZE, int NOITER=9999, bool VERBOSE=true)
ADD DOCUMENTATION HERE.
itpp::kmeansiter
ITPP_EXPORT double kmeansiter(Array< vec > &DB, mat &codebook)
ADD DOCUMENTATION HERE.
itpp::kmeans
ITPP_EXPORT mat kmeans(Array< vec > &DB, int SIZE, int NOITER=9999, bool VERBOSE=true)
ADD DOCUMENTATION HERE.
itpp::bitalloc
ITPP_EXPORT ivec bitalloc(const vec &variances, int nobits)
ADD DOCUMENTATION HERE.
itpp::sqtrain
ITPP_EXPORT vec sqtrain(const vec &inDB, int SIZE)
ADD DOCUMENTATION HERE.
vec.h
Templated Vector Class Definitions.
Generated by
1.17.0