core/vgl/algo/vgl_h_matrix_1d_compute_optimize.h
Go to the documentation of this file.
00001 #ifndef vgl_h_matrix_1d_compute_optimize_h_
00002 #define vgl_h_matrix_1d_compute_optimize_h_
00003 //:
00004 // \file
00005 //
00006 // vgl_h_matrix_1d_compute_optimize compute the h_matrix using Levenberg-Marquard.
00007 //
00008 //
00009 // \author
00010 // F. Schaffalitzky, RRG
00011 //
00012 // \verbatim
00013 // Modifications
00014 //   23 Mar 2003 - J.L. Mundy - preparing for upgrade to vgl 
00015 //                 computations restricted to vgl_homg_point_1d<double>
00016 //                 Seems somewhat overdoing it to template the transform
00017 //                 solvers since double is needed for robust computation 
00018 //   23 Jun 2003 - Peter Vanroose - made compute_cool_homg pure virtual
00019 // \endverbatim
00020 
00021 #include <vgl/algo/vgl_h_matrix_1d_compute.h>
00022 
00023 class vgl_h_matrix_1d_compute_optimize : public vgl_h_matrix_1d_compute
00024 {
00025  public:
00026   vgl_h_matrix_1d_compute_optimize(void) {}
00027   ~vgl_h_matrix_1d_compute_optimize() {}
00028  protected:
00029   bool compute_cool_homg(const vcl_vector<vgl_homg_point_1d<double> >& points1,
00030                          const vcl_vector<vgl_homg_point_1d<double> >& points2,
00031                          vgl_h_matrix_1d<double>& H);
00032 };
00033 
00034 typedef vgl_h_matrix_1d_compute_optimize vgl_h_matrix_1d_computeOptimise1;
00035 
00036 #endif // vgl_h_matrix_1d_compute_optimize_h_