Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

SiftMatch.h

Go to the documentation of this file.
00001 #ifndef __SIFTMATCH_H
00002 #define __SIFTMATCH_H
00003 
00004 #include "DualCoding/Point.h"
00005 #include "Vision/SIFT/SIFTDatabase/keypointpair.h"
00006 #include <vector>
00007 #include <string>
00008 
00009 class SiftMatch{
00010 public:
00011   SiftMatch();
00012   
00013   void print(const char* frontpadding);
00014   
00015   int objectID;
00016   std::string objectName;
00017   int modelID;
00018   std::string modelName;
00019   double probOfMatch;
00020   double error;
00021   double scale, orientation, columnTranslation, rowTranslation;
00022   std::vector<keypointPair> inliers;
00023   // A bounding box normally requires just topLeft and bottomRight
00024   // points, but we eventually want to use a rotated bounding box
00025   // showing the model's orientation in the image; then the edges
00026   // won't be axis-aligned.
00027   DualCoding::Point topLeft, topRight, bottomLeft, bottomRight;
00028   
00029   void computeBoundingBox();
00030 };
00031 
00032 #endif

Tekkotsu v5.1CVS
Generated Mon May 9 04:58:51 2016 by Doxygen 1.6.3