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.0.1.0 (2.0.1.0)
Syntax
Visual Basic (Declaration) |
---|
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