Integer K-Means - Initialization - Definition.
More...
Functions |
static void | alloc (VlIKMFilt *f, int M, int K) |
| Helper function to allocate memory for an IKM quantizer.
|
static void | vl_ikm_init_helper (VlIKMFilt *f) |
| Helper function to initialize the quantizer.
|
void | vl_ikm_init (VlIKMFilt *f, vl_ikm_acc const *centers, int M, int K) |
| Initialize quantizer with centers.
|
void | vl_ikm_init_rand (VlIKMFilt *f, int M, int K) |
| Initialize quantizer with random centers.
|
void | vl_ikm_init_rand_data (VlIKMFilt *f, vl_uint8 const *data, int M, int N, int K) |
| Initialize with centers from random data.
|
Detailed Description
Function Documentation
static void alloc |
( |
VlIKMFilt * |
f, |
|
|
int |
M, |
|
|
int |
K |
|
) |
| |
|
static |
- Parameters:
-
f | quantizer. |
M | data dimensionality. |
K | number of clusters. |
- Parameters:
-
f | IKM quantizer. |
centers | centers. |
M | data dimensionality. |
K | number of clusters. |
static void vl_ikm_init_helper |
( |
VlIKMFilt * |
f | ) |
|
|
static |
void vl_ikm_init_rand |
( |
VlIKMFilt * |
f, |
|
|
int |
M, |
|
|
int |
K |
|
) |
| |
- Parameters:
-
f | IKM quantizer. |
M | data dimensionality. |
K | number of clusters. |
void vl_ikm_init_rand_data |
( |
VlIKMFilt * |
f, |
|
|
vl_uint8 const * |
data, |
|
|
int |
M, |
|
|
int |
N, |
|
|
int |
K |
|
) |
| |
- Parameters:
-
f | IKM quantizer. |
data | data. |
M | data dimensionality. |
N | number of data. |
K | number of clusters. |