contrib/gel/geml/geml_matcher_correlation.h
Go to the documentation of this file.
00001 // This is gel/geml/geml_matcher_correlation.h
00002 #ifndef geml_matcher_correlation_h_
00003 #define geml_matcher_correlation_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 "geml_matcher.h"
00014 
00015 class geml_matcher_correlation : public geml_matcher
00016 {
00017  public:
00018   // Constructors/Destructors--------------------------------------------------
00019 
00020   geml_matcher_correlation( const vil1_memory_image_of<vxl_byte> image1,
00021                             const vil1_memory_image_of<vxl_byte> image2,
00022                             const vcl_vector< vcl_pair<float,float> > &corners1,
00023                             const vcl_vector< vcl_pair<float,float> > &corners2);
00024 
00025   // Operations----------------------------------------------------------------
00026 
00027   vcl_vector< vcl_pair<int,int> > get_matches();
00028 
00029  protected:
00030   // Data Members--------------------------------------------------------------
00031 
00032   vcl_pair<double,double> best_local_correlation_score( const int c1, const int c2);
00033 };
00034 
00035 #endif // geml_matcher_correlation_h_