vgl_h_matrix_2d_compute_rigid_body()
Construct a vgl_h_matrix_2d_compute_rigid_body object.
int minimum_number_of_correspondences() const override
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) override
compute from matched points and lines.
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) override
compute from matched lines.
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) override
compute from matched points.
bool solve_rigid_body_problem(int equ_count, std::vector< vgl_homg_point_2d< double > >const &p1, std::vector< vgl_homg_point_2d< double > >const &p2, vgl_h_matrix_2d< double > &H)
Assumes all corresponding points have equal weight.