2 #ifndef vgl_h_matrix_2d_compute_h_ 3 #define vgl_h_matrix_2d_compute_h_ 27 # include <vcl_msvc_warnings.h> 70 std::vector<double>
const& weights,
73 return compute_l(lines1, lines2, weights, H);
83 return compute_pl(points1, points2, lines1, lines2, H);
102 std::vector<double>
const& weights)
125 std::vector<double>
const& weights,
135 #endif // vgl_h_matrix_2d_compute_h_ bool compute(std::vector< vgl_homg_line_2d< double > > const &lines1, std::vector< vgl_homg_line_2d< double > > const &lines2, vgl_h_matrix_2d< double > &H)
homography from matched lines.
bool compute(std::vector< vgl_homg_line_2d< double > > const &lines1, std::vector< vgl_homg_line_2d< double > > const &lines2, std::vector< double > const &weights, vgl_h_matrix_2d< double > &H)
homography from matched lines with a weight vector.
virtual ~vgl_h_matrix_2d_compute()=default
Represents a homogeneous 2D line.
virtual bool compute_p(std::vector< vgl_homg_point_2d< double > > const &points1, std::vector< vgl_homg_point_2d< double > > const &points2, vgl_h_matrix_2d< double > &H)=0
virtual bool compute_l(std::vector< vgl_homg_line_2d< double > > const &lines1, std::vector< vgl_homg_line_2d< double > > const &lines2, vgl_h_matrix_2d< double > &H)=0
virtual bool compute_pl(std::vector< vgl_homg_point_2d< double > > const &points1, std::vector< vgl_homg_point_2d< double > > const &points2, std::vector< vgl_homg_line_2d< double > > const &lines1, std::vector< vgl_homg_line_2d< double > > const &lines2, vgl_h_matrix_2d< double > &H)=0
3x3 plane-to-plane projectivity
line in projective 2D space
bool compute(std::vector< vgl_homg_point_2d< double > > const &points1, std::vector< vgl_homg_point_2d< double > > const &points2, std::vector< vgl_homg_line_2d< double > > const &lines1, std::vector< vgl_homg_line_2d< double > > const &lines2, vgl_h_matrix_2d< double > &H)
homography from matched points and lines.
vgl_h_matrix_2d< double > compute(std::vector< vgl_homg_point_2d< double > > const &p1, std::vector< vgl_homg_point_2d< double > > const &p2)
homography from matched points - return h_matrix.
bool compute(std::vector< vgl_homg_point_2d< double > > const &points1, std::vector< vgl_homg_point_2d< double > > const &points2, vgl_h_matrix_2d< double > &H)
homography from matched points.
vgl_h_matrix_2d< double > compute(std::vector< vgl_homg_point_2d< double > > const &p1, std::vector< vgl_homg_point_2d< double > > const &p2, std::vector< vgl_homg_line_2d< double > > const &l1, std::vector< vgl_homg_line_2d< double > > const &l2)
homography from matched points and lines - return h_matrix.
point in projective 2D space
vgl_h_matrix_2d< double > compute(std::vector< vgl_homg_line_2d< double > > const &l1, std::vector< vgl_homg_line_2d< double > > const &l2)
homography from matched lines - return h_matrix.
virtual int minimum_number_of_correspondences() const =0
vgl_h_matrix_2d< double > compute(std::vector< vgl_homg_line_2d< double > > const &l1, std::vector< vgl_homg_line_2d< double > > const &l2, std::vector< double > const &weights)
homography from matched lines with weight vector - return h_matrix.
vgl_h_matrix_2d_compute()
Represents a homogeneous 2D point.