OpenCV  3.2.0-dev
Open Source Computer Vision
cv::DMatch Class Reference

Class for matching keypoint descriptors. More...

#include "types.hpp"

Collaboration diagram for cv::DMatch:

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
 
int queryIdx
 
int trainIdx
 

Detailed Description

Class for matching keypoint descriptors.

query descriptor index, train descriptor index, train image index, and distance between descriptors.

Constructor & Destructor Documentation

cv::DMatch::DMatch ( )
cv::DMatch::DMatch ( int  _queryIdx,
int  _trainIdx,
float  _distance 
)
cv::DMatch::DMatch ( int  _queryIdx,
int  _trainIdx,
int  _imgIdx,
float  _distance 
)

Member Function Documentation

bool cv::DMatch::operator< ( const DMatch m) const

Member Data Documentation

float cv::DMatch::distance
int cv::DMatch::imgIdx
int cv::DMatch::queryIdx
int cv::DMatch::trainIdx

The documentation for this class was generated from the following file: