00001 // This is brl/bseg/strk/strk_info_model_tracker_process.h 00002 #ifndef strk_info_model_tracker_process_h_ 00003 #define strk_info_model_tracker_process_h_ 00004 //---------------------------------------------------------------------------- 00005 //: 00006 // \file 00007 // \brief tracks an articulated model using sdet_info_model_tracker 00008 // \author 00009 // J.L. Mundy 00010 // 00011 // \verbatim 00012 // Modifications: 00013 // J.L. Mundy November 06, 2003 Initial version. 00014 // \endverbatim 00015 //--------------------------------------------------------------------------- 00016 #include <strk/strk_info_model_tracker_params.h> 00017 #include <strk/strk_info_model_tracker.h> 00018 #include <vpro/vpro_video_process.h> 00019 00020 class strk_info_model_tracker_process : public vpro_video_process 00021 { 00022 public: 00023 strk_info_model_tracker_process(strk_info_model_tracker_params & tp); 00024 ~strk_info_model_tracker_process(); 00025 virtual process_data_type get_output_type(){return TOPOLOGY;} 00026 00027 virtual bool execute(); 00028 virtual bool finish(); 00029 bool set_output_file(vcl_string const& file_name); 00030 private: 00031 //members 00032 bool write_tracked_models_; 00033 vcl_string track_file_; 00034 bool failure_; 00035 bool first_frame_; 00036 strk_info_model_tracker model_tracker_; 00037 vcl_vector<strk_art_info_model_sptr> tracked_models_; 00038 }; 00039 00040 00041 #endif // strk_info_model_tracker_process_h_
1.4.4