contrib/gel/gevd/gevd_region_proc_params.h
Go to the documentation of this file.
00001 #ifndef gevd_region_proc_params_h_
00002 #define gevd_region_proc_params_h_
00003 //:
00004 // \file
00005 // \brief parameter mixin for vdgl_region_proc
00006 //
00007 // \author
00008 //             Joseph L. Mundy - Apr. 11, 2001
00009 //             GE Corporate Research and Development
00010 //
00011 //-----------------------------------------------------------------------------
00012 #include <gevd/gevd_param_mixin.h>
00013 #include <gevd/gevd_detector_params.h>
00014 #include <vcl_iosfwd.h>
00015 
00016 class gevd_region_proc_params;
00017 vcl_ostream& operator<<(vcl_ostream& os, const gevd_region_proc_params& rpp);
00018 
00019 class gevd_region_proc_params : public gevd_param_mixin
00020 {
00021  public :
00022   gevd_region_proc_params(float expand_scale = 2.0f,
00023                           float burt_adelson_factor = .4f,
00024                           bool debug = false,
00025                           bool verbose = false,
00026                           gevd_detector_params const& = gevd_detector_params());
00027 
00028   gevd_region_proc_params(const gevd_region_proc_params& old_params);
00029   ~gevd_region_proc_params(){}
00030 
00031   bool SanityCheck();
00032   friend
00033     vcl_ostream& operator<<(vcl_ostream&, const gevd_region_proc_params& rpp);
00034  protected:
00035   void InitParams(float expand_scale,
00036                   float burt_adelson_factor,
00037                   bool debug,
00038                   bool verbose,
00039                   const gevd_detector_params& dp);
00040  public:
00041   //
00042   // Parameter blocks and parameters
00043   //
00044   float expand_scale_;       //!< the scale factor for image expansion
00045   float burt_adelson_factor_;//!< the "sigma" of the interpolating kernel
00046   bool debug_;               //!< Carry out debug processing
00047   bool verbose_;             //!< Print detailed output
00048   gevd_detector_params dp_;  //!< parameters associated with step and fold detection
00049 };
00050 
00051 #endif // gevd_region_proc_params_h_