Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vgl_h_matrix_2d_compute Class Referenceabstract

#include <vgl_h_matrix_2d_compute.h>

Inheritance diagram for vgl_h_matrix_2d_compute:
Inheritance graph
[legend]

Public Member Functions

 vgl_h_matrix_2d_compute ()
 
virtual ~vgl_h_matrix_2d_compute ()=default
 
void verbose (bool v)
 
virtual int minimum_number_of_correspondences () const =0
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 

Protected Member Functions

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_l (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)=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
 

Protected Attributes

bool verbose_
 

Detailed Description

Definition at line 33 of file vgl_h_matrix_2d_compute.h.

Constructor & Destructor Documentation

◆ vgl_h_matrix_2d_compute()

vgl_h_matrix_2d_compute::vgl_h_matrix_2d_compute ( )
inline

Definition at line 36 of file vgl_h_matrix_2d_compute.h.

◆ ~vgl_h_matrix_2d_compute()

virtual vgl_h_matrix_2d_compute::~vgl_h_matrix_2d_compute ( )
virtualdefault

Member Function Documentation

◆ compute() [1/8]

bool vgl_h_matrix_2d_compute::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 
)
inline

homography from matched points.

Definition at line 52 of file vgl_h_matrix_2d_compute.h.

◆ compute() [2/8]

bool vgl_h_matrix_2d_compute::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 
)
inline

homography from matched lines.

Definition at line 60 of file vgl_h_matrix_2d_compute.h.

◆ compute() [3/8]

bool vgl_h_matrix_2d_compute::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 
)
inline

homography from matched lines with a weight vector.

Definition at line 68 of file vgl_h_matrix_2d_compute.h.

◆ compute() [4/8]

bool vgl_h_matrix_2d_compute::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 
)
inline

homography from matched points and lines.

Definition at line 77 of file vgl_h_matrix_2d_compute.h.

◆ compute() [5/8]

vgl_h_matrix_2d<double> vgl_h_matrix_2d_compute::compute ( std::vector< vgl_homg_point_2d< double > > const &  p1,
std::vector< vgl_homg_point_2d< double > > const &  p2 
)
inline

homography from matched points - return h_matrix.

Definition at line 88 of file vgl_h_matrix_2d_compute.h.

◆ compute() [6/8]

vgl_h_matrix_2d<double> vgl_h_matrix_2d_compute::compute ( std::vector< vgl_homg_line_2d< double > > const &  l1,
std::vector< vgl_homg_line_2d< double > > const &  l2 
)
inline

homography from matched lines - return h_matrix.

Definition at line 94 of file vgl_h_matrix_2d_compute.h.

◆ compute() [7/8]

vgl_h_matrix_2d<double> vgl_h_matrix_2d_compute::compute ( std::vector< vgl_homg_line_2d< double > > const &  l1,
std::vector< vgl_homg_line_2d< double > > const &  l2,
std::vector< double > const &  weights 
)
inline

homography from matched lines with weight vector - return h_matrix.

Definition at line 100 of file vgl_h_matrix_2d_compute.h.

◆ compute() [8/8]

vgl_h_matrix_2d<double> vgl_h_matrix_2d_compute::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 
)
inline

homography from matched points and lines - return h_matrix.

Definition at line 107 of file vgl_h_matrix_2d_compute.h.

◆ compute_l() [1/2]

virtual bool vgl_h_matrix_2d_compute::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 
)
protectedpure virtual

◆ compute_l() [2/2]

virtual bool vgl_h_matrix_2d_compute::compute_l ( 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 
)
protectedpure virtual

◆ compute_p()

virtual bool vgl_h_matrix_2d_compute::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 
)
protectedpure virtual

◆ compute_pl()

virtual bool vgl_h_matrix_2d_compute::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 
)
protectedpure virtual

◆ minimum_number_of_correspondences()

virtual int vgl_h_matrix_2d_compute::minimum_number_of_correspondences ( ) const
pure virtual

◆ verbose()

void vgl_h_matrix_2d_compute::verbose ( bool  v)
inline

Definition at line 40 of file vgl_h_matrix_2d_compute.h.

Member Data Documentation

◆ verbose_

bool vgl_h_matrix_2d_compute::verbose_
protected

Definition at line 114 of file vgl_h_matrix_2d_compute.h.


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