#include <HMatrix2DCompute4Point.h>
Public Types | |
typedef vcl_vector< HomgPoint2D > | PointArray |
typedef vcl_vector< HomgLine2D > | LineArray |
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_ |
Definition at line 22 of file HMatrix2DCompute4Point.h.
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.
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] |
Reimplemented in HMatrix2DAffineCompute, HMatrix2DEuclideanCompute, and HMatrix2DSimilarityCompute.
Definition at line 61 of file HMatrix2DCompute.cxx.
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] |
Reimplemented in HMatrix2DAffineCompute, HMatrix2DEuclideanCompute, and HMatrix2DSimilarityCompute.
Definition at line 124 of file HMatrix2DCompute.cxx.
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 from each pointset to the canonical projective basis (see the ProjectiveBasis2D class), and returns the combined transform .
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.
bool HMatrix2DCompute::verbose_ [protected, inherited] |
Definition at line 57 of file HMatrix2DCompute.h.