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: 1.0.0
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

[Missing <param name="distType"/> documentation for "M:OpenCvSharp.Flann.Index.#ctor(OpenCvSharp.InputArray,OpenCvSharp.Flann.IndexParams,OpenCvSharp.Flann.FlannDistance)"]

See Also