#include <vgl_h_matrix_2d_compute.h>
Public Member Functions | |
vgl_h_matrix_2d_compute () | |
virtual | ~vgl_h_matrix_2d_compute () |
void | verbose (bool v) |
virtual int | minimum_number_of_correspondences () const =0 |
bool | compute (vcl_vector< vgl_homg_point_2d< double > > const &points1, vcl_vector< vgl_homg_point_2d< double > > const &points2, vgl_h_matrix_2d< double > &H) |
homography from matched points. | |
bool | compute (vcl_vector< vgl_homg_line_2d< double > > const &lines1, vcl_vector< vgl_homg_line_2d< double > > const &lines2, vgl_h_matrix_2d< double > &H) |
homography from matched lines. | |
bool | compute (vcl_vector< vgl_homg_line_2d< double > > const &lines1, vcl_vector< vgl_homg_line_2d< double > > const &lines2, vcl_vector< double > const &weights, vgl_h_matrix_2d< double > &H) |
homography from matched lines with a weight vector. | |
bool | compute (vcl_vector< vgl_homg_point_2d< double > > const &points1, vcl_vector< vgl_homg_point_2d< double > > const &points2, vcl_vector< vgl_homg_line_2d< double > > const &lines1, vcl_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 (vcl_vector< vgl_homg_point_2d< double > > const &p1, vcl_vector< vgl_homg_point_2d< double > > const &p2) |
homography from matched points - return h_matrix. | |
vgl_h_matrix_2d< double > | compute (vcl_vector< vgl_homg_line_2d< double > > const &l1, vcl_vector< vgl_homg_line_2d< double > > const &l2) |
homography from matched lines - return h_matrix. | |
vgl_h_matrix_2d< double > | compute (vcl_vector< vgl_homg_line_2d< double > > const &l1, vcl_vector< vgl_homg_line_2d< double > > const &l2, vcl_vector< double > const &weights) |
homography from matched lines with weight vector - return h_matrix. | |
vgl_h_matrix_2d< double > | compute (vcl_vector< vgl_homg_point_2d< double > > const &p1, vcl_vector< vgl_homg_point_2d< double > > const &p2, vcl_vector< vgl_homg_line_2d< double > > const &l1, vcl_vector< vgl_homg_line_2d< double > > const &l2) |
homography from matched points and lines - return h_matrix. | |
Protected Member Functions | |
virtual bool | compute_p (vcl_vector< vgl_homg_point_2d< double > > const &points1, vcl_vector< vgl_homg_point_2d< double > > const &points2, vgl_h_matrix_2d< double > &H)=0 |
virtual bool | compute_l (vcl_vector< vgl_homg_line_2d< double > > const &lines1, vcl_vector< vgl_homg_line_2d< double > > const &lines2, vgl_h_matrix_2d< double > &H)=0 |
virtual bool | compute_l (vcl_vector< vgl_homg_line_2d< double > > const &lines1, vcl_vector< vgl_homg_line_2d< double > > const &lines2, vcl_vector< double > const &weights, vgl_h_matrix_2d< double > &H)=0 |
virtual bool | compute_pl (vcl_vector< vgl_homg_point_2d< double > > const &points1, vcl_vector< vgl_homg_point_2d< double > > const &points2, vcl_vector< vgl_homg_line_2d< double > > const &lines1, vcl_vector< vgl_homg_line_2d< double > > const &lines2, vgl_h_matrix_2d< double > &H)=0 |
Protected Attributes | |
bool | verbose_ |
Definition at line 30 of file vgl_h_matrix_2d_compute.h.
vgl_h_matrix_2d_compute::vgl_h_matrix_2d_compute | ( | ) | [inline] |
Definition at line 33 of file vgl_h_matrix_2d_compute.h.
virtual vgl_h_matrix_2d_compute::~vgl_h_matrix_2d_compute | ( | ) | [inline, virtual] |
Definition at line 34 of file vgl_h_matrix_2d_compute.h.
bool vgl_h_matrix_2d_compute::compute | ( | vcl_vector< vgl_homg_point_2d< double > > const & | points1, |
vcl_vector< vgl_homg_point_2d< double > > const & | points2, | ||
vgl_h_matrix_2d< double > & | H | ||
) | [inline] |
homography from matched points.
Definition at line 49 of file vgl_h_matrix_2d_compute.h.
bool vgl_h_matrix_2d_compute::compute | ( | vcl_vector< vgl_homg_line_2d< double > > const & | lines1, |
vcl_vector< vgl_homg_line_2d< double > > const & | lines2, | ||
vgl_h_matrix_2d< double > & | H | ||
) | [inline] |
homography from matched lines.
Definition at line 57 of file vgl_h_matrix_2d_compute.h.
bool vgl_h_matrix_2d_compute::compute | ( | vcl_vector< vgl_homg_line_2d< double > > const & | lines1, |
vcl_vector< vgl_homg_line_2d< double > > const & | lines2, | ||
vcl_vector< double > const & | weights, | ||
vgl_h_matrix_2d< double > & | H | ||
) | [inline] |
homography from matched lines with a weight vector.
Definition at line 65 of file vgl_h_matrix_2d_compute.h.
bool vgl_h_matrix_2d_compute::compute | ( | vcl_vector< vgl_homg_point_2d< double > > const & | points1, |
vcl_vector< vgl_homg_point_2d< double > > const & | points2, | ||
vcl_vector< vgl_homg_line_2d< double > > const & | lines1, | ||
vcl_vector< vgl_homg_line_2d< double > > const & | lines2, | ||
vgl_h_matrix_2d< double > & | H | ||
) | [inline] |
homography from matched points and lines.
Definition at line 74 of file vgl_h_matrix_2d_compute.h.
vgl_h_matrix_2d<double> vgl_h_matrix_2d_compute::compute | ( | vcl_vector< vgl_homg_point_2d< double > > const & | p1, |
vcl_vector< vgl_homg_point_2d< double > > const & | p2 | ||
) | [inline] |
homography from matched points - return h_matrix.
Definition at line 85 of file vgl_h_matrix_2d_compute.h.
vgl_h_matrix_2d<double> vgl_h_matrix_2d_compute::compute | ( | vcl_vector< vgl_homg_line_2d< double > > const & | l1, |
vcl_vector< vgl_homg_line_2d< double > > const & | l2 | ||
) | [inline] |
homography from matched lines - return h_matrix.
Definition at line 91 of file vgl_h_matrix_2d_compute.h.
vgl_h_matrix_2d<double> vgl_h_matrix_2d_compute::compute | ( | vcl_vector< vgl_homg_line_2d< double > > const & | l1, |
vcl_vector< vgl_homg_line_2d< double > > const & | l2, | ||
vcl_vector< double > const & | weights | ||
) | [inline] |
homography from matched lines with weight vector - return h_matrix.
Definition at line 97 of file vgl_h_matrix_2d_compute.h.
vgl_h_matrix_2d<double> vgl_h_matrix_2d_compute::compute | ( | vcl_vector< vgl_homg_point_2d< double > > const & | p1, |
vcl_vector< vgl_homg_point_2d< double > > const & | p2, | ||
vcl_vector< vgl_homg_line_2d< double > > const & | l1, | ||
vcl_vector< vgl_homg_line_2d< double > > const & | l2 | ||
) | [inline] |
homography from matched points and lines - return h_matrix.
Definition at line 104 of file vgl_h_matrix_2d_compute.h.
virtual bool vgl_h_matrix_2d_compute::compute_l | ( | vcl_vector< vgl_homg_line_2d< double > > const & | lines1, |
vcl_vector< vgl_homg_line_2d< double > > const & | lines2, | ||
vgl_h_matrix_2d< double > & | H | ||
) | [protected, pure virtual] |
Implemented in vgl_h_matrix_2d_compute_4point, vgl_h_matrix_2d_compute_linear, and vgl_h_matrix_2d_compute_rigid_body.
virtual bool vgl_h_matrix_2d_compute::compute_l | ( | vcl_vector< vgl_homg_line_2d< double > > const & | lines1, |
vcl_vector< vgl_homg_line_2d< double > > const & | lines2, | ||
vcl_vector< double > const & | weights, | ||
vgl_h_matrix_2d< double > & | H | ||
) | [protected, pure virtual] |
Implemented in vgl_h_matrix_2d_compute_4point, vgl_h_matrix_2d_compute_linear, and vgl_h_matrix_2d_compute_rigid_body.
virtual bool vgl_h_matrix_2d_compute::compute_p | ( | vcl_vector< vgl_homg_point_2d< double > > const & | points1, |
vcl_vector< vgl_homg_point_2d< double > > const & | points2, | ||
vgl_h_matrix_2d< double > & | H | ||
) | [protected, pure virtual] |
Implemented in vgl_h_matrix_2d_compute_4point, vgl_h_matrix_2d_compute_linear, and vgl_h_matrix_2d_compute_rigid_body.
virtual bool vgl_h_matrix_2d_compute::compute_pl | ( | vcl_vector< vgl_homg_point_2d< double > > const & | points1, |
vcl_vector< vgl_homg_point_2d< double > > const & | points2, | ||
vcl_vector< vgl_homg_line_2d< double > > const & | lines1, | ||
vcl_vector< vgl_homg_line_2d< double > > const & | lines2, | ||
vgl_h_matrix_2d< double > & | H | ||
) | [protected, pure virtual] |
Implemented in vgl_h_matrix_2d_compute_4point, vgl_h_matrix_2d_compute_linear, and vgl_h_matrix_2d_compute_rigid_body.
virtual int vgl_h_matrix_2d_compute::minimum_number_of_correspondences | ( | ) | const [pure virtual] |
Implemented in vgl_h_matrix_2d_compute_linear, vgl_h_matrix_2d_compute_rigid_body, and vgl_h_matrix_2d_compute_4point.
void vgl_h_matrix_2d_compute::verbose | ( | bool | v | ) | [inline] |
Definition at line 37 of file vgl_h_matrix_2d_compute.h.
bool vgl_h_matrix_2d_compute::verbose_ [protected] |
Definition at line 111 of file vgl_h_matrix_2d_compute.h.