contrib/gel/geml/geml_matcher.h
Go to the documentation of this file.
00001 // This is gel/geml/geml_matcher.h
00002 #ifndef geml_matcher_h_
00003 #define geml_matcher_h_
00004 #ifdef VCL_NEEDS_PRAGMA_INTERFACE
00005 #pragma interface
00006 #endif
00007 //:
00008 // \file
00009 // \author Geoffrey Cross, CRD, ${DATE}
00010 //
00011 //-----------------------------------------------------------------------------
00012 
00013 #include <vcl_vector.h>
00014 #include <vcl_utility.h>
00015 
00016 #include <vxl_config.h>
00017 #include <vil1/vil1_memory_image_of.h>
00018 
00019 class geml_matcher
00020 {
00021  public:
00022   // Constructors/Destructors--------------------------------------------------
00023 
00024   geml_matcher( const vil1_memory_image_of<vxl_byte> image1,
00025                 const vil1_memory_image_of<vxl_byte> image2,
00026                 const vcl_vector< vcl_pair<float,float> > &corners1,
00027                 const vcl_vector< vcl_pair<float,float> > &corners2);
00028 
00029   virtual ~geml_matcher();
00030 
00031   // Operations----------------------------------------------------------------
00032 
00033   virtual vcl_vector< vcl_pair<int,int> > get_matches()= 0;
00034 
00035  protected:
00036   // Data Members--------------------------------------------------------------
00037 
00038   vil1_memory_image_of<vxl_byte> im1_;
00039   vil1_memory_image_of<vxl_byte> im2_;
00040   vcl_vector< vcl_pair<float,float> > corners1_;
00041   vcl_vector< vcl_pair<float,float> > corners2_;
00042 };
00043 
00044 #endif // geml_matcher_h_