00001 // This is brl/bseg/strk/strk_corr_tracker_process.h 00002 #ifndef strk_corr_tracker_process_h_ 00003 #define strk_corr_tracker_process_h_ 00004 //---------------------------------------------------------------------------- 00005 //: 00006 // \file 00007 // \brief tracks a correlation window across frames 00008 // \author 00009 // J.L. Mundy 00010 // 00011 // \verbatim 00012 // Modifications: 00013 // J.L. Mundy August 21, 2002 Initial version. 00014 // \endverbatim 00015 //--------------------------------------------------------------------------- 00016 #include <strk/strk_tracker_params.h> 00017 #include <strk/strk_tracker.h> 00018 #include <vpro/vpro_video_process.h> 00019 00020 class strk_corr_tracker_process : public vpro_video_process 00021 { 00022 public: 00023 strk_corr_tracker_process(strk_tracker_params & tp); 00024 ~strk_corr_tracker_process(); 00025 virtual process_data_type get_output_type(){return TOPOLOGY;} 00026 00027 //: track to next frame 00028 virtual bool execute(); 00029 virtual bool finish(){return true;} 00030 private: 00031 //members 00032 bool failure_; 00033 bool first_frame_; 00034 strk_tracker tracker_; 00035 }; 00036 00037 00038 #endif // strk_corr_tracker_process_h_
1.4.4