- Main Page
- Data Structures
- Files
- Related Pages

# ikmeans_lloyd.tc File Reference

Integer K-Means - LLoyd Algorithm - Definition. More...

## 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.

## Detailed Description

For internal use only.

Author:
  Brian Fulkerson

  Andrea Vedaldi

## Function Documentation

static void vl_ikm_init_lloyd | ( | VlIKMFilt * | f | ) | `[static]`

For internal use only.

Parameters:

  | 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.

Parameters:

  | 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.

Parameters:

  | f | IKM quantizer.
  | data | Training data.
  | N | Number of traning data.