contrib/brl/bseg/sdet/sdet_fit_conics_params.h
Go to the documentation of this file.
00001 // This is brl/bseg/sdet/sdet_fit_conics_params.h
00002 #ifndef sdet_fit_conics_params_h_
00003 #define sdet_fit_conics_params_h_
00004 //:
00005 // \file
00006 // \brief parameter mixin for sdet_fit_conics
00007 //
00008 // \author
00009 //    Joseph L. Mundy - June 22, 2003
00010 //    Brown University
00011 //
00012 //-----------------------------------------------------------------------------
00013 #include <vbl/vbl_ref_count.h>
00014 #include <gevd/gevd_param_mixin.h>
00015 #include <vcl_iosfwd.h>
00016 
00017 class sdet_fit_conics_params : public gevd_param_mixin, public vbl_ref_count
00018 {
00019  public:
00020   sdet_fit_conics_params(int  min_fit_length = 10,
00021                          double rms_distance = 1.0,int aspect_ratio = 4);
00022 
00023   sdet_fit_conics_params(const sdet_fit_conics_params& old_params);
00024  ~sdet_fit_conics_params() {}
00025 
00026   bool SanityCheck();
00027  friend
00028   vcl_ostream& operator<<(vcl_ostream& os, const sdet_fit_conics_params& flp);
00029  protected:
00030   void InitParams(int min_fit_length,
00031                   double rms_distance,double aspect_ratio);
00032  public:
00033   //
00034   // Parameter blocks and parameters
00035   //
00036   int  min_fit_length_; //!< the shortest curve to fit a line
00037   double rms_distance_; //!< the max rms distance error for the fit
00038   double aspect_ratio_;
00039 };
00040 
00041 #endif // sdet_fit_conics_params_h_