public class DMatch
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
float |
distance |
int |
imgIdx
Train image index.
|
int |
queryIdx
Query descriptor index.
|
int |
trainIdx
Train descriptor index.
|
Constructor and Description |
---|
DMatch() |
DMatch(int _queryIdx,
int _trainIdx,
float _distance) |
DMatch(int _queryIdx,
int _trainIdx,
int _imgIdx,
float _distance) |
Modifier and Type | Method and Description |
---|---|
boolean |
lessThan(DMatch it)
Less is better.
|
java.lang.String |
toString() |
public float distance
public int imgIdx
public int queryIdx
public int trainIdx
public DMatch()
public DMatch(int _queryIdx, int _trainIdx, float _distance)
public DMatch(int _queryIdx, int _trainIdx, int _imgIdx, float _distance)
public boolean lessThan(DMatch it)
public java.lang.String toString()
toString
in class java.lang.Object