Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

strk_region_info_params.h

Go to the documentation of this file.
00001 // This is brl/bseg/strk/strk_region_info_params.h
00002 #ifndef strk_region_info_params_h_
00003 #define strk_region_info_params_h_
00004 //:
00005 // \file
00006 // \brief parameter mixin for strk_region_info
00007 //
00008 // \author
00009 //    Joseph L. Mundy - March 14, 2004
00010 //    Brown University
00011 //
00012 //-----------------------------------------------------------------------------
00013 #include <gevd/gevd_param_mixin.h>
00014 #include <vcl_iosfwd.h>
00015 
00016 class strk_region_info_params : public gevd_param_mixin
00017 {
00018  public:
00019   strk_region_info_params(const float sigma = 1.0,
00020                           const bool gradient_info = true,
00021                           const bool color_info = false,
00022                           const float min_gradient = 0,
00023                           const float parzen_sigma = 0,
00024                           const bool verbose = false,
00025                           const bool debug = false);
00026 
00027   strk_region_info_params(const strk_region_info_params& old_params);
00028  ~strk_region_info_params() {}
00029 
00030   bool SanityCheck();
00031   friend
00032     vcl_ostream& operator<<(vcl_ostream& os, const strk_region_info_params& tp);
00033  protected:
00034   void InitParams(float sigma,
00035                   bool gradient_info,
00036                   bool color_info,
00037                   float min_gradient,
00038                   float parzen_sigma,
00039                   bool verbose,
00040                   bool debug);
00041  public:
00042   //
00043   // Parameter blocks and parameters
00044   //
00045   float sigma_;            //!< smoothing kernel radius for estimating gradient
00046   bool gradient_info_;     //!< Combine gradient and intensity info
00047   bool color_info_;        //!< Combine color and intensity info
00048   float min_gradient_;     //!< minimum gradient magnitude to be considered
00049   float parzen_sigma_;     //!< smoothing for the histogram density
00050   bool verbose_;           //!< informative messages to cout
00051   bool debug_;             //!< informative debug messages to cout
00052 };
00053 
00054 #endif // strk_region_info_params_h_

Generated on Thu Jan 10 14:53:19 2008 for contrib/brl/bseg/strk by  doxygen 1.4.4