Public Member Functions | Protected Member Functions | Protected Attributes
vgl_h_matrix_3d_compute_linear Class Reference

#include <vgl_h_matrix_3d_compute_linear.h>

Inheritance diagram for vgl_h_matrix_3d_compute_linear:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 vgl_h_matrix_3d_compute_linear ()
int minimum_number_of_correspondences () const
void verbose (bool v)
bool compute (vcl_vector< vgl_homg_point_3d< double > > const &points1, vcl_vector< vgl_homg_point_3d< double > > const &points2, vgl_h_matrix_3d< double > &H)
 homography from matched points.
vgl_h_matrix_3d< double > compute (vcl_vector< vgl_homg_point_3d< double > > const &p1, vcl_vector< vgl_homg_point_3d< double > > const &p2)
 homography from matched points - return h_matrix.

Protected Member Functions

virtual bool compute_p (vcl_vector< vgl_homg_point_3d< double > > const &points1, vcl_vector< vgl_homg_point_3d< double > > const &points2, vgl_h_matrix_3d< double > &H)
 compute from matched points.
bool solve_linear_problem (vcl_vector< vgl_homg_point_3d< double > > const &p1, vcl_vector< vgl_homg_point_3d< double > > const &p2, vgl_h_matrix_3d< double > &H)
 Assumes all corresponding points have equal weight.

Protected Attributes

bool verbose_

Detailed Description

Definition at line 29 of file vgl_h_matrix_3d_compute_linear.h.


Constructor & Destructor Documentation

vgl_h_matrix_3d_compute_linear::vgl_h_matrix_3d_compute_linear ( ) [inline]

Definition at line 44 of file vgl_h_matrix_3d_compute_linear.h.


Member Function Documentation

bool vgl_h_matrix_3d_compute::compute ( vcl_vector< vgl_homg_point_3d< double > > const &  points1,
vcl_vector< vgl_homg_point_3d< double > > const &  points2,
vgl_h_matrix_3d< double > &  H 
) [inline, inherited]

homography from matched points.

Definition at line 38 of file vgl_h_matrix_3d_compute.h.

vgl_h_matrix_3d<double> vgl_h_matrix_3d_compute::compute ( vcl_vector< vgl_homg_point_3d< double > > const &  p1,
vcl_vector< vgl_homg_point_3d< double > > const &  p2 
) [inline, inherited]

homography from matched points - return h_matrix.

Definition at line 47 of file vgl_h_matrix_3d_compute.h.

bool vgl_h_matrix_3d_compute_linear::compute_p ( vcl_vector< vgl_homg_point_3d< double > > const &  points1,
vcl_vector< vgl_homg_point_3d< double > > const &  points2,
vgl_h_matrix_3d< double > &  H 
) [protected, virtual]

compute from matched points.

Implements vgl_h_matrix_3d_compute.

Definition at line 87 of file vgl_h_matrix_3d_compute_linear.cxx.

int vgl_h_matrix_3d_compute_linear::minimum_number_of_correspondences ( ) const [inline, virtual]

Implements vgl_h_matrix_3d_compute.

Definition at line 45 of file vgl_h_matrix_3d_compute_linear.h.

bool vgl_h_matrix_3d_compute_linear::solve_linear_problem ( vcl_vector< vgl_homg_point_3d< double > > const &  p1,
vcl_vector< vgl_homg_point_3d< double > > const &  p2,
vgl_h_matrix_3d< double > &  H 
) [protected]

Assumes all corresponding points have equal weight.

Compute a 3D-to-3D homography using linear least squares.

Returns false if the calculation fails or there are fewer than five point matches in the list. The algorithm finds the nullvector of the $6 n \times 16$ design matrix:Assumes all corresponding points have equal weight.

Definition at line 23 of file vgl_h_matrix_3d_compute_linear.cxx.

void vgl_h_matrix_3d_compute::verbose ( bool  v) [inline, inherited]

Definition at line 29 of file vgl_h_matrix_3d_compute.h.


Member Data Documentation

bool vgl_h_matrix_3d_compute::verbose_ [protected, inherited]

Definition at line 52 of file vgl_h_matrix_3d_compute.h.


The documentation for this class was generated from the following files: