Jafar
|
00001 #ifndef _FACETS_MATCHER_HPP_ 00002 #define _FACETS_MATCHER_HPP_ 00003 00004 #include "image/Image.hpp" 00005 #include "geom/InterestPoint.hpp" 00006 00007 namespace jafar { 00008 namespace gfm { 00009 class Engine; 00010 } 00011 namespace camera { 00012 class StereoBench; 00013 } 00014 namespace facetsmap { 00015 class Facet; 00016 class FacetsDetector; 00022 struct FacetsMatch { 00023 FacetsMatch(Facet* f1, Facet* f2); 00025 Facet* previousFrame; 00027 Facet* nextFrame; 00028 }; 00029 struct Result { 00030 std::vector<jafar::facetsmap::Facet*> previousFrame; 00031 std::vector<jafar::facetsmap::Facet*> nextFrame; 00032 std::vector<jafar::facetsmap::FacetsMatch> matches; 00033 }; 00034 class FacetsMatcher { 00035 public: 00036 public: 00037 FacetsMatcher(gfm::Engine* matchingEngine =0); 00038 ~FacetsMatcher(); 00039 public: 00049 Result computeMatch(const jafar::image::Image& img1l, 00050 const jafar::image::Image& img1r, 00051 const camera::StereoBench& stereoBench1, 00052 const jafar::image::Image& img2l, const jafar::image::Image& img2r, 00053 const camera::StereoBench& stereoBench2); 00054 private: 00055 FacetsDetector* m_facetsDetector; 00056 }; 00057 } 00058 } 00059 00060 #endif
Generated on Wed Oct 15 2014 00:37:18 for Jafar by doxygen 1.7.6.1 |