Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

gkll_kl.h

Go to the documentation of this file.
00001 #ifndef gkll_kl_h_
00002 #define gkll_kl_h_
00003 //--------------------------------------------------------------------------------
00004 //:
00005 // \file
00006 // \brief Interface to use Kanade-Lucas algorithm
00007 // \author
00008 //   L. Guichard
00009 //--------------------------------------------------------------------------------
00010 extern "C" {
00011 #include <vgel/kl/klt.h>
00012 }
00013 #include <gkll/gkll_kl_params.h>
00014 #include <vtol/vtol_vertex_2d_sptr.h>
00015 #include <vil1/vil1_image.h>
00016 #include <vcl_vector.h>
00017 #include <gkll/gkll_multi_view_data_vertex_sptr.h>
00018 #include <vidl_vil1/vidl_vil1_movie_sptr.h>
00019 
00020 
00021 class gkll_kl
00022 {
00023  public:
00024 
00025   //***************************************************************************
00026   // Initialization
00027   //***************************************************************************
00028 
00029   //---------------------------------------------------------------------------
00030   //: Default constructor. Parameters set to defaults
00031   //---------------------------------------------------------------------------
00032   explicit gkll_kl(const gkll_kl_params & params);
00033 
00034   //---------------------------------------------------------------------------
00035   //: Destructor.
00036   //---------------------------------------------------------------------------
00037   virtual ~gkll_kl();
00038 
00039   virtual void match_sequence(vcl_vector<vil1_image> &,gkll_multi_view_data_vertex_sptr);
00040 
00041   virtual void match_sequence(vidl_vil1_movie_sptr,gkll_multi_view_data_vertex_sptr);
00042 
00043   virtual vcl_vector<vtol_vertex_2d_sptr> * extract_points(vil1_image &);
00044 
00045  private:
00046   gkll_kl_params params_;
00047 
00048   virtual KLT_PixelType* convert_to_gs_image(vil1_image &);
00049 
00050   virtual void set_tracking_context( KLT_TrackingContext tc);
00051 };
00052 
00053 #endif // gkll_kl_h_

Generated on Thu Jan 10 14:48:39 2008 for contrib/gel/gkll by  doxygen 1.4.4