OpenCV for Unity  2.6.0
Enox Software / Please refer to OpenCV official document ( ) for the details of the argument of the method.
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
OpenCVForUnity.CoreModule.DMatch Class Reference

Public Member Functions

 DMatch ()
 DMatch (int _queryIdx, int _trainIdx, float _distance)
 DMatch (int _queryIdx, int _trainIdx, int _imgIdx, float _distance)
bool lessThan (DMatch it)
override string ToString ()

Static Public Member Functions

static bool operator< (DMatch d1, DMatch d2)
static bool operator> (DMatch d1, DMatch d2)

Public Attributes

int queryIdx
int trainIdx
int imgIdx
float distance

Detailed Description

Structure for matching: query descriptor index, train descriptor index, train image index and distance between descriptors.

Constructor & Destructor Documentation

◆ DMatch() [1/3]

OpenCVForUnity.CoreModule.DMatch.DMatch ( )

◆ DMatch() [2/3]

OpenCVForUnity.CoreModule.DMatch.DMatch ( int  _queryIdx,
int  _trainIdx,
float  _distance 

◆ DMatch() [3/3]

OpenCVForUnity.CoreModule.DMatch.DMatch ( int  _queryIdx,
int  _trainIdx,
int  _imgIdx,
float  _distance 

Member Function Documentation

◆ lessThan()

bool OpenCVForUnity.CoreModule.DMatch.lessThan ( DMatch  it)

◆ operator<()

static bool OpenCVForUnity.CoreModule.DMatch.operator< ( DMatch  d1,
DMatch  d2 

◆ operator>()

static bool OpenCVForUnity.CoreModule.DMatch.operator> ( DMatch  d1,
DMatch  d2 

◆ ToString()

override string OpenCVForUnity.CoreModule.DMatch.ToString ( )

Member Data Documentation

◆ distance

float OpenCVForUnity.CoreModule.DMatch.distance

◆ imgIdx

int OpenCVForUnity.CoreModule.DMatch.imgIdx

Train image index.

◆ queryIdx

int OpenCVForUnity.CoreModule.DMatch.queryIdx

Query descriptor index.

◆ trainIdx

int OpenCVForUnity.CoreModule.DMatch.trainIdx

Train descriptor index.

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