Constructs a nearest neighbor search index for a given dataset.
Namespace: OpenCvSharp.CPlusPlus.Flann
Assembly: OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public Index( InputArray features, IndexParams params, FlannDistance distType = FlannDistance.Euclidean )
Parameters
- features
- Type: OpenCvSharp.CPlusPlusInputArray
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.CPlusPlus.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.CPlusPlus.FlannFlannDistance
[Missing <param name="distType"/> documentation for "M:OpenCvSharp.CPlusPlus.Flann.Index.#ctor(OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.Flann.IndexParams,OpenCvSharp.CPlusPlus.Flann.FlannDistance)"]
See Also