Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vgl_h_matrix_1d_compute_3point Class Reference

Calculate the line projectivity which matches three 1D point correspondences. More...

#include <vgl_h_matrix_1d_compute_3point.h>

Inheritance diagram for vgl_h_matrix_1d_compute_3point:
Inheritance graph
[legend]

Public Member Functions

 vgl_h_matrix_1d_compute_3point (void)=default
 
 ~vgl_h_matrix_1d_compute_3point () override=default
 
void verbose (bool v)
 set this to true for verbose run-time information; default is false. More...
 
bool compute (const std::vector< vgl_homg_point_1d< double > > &p1, const std::vector< vgl_homg_point_1d< double > > &p2, vgl_h_matrix_1d< double > &H)
 principal interface: given point correspondences in p1,p2, returns H. More...
 
bool compute (const double p1[], const double p2[], unsigned int length, vgl_h_matrix_1d< double > &H)
 nonhomogeneous interface: given point correspondences in p1,p2, returns H. More...
 
vgl_h_matrix_1d< double > compute (std::vector< vgl_homg_point_1d< double > > const &p1, std::vector< vgl_homg_point_1d< double > > const &p2)
 homography from matched points - return h_matrix. More...
 

Protected Member Functions

bool compute_cool_homg (const std::vector< vgl_homg_point_1d< double > > &points1, const std::vector< vgl_homg_point_1d< double > > &points2, vgl_h_matrix_1d< double > &H) override
 
bool compute_array_dbl (const double p1[], const double p2[], unsigned int length, vgl_h_matrix_1d< double > &H)
 

Protected Attributes

bool verbose_
 

Detailed Description

Calculate the line projectivity which matches three 1D point correspondences.

To obtain the H-matrix from 3 point pairs, call the compute() method from the parent class vgl_h_matrix_1d_compute.

Definition at line 25 of file vgl_h_matrix_1d_compute_3point.h.

Constructor & Destructor Documentation

◆ vgl_h_matrix_1d_compute_3point()

vgl_h_matrix_1d_compute_3point::vgl_h_matrix_1d_compute_3point ( void  )
default

◆ ~vgl_h_matrix_1d_compute_3point()

vgl_h_matrix_1d_compute_3point::~vgl_h_matrix_1d_compute_3point ( )
overridedefault

Member Function Documentation

◆ compute() [1/3]

bool vgl_h_matrix_1d_compute::compute ( const std::vector< vgl_homg_point_1d< double > > &  p1,
const std::vector< vgl_homg_point_1d< double > > &  p2,
vgl_h_matrix_1d< double > &  H 
)
inlineinherited

principal interface: given point correspondences in p1,p2, returns H.

Definition at line 43 of file vgl_h_matrix_1d_compute.h.

◆ compute() [2/3]

bool vgl_h_matrix_1d_compute::compute ( const double  p1[],
const double  p2[],
unsigned int  length,
vgl_h_matrix_1d< double > &  H 
)
inlineinherited

nonhomogeneous interface: given point correspondences in p1,p2, returns H.

Definition at line 49 of file vgl_h_matrix_1d_compute.h.

◆ compute() [3/3]

vgl_h_matrix_1d<double> vgl_h_matrix_1d_compute::compute ( std::vector< vgl_homg_point_1d< double > > const &  p1,
std::vector< vgl_homg_point_1d< double > > const &  p2 
)
inlineinherited

homography from matched points - return h_matrix.

Definition at line 57 of file vgl_h_matrix_1d_compute.h.

◆ compute_array_dbl()

bool vgl_h_matrix_1d_compute::compute_array_dbl ( const double  p1[],
const double  p2[],
unsigned int  length,
vgl_h_matrix_1d< double > &  H 
)
inlineprotectedinherited

Definition at line 68 of file vgl_h_matrix_1d_compute.h.

◆ compute_cool_homg()

bool vgl_h_matrix_1d_compute_3point::compute_cool_homg ( const std::vector< vgl_homg_point_1d< double > > &  points1,
const std::vector< vgl_homg_point_1d< double > > &  points2,
vgl_h_matrix_1d< double > &  H 
)
overrideprotectedvirtual

Implements vgl_h_matrix_1d_compute.

Definition at line 35 of file vgl_h_matrix_1d_compute_3point.cxx.

◆ verbose()

void vgl_h_matrix_1d_compute::verbose ( bool  v)
inlineinherited

set this to true for verbose run-time information; default is false.

Definition at line 36 of file vgl_h_matrix_1d_compute.h.

Member Data Documentation

◆ verbose_

bool vgl_h_matrix_1d_compute::verbose_
protectedinherited

Definition at line 62 of file vgl_h_matrix_1d_compute.h.


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