http://www.emgu.com
Create a flann index using Kmeans

Namespace: Emgu.CV.Flann
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.10.1935 (2.4.10.1935)

Syntax

C#
public Index(
	Matrix<float> values,
	int branching,
	int iterations,
	CenterInitType centersInitType,
	float cbIndex
)
Visual Basic
Public Sub New ( 
	values As Matrix(Of Single),
	branching As Integer,
	iterations As Integer,
	centersInitType As CenterInitType,
	cbIndex As Single
)
Visual C++
public:
Index(
	Matrix<float>^ values, 
	int branching, 
	int iterations, 
	CenterInitType centersInitType, 
	float cbIndex
)
F#
new : 
        values : Matrix<float32> * 
        branching : int * 
        iterations : int * 
        centersInitType : CenterInitType * 
        cbIndex : float32 -> Index

Parameters

values
Type: Emgu.CV..::..Matrix<(Of <(<'Single>)>)>
A row by row matrix of descriptors
branching
Type: System..::..Int32
Branching factor (for kmeans tree), use 32 for default
iterations
Type: System..::..Int32
Max iterations to perform in one kmeans clustering (kmeans tree), use 11 for deafault
centersInitType
Type: Emgu.CV.Flann..::..CenterInitType
Algorithm used for picking the initial cluster centers for kmeans tree, use RANDOM for default
cbIndex
Type: System..::..Single
Cluster boundary index. Used when searching the kmeans tree. Use 0.2 for default

See Also