00001 // This is brl/bseg/vpro/vpro_capture_process.h 00002 #ifndef vpro_capture_process_h_ 00003 #define vpro_capture_process_h_ 00004 //-------------------------------------------------------------------------------- 00005 //: 00006 // \file 00007 // \brief Captures a vidl1 movie from a live video feed 00008 // \author J.L. Mundy 00009 // 00010 // \verbatim 00011 // Modifications 00012 // J.L. Mundy - February 13, 2003 - Initial version. 00013 // \endverbatim 00014 //----------------------------------------------------------------------------- 00015 #include <vcl_list.h> 00016 #include <vcl_vector.h> 00017 #include <vcl_string.h> 00018 #include <vul/vul_timer.h> 00019 #include <vpro/vpro_video_process.h> 00020 00021 class vpro_capture_process : public vpro_video_process 00022 { 00023 public: 00024 vpro_capture_process(vcl_string const & video_file); 00025 ~vpro_capture_process(); 00026 virtual process_data_type get_output_type() const { return NOTYPE; } 00027 //: compute edges on the input image 00028 virtual bool execute(); 00029 virtual bool finish(); 00030 private: 00031 vpro_capture_process(); 00032 bool save_time_stamps(); 00033 //members 00034 static vul_timer time_; 00035 static bool capture_started_; 00036 vcl_string video_file_; 00037 vcl_list<vil1_image> frames_; 00038 vcl_vector<long> time_stamps_; 00039 }; 00040 00041 #endif // vpro_capture_process_h_
1.7.5.1