contrib/brl/bseg/vpro/vpro_frame_diff_params.h
Go to the documentation of this file.
00001 // This is brl/bseg/vpro/vpro_frame_diff_params.h
00002 #ifndef vpro_frame_diff_params_h_
00003 #define vpro_frame_diff_params_h_
00004 //:
00005 // \file
00006 // \brief parameter mixin for the vpro_frame_diff_process
00007 //
00008 // \author
00009 //    Joseph L. Mundy - October 24, 2003
00010 //    Brown University
00011 //
00012 //-----------------------------------------------------------------------------
00013 #include <gevd/gevd_param_mixin.h>
00014 #include <vcl_iosfwd.h>
00015 
00016 class vpro_frame_diff_params : public gevd_param_mixin
00017 {
00018  public:
00019   vpro_frame_diff_params(const float thresh = 50.0,
00020                          const float level = 0.0,
00021                          const float range=50.0);
00022 
00023   vpro_frame_diff_params(const vpro_frame_diff_params& old_params);
00024  ~vpro_frame_diff_params(){}
00025 
00026   bool SanityCheck();
00027   friend
00028     vcl_ostream& operator<<(vcl_ostream& os, const vpro_frame_diff_params& rpp);
00029  protected:
00030   void InitParams(float thresh, float level, float range);
00031 
00032  public:
00033   //
00034   // Parameter blocks and parameters
00035   //
00036   float thresh_; //!< threshold on frame difference (not used)
00037   float level_;  //!< clip level (not used)
00038   float range_;  //!< dynamic range for conversion to byte pixels
00039 };
00040 
00041 #endif // vpro_frame_diff_params_h_