Public Member Functions | Protected Member Functions | Protected Attributes
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]

List of all members.

Public Member Functions

 vgl_h_matrix_1d_compute_3point (void)
 ~vgl_h_matrix_1d_compute_3point ()
void verbose (bool v)
 set this to true for verbose run-time information; default is false.
bool compute (const vcl_vector< vgl_homg_point_1d< double > > &p1, const vcl_vector< vgl_homg_point_1d< double > > &p2, vgl_h_matrix_1d< double > &H)
 principal interface: given point correspondences in p1,p2, returns H.
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.
vgl_h_matrix_1d< double > compute (vcl_vector< vgl_homg_point_1d< double > > const &p1, vcl_vector< vgl_homg_point_1d< double > > const &p2)
 homography from matched points - return h_matrix.

Protected Member Functions

virtual bool compute_cool_homg (const vcl_vector< vgl_homg_point_1d< double > > &points1, const vcl_vector< vgl_homg_point_1d< double > > &points2, vgl_h_matrix_1d< double > &H)
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 ( void  ) [inline]

Definition at line 28 of file vgl_h_matrix_1d_compute_3point.h.

vgl_h_matrix_1d_compute_3point::~vgl_h_matrix_1d_compute_3point ( ) [inline]

Definition at line 29 of file vgl_h_matrix_1d_compute_3point.h.


Member Function Documentation

bool vgl_h_matrix_1d_compute::compute ( const vcl_vector< vgl_homg_point_1d< double > > &  p1,
const vcl_vector< vgl_homg_point_1d< double > > &  p2,
vgl_h_matrix_1d< double > &  H 
) [inline, inherited]

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

Definition at line 40 of file vgl_h_matrix_1d_compute.h.

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

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

Definition at line 46 of file vgl_h_matrix_1d_compute.h.

vgl_h_matrix_1d<double> vgl_h_matrix_1d_compute::compute ( vcl_vector< vgl_homg_point_1d< double > > const &  p1,
vcl_vector< vgl_homg_point_1d< double > > const &  p2 
) [inline, inherited]

homography from matched points - return h_matrix.

Definition at line 54 of file vgl_h_matrix_1d_compute.h.

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

Definition at line 65 of file vgl_h_matrix_1d_compute.h.

bool vgl_h_matrix_1d_compute_3point::compute_cool_homg ( const vcl_vector< vgl_homg_point_1d< double > > &  points1,
const vcl_vector< vgl_homg_point_1d< double > > &  points2,
vgl_h_matrix_1d< double > &  H 
) [protected, virtual]

Implements vgl_h_matrix_1d_compute.

Definition at line 32 of file vgl_h_matrix_1d_compute_3point.cxx.

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

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

Definition at line 33 of file vgl_h_matrix_1d_compute.h.


Member Data Documentation

bool vgl_h_matrix_1d_compute::verbose_ [protected, inherited]

Definition at line 59 of file vgl_h_matrix_1d_compute.h.


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