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
The DMatch type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| DMatch(Int32, Int32, Single) | Initializes a new instance of the DMatch class | |
| DMatch(Int32, Int32, Int32, Single) | Initializes a new instance of the DMatch class |
Methods
| Name | Description | |
|---|---|---|
| Empty | ||
| Equals | (Inherited from ValueType.) | |
| GetHashCode | (Inherited from ValueType.) | |
| GetType | (Inherited from Object.) | |
| ToString | (Overrides ValueTypeToString.) |
Operators
| Name | Description | |
|---|---|---|
| (DMatch to Vec4f) | ||
| (Vec4f to DMatch) | ||
| GreaterThan |
Compares by distance (less is beter)
| |
| LessThan |
Compares by distance (less is beter)
|
Fields
| Name | Description | |
|---|---|---|
| Distance | ||
| ImgIdx |
train image index
| |
| QueryIdx |
query descriptor index
| |
| TrainIdx |
train descriptor index
|
See Also