Functions | |
static void | vl_ikm_init_lloyd (VlIKMFilt *f) |
Helper function to initialie filter for Lloyd algorithm. | |
static int | vl_ikm_train_lloyd (VlIKMFilt *f, vl_ikm_data const *data, int N) |
LLoyd algorithm. | |
static void | vl_ikm_push_lloyd (VlIKMFilt *f, vl_uint *asgn, vl_ikm_data const *data, int N) |
LLoyd algorithm. |
For internal use only.
static void vl_ikm_init_lloyd | ( | VlIKMFilt * | f | ) | [static] |
For internal use only.
f | filter. |
static void vl_ikm_push_lloyd | ( | VlIKMFilt * | f, | |
vl_uint * | asgn, | |||
vl_ikm_data const * | data, | |||
int | N | |||
) | [static] |
For internal use only.
f | IKM quantizer. | |
asgn | Assignemnts (out). | |
data | Data to quantize. | |
N | Number of data. |
static int vl_ikm_train_lloyd | ( | VlIKMFilt * | f, | |
vl_ikm_data const * | data, | |||
int | N | |||
) | [static] |
For internal use only.
f | IKM quantizer. | |
data | Training data. | |
N | Number of traning data. |