Go to the documentation of this file.00001 #ifndef rgrl_est_quadratic_h_
00002 #define rgrl_est_quadratic_h_
00003
00004
00005
00006
00007
00008 #include "rgrl_estimator.h"
00009
00010
00011
00012 class rgrl_est_quadratic
00013 : public rgrl_linear_estimator
00014 {
00015 public:
00016
00017
00018
00019
00020
00021 rgrl_est_quadratic();
00022
00023
00024
00025
00026 rgrl_est_quadratic( unsigned int dimension,
00027 double condition_num_thrd = 0.0);
00028
00029
00030
00031
00032
00033
00034
00035 rgrl_transformation_sptr
00036 estimate( rgrl_set_of<rgrl_match_set_sptr> const& matches,
00037 rgrl_transformation const& cur_transform ) const;
00038
00039
00040
00041
00042
00043
00044
00045
00046 rgrl_transformation_sptr
00047 estimate( rgrl_match_set_sptr matches,
00048 rgrl_transformation const& cur_transform ) const;
00049
00050
00051 const vcl_type_info& transformation_type() const;
00052
00053
00054 rgrl_type_macro( rgrl_est_quadratic, rgrl_linear_estimator );
00055
00056 private:
00057
00058 double max_of_9_elements(double elt1, double elt2, double elt3,
00059 double elt4, double elt5, double elt6,
00060 double elt7, double elt8, double elt9 ) const;
00061 double condition_num_thrd_;
00062 };
00063
00064 #endif // rgrl_est_quadratic_h_