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.1.0.649 (2.1.0.649)

Syntax

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

Parameters

desc
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