Go to the documentation of this file.00001
00002 #ifndef sdet_harris_detector_params_h_
00003 #define sdet_harris_detector_params_h_
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013 #include <gevd/gevd_param_mixin.h>
00014 #include <vcl_iosfwd.h>
00015
00016 class sdet_harris_detector_params : public gevd_param_mixin
00017 {
00018 public:
00019 sdet_harris_detector_params(const float sigma=1.0f,
00020 const float thresh = 2.0f,
00021 const int n=1,
00022 const float percent_corners=80.0f,
00023 const float scale_factor = 0.04f,
00024 const bool use_vil_harris=false);
00025
00026 sdet_harris_detector_params(const sdet_harris_detector_params& old_params);
00027 ~sdet_harris_detector_params(){}
00028
00029 bool SanityCheck();
00030 friend
00031 vcl_ostream& operator<<(vcl_ostream&,const sdet_harris_detector_params& dp);
00032 protected:
00033 void InitParams(float sigma,
00034 float thresh,
00035 int n,
00036 float percent_corners,
00037 float scale_factor,
00038 bool use_vil_harris);
00039 public:
00040
00041
00042
00043 float sigma_;
00044 float thresh_;
00045 int n_;
00046 float percent_corners_;
00047 float scale_factor_;
00048 bool use_vil_harris_;
00049 };
00050
00051 #endif // sdet_harris_detector_params_h_