Class for matching keypoint descriptors. More...
#include <opencv2/core/types.hpp>
Public Member Functions | |
DMatch () | |
DMatch (int _queryIdx, int _trainIdx, float _distance) | |
DMatch (int _queryIdx, int _trainIdx, int _imgIdx, float _distance) | |
bool | operator< (const DMatch &m) const |
Public Attributes | |
float | distance |
int | imgIdx |
train image index More... | |
int | queryIdx |
query descriptor index More... | |
int | trainIdx |
train descriptor index More... | |
Class for matching keypoint descriptors.
query descriptor index, train descriptor index, train image index, and distance between descriptors.
cv::DMatch::DMatch | ( | ) |
cv::DMatch::DMatch | ( | int | _queryIdx, |
int | _trainIdx, | ||
float | _distance | ||
) |
cv::DMatch::DMatch | ( | int | _queryIdx, |
int | _trainIdx, | ||
int | _imgIdx, | ||
float | _distance | ||
) |
bool cv::DMatch::operator< | ( | const DMatch & | m | ) | const |
float cv::DMatch::distance |
Referenced by cv::FileNode::operator>>(), and cv::FileStorage::write().
int cv::DMatch::imgIdx |
train image index
Referenced by cv::FileNode::operator>>(), and cv::FileStorage::write().
int cv::DMatch::queryIdx |
query descriptor index
Referenced by cv::FileNode::operator>>(), and cv::FileStorage::write().
int cv::DMatch::trainIdx |
train descriptor index
Referenced by cv::FileNode::operator>>(), and cv::FileStorage::write().