Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

vgl_h_matrix_2d_compute_rigid_body Class Reference

#include <vgl_h_matrix_2d_compute_rigid_body.h>

Inheritance diagram for vgl_h_matrix_2d_compute_rigid_body:

Inheritance graph
[legend]
List of all members.

Detailed Description

Definition at line 17 of file vgl_h_matrix_2d_compute_rigid_body.h.

Public Member Functions

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

Protected Attributes

bool verbose_


Constructor & Destructor Documentation

vgl_h_matrix_2d_compute_rigid_body::vgl_h_matrix_2d_compute_rigid_body  ) 
 

Construct a vgl_h_matrix_2d_compute_rigid_body object.

Definition at line 15 of file vgl_h_matrix_2d_compute_rigid_body.cxx.


Member Function Documentation

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, inherited]
 

homography from matched points and lines - return h_matrix.

Definition at line 104 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, inherited]
 

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_line_2d< double > > const &  l1,
vcl_vector< vgl_homg_line_2d< double > > const &  l2
[inline, inherited]
 

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_point_2d< double > > const &  p1,
vcl_vector< vgl_homg_point_2d< double > > const &  p2
[inline, inherited]
 

homography from matched points - return h_matrix.

Definition at line 85 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, inherited]
 

homography from matched points and lines.

Definition at line 74 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, inherited]
 

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_line_2d< double > > const &  lines1,
vcl_vector< vgl_homg_line_2d< double > > const &  lines2,
vgl_h_matrix_2d< double > &  H
[inline, inherited]
 

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_point_2d< double > > const &  points1,
vcl_vector< vgl_homg_point_2d< double > > const &  points2,
vgl_h_matrix_2d< double > &  H
[inline, inherited]
 

homography from matched points.

Definition at line 49 of file vgl_h_matrix_2d_compute.h.

bool vgl_h_matrix_2d_compute_rigid_body::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, virtual]
 

compute from matched lines with weight vector (not implemented).

Implements vgl_h_matrix_2d_compute.

Definition at line 230 of file vgl_h_matrix_2d_compute_rigid_body.cxx.

bool vgl_h_matrix_2d_compute_rigid_body::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, virtual]
 

compute from matched lines.

Implements vgl_h_matrix_2d_compute.

Definition at line 125 of file vgl_h_matrix_2d_compute_rigid_body.cxx.

bool vgl_h_matrix_2d_compute_rigid_body::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, virtual]
 

compute from matched points.

Implements vgl_h_matrix_2d_compute.

Definition at line 82 of file vgl_h_matrix_2d_compute_rigid_body.cxx.

bool vgl_h_matrix_2d_compute_rigid_body::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, virtual]
 

compute from matched points and lines.

Implements vgl_h_matrix_2d_compute.

Definition at line 182 of file vgl_h_matrix_2d_compute_rigid_body.cxx.

int vgl_h_matrix_2d_compute_rigid_body::minimum_number_of_correspondences  )  const [inline, virtual]
 

Implements vgl_h_matrix_2d_compute.

Definition at line 55 of file vgl_h_matrix_2d_compute_rigid_body.h.

bool vgl_h_matrix_2d_compute_rigid_body::solve_rigid_body_problem int  equ_count,
vcl_vector< vgl_homg_point_2d< double > > const &  p1,
vcl_vector< vgl_homg_point_2d< double > > const &  p2,
vgl_h_matrix_2d< double > &  H
[protected]
 

Assumes all corresponding points have equal weight.

Definition at line 27 of file vgl_h_matrix_2d_compute_rigid_body.cxx.

void vgl_h_matrix_2d_compute::verbose bool  v  )  [inline, inherited]
 

Definition at line 37 of file vgl_h_matrix_2d_compute.h.


Member Data Documentation

bool vgl_h_matrix_2d_compute::verbose_ [protected, inherited]
 

Definition at line 111 of file vgl_h_matrix_2d_compute.h.


The documentation for this class was generated from the following files:
Generated on Thu Jan 10 14:39:27 2008 for core/vgl by  doxygen 1.4.4