contrib/brl/bseg/vpro/vpro_edge_line_process.h
Go to the documentation of this file.
00001 // This is brl/bseg/vpro/vpro_edge_line_process.h
00002 #ifndef vpro_edge_line_process_h_
00003 #define vpro_edge_line_process_h_
00004 //--------------------------------------------------------------------------------
00005 //:
00006 // \file
00007 // \brief live vpro_edge_line_process
00008 // \author J.L. Mundy
00009 //
00010 //   Computes vd edges and then line segments on each video frame
00011 //
00012 // \verbatim
00013 //  Modifications
00014 //   J.L. Mundy - May 16, 2003 - Initial version.
00015 // \endverbatim
00016 //--------------------------------------------------------------------------------
00017 #include <sdet/sdet_detector_params.h>
00018 #include <sdet/sdet_fit_lines_params.h>
00019 #include <vpro/vpro_video_process.h>
00020 
00021 class vpro_edge_line_process : public vpro_video_process, public sdet_detector_params, public sdet_fit_lines_params
00022 {
00023  public:
00024   vpro_edge_line_process(sdet_detector_params & dp, sdet_fit_lines_params& flp);
00025  ~vpro_edge_line_process();
00026   virtual process_data_type get_input_type() const { return IMAGE; }
00027   virtual process_data_type get_output_type() const { return SPATIAL_OBJECT; }
00028 
00029   //: compute van duc edges and then line segments
00030   virtual bool execute();
00031   virtual bool finish() { return true; }
00032 };
00033 
00034 #endif // vpro_edge_line_process_h_