Click or drag to resize

Index Constructor

Constructs a nearest neighbor search index for a given dataset.

Namespace:  OpenCvSharp.Flann
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntax
public Index(
	InputArray features,
	IndexParams params,
	FlannDistance distType = FlannDistance.Euclidean
)

Parameters

features
Type: OpenCvSharpInputArray
features – Matrix of type CV _ 32F containing the features(points) to index. The size of the matrix is num _ features x feature _ dimensionality.
params
Type: OpenCvSharp.FlannIndexParams
Structure containing the index parameters. The type of index that will be constructed depends on the type of this parameter.
distType (Optional)
Type: OpenCvSharp.FlannFlannDistance
See Also