00001 // This is core/vgl/algo/vgl_h_matrix_1d_compute_linear.h 00002 #ifndef vgl_h_matrix_1d_compute_linear_h_ 00003 #define vgl_h_matrix_1d_compute_linear_h_ 00004 //: 00005 // \file 00006 // \brief find line-to-line projectivity from a set of matched points using SVD 00007 // 00008 // \verbatim 00009 // Modifications 00010 // 23 Jun 2003 - Peter Vanroose - made compute_cool_homg pure virtual 00011 // \endverbatim 00012 00013 #include "vgl_h_matrix_1d_compute.h" 00014 00015 class vgl_h_matrix_1d_compute_linear : public vgl_h_matrix_1d_compute 00016 { 00017 public: 00018 vgl_h_matrix_1d_compute_linear(void) {} 00019 ~vgl_h_matrix_1d_compute_linear() {} 00020 protected: 00021 virtual bool 00022 compute_cool_homg(const vcl_vector<vgl_homg_point_1d<double> > & points1, 00023 const vcl_vector<vgl_homg_point_1d<double> > & points2, 00024 vgl_h_matrix_1d<double>& H); 00025 }; 00026 00027 #endif // vgl_h_matrix_1d_compute_linear_h_