CvFeatureTreeFindFeatures Method (CvMat, CvMat, CvMat, Int32) OpenCvSharp Class Library
Finds approximate k nearest neighbors of given vectors using best-bin-first search.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public void FindFeatures(
	CvMat desc,
	CvMat results,
	CvMat dist,
	int k
)

Parameters

desc
Type: OpenCvSharpCvMat
m x d matrix of (row-)vectors to find the nearest neighbors of.
results
Type: OpenCvSharpCvMat
m x k set of row indices of matching vectors (referring to matrix passed to cvCreateFeatureTree). Contains -1 in some columns if fewer than k neighbors found.
dist
Type: OpenCvSharpCvMat
m x k matrix of distances to k nearest neighbors.
k
Type: SystemInt32
The number of neighbors to find.
See Also

Reference