struct cvflann::KMeansIndex::KMeansNode
Overview
Struture representing a node in the hierarchical k-means tree. Moreā¦
struct KMeansNode { // fields KMeansNode** childs; int* indices; int level; DistanceType mean_radius; DistanceType* pivot; DistanceType radius; int size; DistanceType variance; };
Detailed Documentation
Struture representing a node in the hierarchical k-means tree.
Fields
KMeansNode** childs
Child nodes (only for non-terminal nodes)
int* indices
Node points (only for terminal nodes)
int level
Level
DistanceType mean_radius
The cluster mean radius.
DistanceType* pivot
The cluster center.
DistanceType radius
The cluster radius.
int size
The cluster size (number of points in the cluster)
DistanceType variance
The cluster variance.