#include <HMatrix2DComputeMLESAC.h>
Public Member Functions | |
HMatrix2DComputeMLESAC (double std) | |
Initialize HMatrix2DComputeRobust object. | |
virtual | ~HMatrix2DComputeMLESAC () |
virtual double | calculate_term (vcl_vector< double > &residuals, vcl_vector< bool > &inlier_list, int &count) |
virtual double | calculate_residual (HomgPoint2D &one, HomgPoint2D &two, HMatrix2D *F) |
virtual double | calculate_residual (vgl_homg_point_2d< double > &one, vgl_homg_point_2d< double > &two, HMatrix2D *F) |
bool | compute (PairMatchSetCorner &matches, HMatrix2D *H) |
Compute a robust homography. | |
HMatrix2D | compute (PairMatchSetCorner &matches) |
HMatrix2D | compute (vcl_vector< HomgPoint2D > &points1, vcl_vector< HomgPoint2D > &points2) |
HMatrix2D | compute (vcl_vector< vgl_homg_point_2d< double > > &points1, vcl_vector< vgl_homg_point_2d< double > > &points2) |
vcl_vector< int > | get_basis () const |
vcl_vector< double > | get_residuals () const |
vcl_vector< bool > | get_inliers () const |
vcl_vector< double > | calculate_residuals (vcl_vector< HomgPoint2D > &one, vcl_vector< HomgPoint2D > &two, HMatrix2D *H) |
vcl_vector< double > | calculate_residuals (vcl_vector< vgl_homg_point_2d< double > > &one, vcl_vector< vgl_homg_point_2d< double > > &two, HMatrix2D *H) |
double | stdev (vcl_vector< double > &residuals) |
Public Attributes | |
double | std_ |
vcl_vector< int > | basis_ |
int | data_size_ |
vcl_vector< double > | residuals_ |
vcl_vector< bool > | inliers_ |
Definition at line 33 of file HMatrix2DComputeMLESAC.h.
HMatrix2DComputeMLESAC::HMatrix2DComputeMLESAC | ( | double | std | ) |
Initialize HMatrix2DComputeRobust object.
Definition at line 11 of file HMatrix2DComputeMLESAC.cxx.
HMatrix2DComputeMLESAC::~HMatrix2DComputeMLESAC | ( | ) | [virtual] |
Definition at line 16 of file HMatrix2DComputeMLESAC.cxx.
double HMatrix2DComputeMLESAC::calculate_residual | ( | HomgPoint2D & | one, |
HomgPoint2D & | two, | ||
HMatrix2D * | H | ||
) | [virtual] |
Reimplemented from HMatrix2DComputeRobust.
Definition at line 45 of file HMatrix2DComputeMLESAC.cxx.
double HMatrix2DComputeMLESAC::calculate_residual | ( | vgl_homg_point_2d< double > & | one, |
vgl_homg_point_2d< double > & | two, | ||
HMatrix2D * | H | ||
) | [virtual] |
Reimplemented from HMatrix2DComputeRobust.
Definition at line 35 of file HMatrix2DComputeMLESAC.cxx.
vcl_vector< double > HMatrix2DComputeRobust::calculate_residuals | ( | vcl_vector< HomgPoint2D > & | one, |
vcl_vector< HomgPoint2D > & | two, | ||
HMatrix2D * | H | ||
) | [inherited] |
Definition at line 198 of file HMatrix2DComputeRobust.cxx.
vcl_vector< double > HMatrix2DComputeRobust::calculate_residuals | ( | vcl_vector< vgl_homg_point_2d< double > > & | one, |
vcl_vector< vgl_homg_point_2d< double > > & | two, | ||
HMatrix2D * | H | ||
) | [inherited] |
Definition at line 186 of file HMatrix2DComputeRobust.cxx.
double HMatrix2DComputeMLESAC::calculate_term | ( | vcl_vector< double > & | residuals, |
vcl_vector< bool > & | inlier_list, | ||
int & | count | ||
) | [virtual] |
Reimplemented from HMatrix2DComputeRobust.
Definition at line 18 of file HMatrix2DComputeMLESAC.cxx.
bool HMatrix2DComputeRobust::compute | ( | PairMatchSetCorner & | matches, |
HMatrix2D * | H | ||
) | [inherited] |
Compute a robust homography.
Return false if the calculation fails.
Definition at line 76 of file HMatrix2DComputeRobust.cxx.
HMatrix2D HMatrix2DComputeRobust::compute | ( | PairMatchSetCorner & | matches | ) | [inherited] |
Definition at line 18 of file HMatrix2DComputeRobust.cxx.
HMatrix2D HMatrix2DComputeRobust::compute | ( | vcl_vector< HomgPoint2D > & | points1, |
vcl_vector< HomgPoint2D > & | points2 | ||
) | [inherited] |
Definition at line 27 of file HMatrix2DComputeRobust.cxx.
HMatrix2D HMatrix2DComputeRobust::compute | ( | vcl_vector< vgl_homg_point_2d< double > > & | points1, |
vcl_vector< vgl_homg_point_2d< double > > & | points2 | ||
) | [inherited] |
Definition at line 48 of file HMatrix2DComputeRobust.cxx.
vcl_vector<int> HMatrix2DComputeRobust::get_basis | ( | ) | const [inline, inherited] |
Definition at line 34 of file HMatrix2DComputeRobust.h.
vcl_vector<bool> HMatrix2DComputeRobust::get_inliers | ( | ) | const [inline, inherited] |
Definition at line 36 of file HMatrix2DComputeRobust.h.
vcl_vector<double> HMatrix2DComputeRobust::get_residuals | ( | ) | const [inline, inherited] |
Definition at line 35 of file HMatrix2DComputeRobust.h.
double HMatrix2DComputeRobust::stdev | ( | vcl_vector< double > & | residuals | ) | [inherited] |
Definition at line 175 of file HMatrix2DComputeRobust.cxx.
vcl_vector<int> HMatrix2DComputeRobust::basis_ [inherited] |
Definition at line 50 of file HMatrix2DComputeRobust.h.
int HMatrix2DComputeRobust::data_size_ [inherited] |
Definition at line 51 of file HMatrix2DComputeRobust.h.
vcl_vector<bool> HMatrix2DComputeRobust::inliers_ [inherited] |
Definition at line 53 of file HMatrix2DComputeRobust.h.
vcl_vector<double> HMatrix2DComputeRobust::residuals_ [inherited] |
Definition at line 52 of file HMatrix2DComputeRobust.h.
double HMatrix2DComputeRobust::std_ [inherited] |
Definition at line 49 of file HMatrix2DComputeRobust.h.