Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
HMatrix2DCompute4Point Class Reference

#include <HMatrix2DCompute4Point.h>

Inheritance diagram for HMatrix2DCompute4Point:
Inheritance graph
[legend]

List of all members.

Public Types

typedef vcl_vector< HomgPoint2DPointArray
typedef vcl_vector< HomgLine2DLineArray

Public Member Functions

int minimum_number_of_correspondences () const
void verbose (bool v)
bool compute (PointArray const &, PointArray const &, HMatrix2D *)
bool compute (LineArray const &, LineArray const &, HMatrix2D *)
bool compute (PointArray const &, PointArray const &, LineArray const &, LineArray const &, HMatrix2D *)
bool compute (PairMatchSetCorner const &, HMatrix2D *)
HMatrix2D compute (PointArray const &, PointArray const &)
HMatrix2D compute (LineArray const &, LineArray const &)
HMatrix2D compute (PointArray const &, PointArray const &, LineArray const &, LineArray const &)
HMatrix2D compute (PairMatchSetCorner const &)

Protected Member Functions

bool compute_p (PointArray const &, PointArray const &, HMatrix2D *)
 Compute a plane-plane projectivity using 4 point correspondences.
virtual bool compute_l (LineArray const &, LineArray const &, HMatrix2D *)
virtual bool compute_pl (PointArray const &, PointArray const &, LineArray const &, LineArray const &, HMatrix2D *)

Protected Attributes

bool verbose_

Detailed Description

Definition at line 22 of file HMatrix2DCompute4Point.h.


Member Typedef Documentation

typedef vcl_vector<HomgLine2D> HMatrix2DCompute::LineArray [inherited]

Definition at line 38 of file HMatrix2DCompute.h.

typedef vcl_vector<HomgPoint2D> HMatrix2DCompute::PointArray [inherited]

Definition at line 37 of file HMatrix2DCompute.h.


Member Function Documentation

bool HMatrix2DCompute::compute ( PointArray const &  p1,
PointArray const &  p2,
HMatrix2D H 
) [inherited]

Definition at line 53 of file HMatrix2DCompute.cxx.

bool HMatrix2DCompute::compute ( LineArray const &  l1,
LineArray const &  l2,
HMatrix2D H 
) [inherited]

Definition at line 72 of file HMatrix2DCompute.cxx.

bool HMatrix2DCompute::compute ( PointArray const &  p1,
PointArray const &  p2,
LineArray const &  l1,
LineArray const &  l2,
HMatrix2D H 
) [inherited]

Definition at line 91 of file HMatrix2DCompute.cxx.

bool HMatrix2DCompute::compute ( PairMatchSetCorner const &  matches,
HMatrix2D H 
) [inherited]

Definition at line 114 of file HMatrix2DCompute.cxx.

HMatrix2D HMatrix2DCompute::compute ( PointArray const &  p1,
PointArray const &  p2 
) [inherited]
HMatrix2D HMatrix2DCompute::compute ( LineArray const &  l1,
LineArray const &  l2 
) [inherited]

Definition at line 80 of file HMatrix2DCompute.cxx.

HMatrix2D HMatrix2DCompute::compute ( PointArray const &  p1,
PointArray const &  p2,
LineArray const &  l1,
LineArray const &  l2 
) [inherited]

Definition at line 101 of file HMatrix2DCompute.cxx.

HMatrix2D HMatrix2DCompute::compute ( PairMatchSetCorner const &  matches) [inherited]
bool HMatrix2DCompute::compute_l ( LineArray const &  l1,
LineArray const &  l2,
HMatrix2D H 
) [protected, virtual, inherited]

Reimplemented in HMatrix2DCompute4Line.

Definition at line 20 of file HMatrix2DCompute.cxx.

bool HMatrix2DCompute4Point::compute_p ( PointArray const &  points1,
PointArray const &  points2,
HMatrix2D H 
) [protected, virtual]

Compute a plane-plane projectivity using 4 point correspondences.

Returns false if the calculation fails or there are fewer than four point matches in the list.

The algorithm determines the transformation $H_i$ from each pointset to the canonical projective basis (see the ProjectiveBasis2D class), and returns the combined transform $H = H_2^{-1} H_1$.

Reimplemented from HMatrix2DCompute.

Definition at line 28 of file HMatrix2DCompute4Point.cxx.

bool HMatrix2DCompute::compute_pl ( PointArray const &  ,
PointArray const &  ,
LineArray const &  ,
LineArray const &  ,
HMatrix2D  
) [protected, virtual, inherited]

Definition at line 29 of file HMatrix2DCompute.cxx.

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

Implements HMatrix2DCompute.

Definition at line 24 of file HMatrix2DCompute4Point.h.

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

Definition at line 31 of file HMatrix2DCompute.h.


Member Data Documentation

bool HMatrix2DCompute::verbose_ [protected, inherited]

Definition at line 57 of file HMatrix2DCompute.h.


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