Go to the documentation of this file.00001
00002 #ifndef vpro_roi_process_h_
00003 #define vpro_roi_process_h_
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #include <vcl_list.h>
00016
00017 #include <vcl_string.h>
00018 #include <vpro/vpro_vil_video_process.h>
00019
00020 class vpro_roi_process : public vpro_vil_video_process
00021 {
00022 public:
00023 vpro_roi_process(vcl_string const & video_file,
00024 const unsigned x0,
00025 const unsigned y0,
00026 const unsigned xsize,
00027 const unsigned ysize,
00028 vcl_string const& type = "ImageList")
00029 : x0_(x0), y0_(y0), xsize_(xsize), ysize_(ysize), type_(type), video_file_(video_file) {}
00030 ~vpro_roi_process() {}
00031 virtual process_data_type get_output_type() const { return IMAGE; }
00032 virtual bool execute();
00033 virtual bool finish();
00034 private:
00035 vpro_roi_process() {}
00036
00037 unsigned x0_;
00038 unsigned y0_;
00039 unsigned xsize_;
00040 unsigned ysize_;
00041 vcl_string type_;
00042 vcl_string video_file_;
00043 vcl_list<vil_image_resource_sptr> out_frames_;
00044 };
00045
00046 #endif // vpro_roi_process_h_