Class DMatch


  • public class DMatch
    extends Object
    Structure for matching: query descriptor index, train descriptor index, train image index and distance between descriptors.
    • Field Detail

      • queryIdx

        public int queryIdx
        Query descriptor index.
      • trainIdx

        public int trainIdx
        Train descriptor index.
      • imgIdx

        public int imgIdx
        Train image index.
      • distance

        public float distance
    • Constructor Detail

      • DMatch

        public DMatch()
      • DMatch

        public DMatch​(int _queryIdx,
                      int _trainIdx,
                      float _distance)
      • DMatch

        public DMatch​(int _queryIdx,
                      int _trainIdx,
                      int _imgIdx,
                      float _distance)