contrib/brl/bseg/vpro/vpro_motion_params.h
Go to the documentation of this file.
00001 // This is brl/bseg/vpro/vpro_motion_params.h
00002 #ifndef vpro_motion_params_h_
00003 #define vpro_motion_params_h_
00004 //:
00005 // \file
00006 // \brief parameter mixin for the vpro_motion_process
00007 //
00008 // \author
00009 //    Joseph L. Mundy - Aug. 16, 2003
00010 //    Brown University
00011 //
00012 //-----------------------------------------------------------------------------
00013 #include <gevd/gevd_param_mixin.h>
00014 #include <vcl_iosfwd.h>
00015 
00016 class vpro_motion_params : public gevd_param_mixin
00017 {
00018  public:
00019   vpro_motion_params(const float low_range = 0.0,
00020                      const float high_range = 10000.0,
00021                      const float smooth_sigma = 1.0);
00022 
00023   vpro_motion_params(const vpro_motion_params& old_params);
00024  ~vpro_motion_params(){}
00025 
00026   bool SanityCheck();
00027   friend
00028     vcl_ostream& operator<<(vcl_ostream& os, const vpro_motion_params& rpp);
00029  protected:
00030   void InitParams(float low_range,
00031                   float high_range,
00032                   float smooth_sigma);
00033 
00034  public:
00035   //
00036   // Parameter blocks and parameters
00037   //
00038   float low_range_;    //!< low motion value for display
00039   float high_range_;   //!< high motion value for display
00040   float smooth_sigma_; //!< sigma for smoothing the video frames
00041 };
00042 
00043 #endif // vpro_motion_params_h_