http://www.emgu.com
Constructs a balanced kd-tree index of the given feature vectors. The lifetime of the desc matrix must exceed that of the returned tree. I.e., no copy is made of the vectors.

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.2.1777 (2.4.2.1777)

Syntax

C#
public static IntPtr cvCreateKDTree(
	IntPtr desc
)
Visual Basic
Public Shared Function cvCreateKDTree ( _
	desc As IntPtr _
) As IntPtr
Visual C++
public:
static IntPtr cvCreateKDTree(
	IntPtr desc
)

Parameters

desc
Type: System..::..IntPtr
n x d matrix of n d-dimensional feature vectors (CV_32FC1 or CV_64FC1)

Return Value

A balanced kd-tree index of the given feature vectors

See Also