| 
 | OpenCV 2.4.5 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.opencv.features2d.DMatch
public class DMatch
Structure for matching: query descriptor index, train descriptor index, train image index and distance between descriptors.
| Field Summary | |
|---|---|
|  float | distance | 
|  int | imgIdxTrain image index. | 
|  int | queryIdxQuery descriptor index. | 
|  int | trainIdxTrain descriptor index. | 
| Constructor Summary | |
|---|---|
| DMatch() | |
| DMatch(int _queryIdx,
       int _trainIdx,
       float _distance) | |
| DMatch(int _queryIdx,
       int _trainIdx,
       int _imgIdx,
       float _distance) | |
| Method Summary | |
|---|---|
|  boolean | lessThan(DMatch it)Less is better. | 
|  java.lang.String | toString() | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
|---|
public float distance
public int imgIdx
public int queryIdx
public int trainIdx
| Constructor Detail | 
|---|
public DMatch()
public DMatch(int _queryIdx,
              int _trainIdx,
              float _distance)
public DMatch(int _queryIdx,
              int _trainIdx,
              int _imgIdx,
              float _distance)
| Method Detail | 
|---|
public boolean lessThan(DMatch it)
public java.lang.String toString()
toString in class java.lang.Object| 
 | OpenCV 2.4.5 Documentation | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||