DMatch Structure OpenCvSharp Class Library
Struct for matching: query descriptor index, train descriptor index, train image index and distance between descriptors.

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

public struct DMatch

The DMatch type exposes the following members.

Constructors

  NameDescription
Public methodDMatch(Int32, Int32, Single)
Initializes a new instance of the DMatch class
Public methodDMatch(Int32, Int32, Int32, Single)
Initializes a new instance of the DMatch class
Top
Methods

  NameDescription
Public methodStatic memberEmpty
Public methodEquals (Inherited from ValueType.)
Public methodGetHashCode (Inherited from ValueType.)
Public methodGetType (Inherited from Object.)
Public methodToString
Top
Operators

  NameDescription
Public operatorStatic member(DMatch to Vec4f)
Public operatorStatic member(Vec4f to DMatch)
Public operatorStatic memberGreaterThan
Compares by distance (less is beter)
Public operatorStatic memberLessThan
Compares by distance (less is beter)
Top
Fields

  NameDescription
Public fieldDistance
Public fieldImgIdx
train image index
Public fieldQueryIdx
query descriptor index
Public fieldTrainIdx
train descriptor index
Top
See Also

Reference