#include <HMatrix2DComputeRobust.h>
Public Member Functions | |
HMatrix2DComputeRobust () | |
virtual | ~HMatrix2DComputeRobust () |
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 |
virtual double | calculate_term (vcl_vector< double > &residuals, vcl_vector< bool > &inlier_list, int &count) |
virtual double | calculate_residual (HomgPoint2D &one, HomgPoint2D &two, HMatrix2D *H) |
virtual double | calculate_residual (vgl_homg_point_2d< double > &one, vgl_homg_point_2d< double > &two, HMatrix2D *H) |
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 19 of file HMatrix2DComputeRobust.h.
HMatrix2DComputeRobust::HMatrix2DComputeRobust | ( | ) |
Definition at line 13 of file HMatrix2DComputeRobust.cxx.
HMatrix2DComputeRobust::~HMatrix2DComputeRobust | ( | ) | [virtual] |
Definition at line 15 of file HMatrix2DComputeRobust.cxx.
double HMatrix2DComputeRobust::calculate_residual | ( | HomgPoint2D & | one, |
HomgPoint2D & | two, | ||
HMatrix2D * | H | ||
) | [virtual] |
Reimplemented in HMatrix2DComputeMLESAC.
Definition at line 232 of file HMatrix2DComputeRobust.cxx.
double HMatrix2DComputeRobust::calculate_residual | ( | vgl_homg_point_2d< double > & | one, |
vgl_homg_point_2d< double > & | two, | ||
HMatrix2D * | H | ||
) | [virtual] |
Reimplemented in HMatrix2DComputeMLESAC.
Definition at line 222 of file HMatrix2DComputeRobust.cxx.
vcl_vector< double > HMatrix2DComputeRobust::calculate_residuals | ( | vcl_vector< HomgPoint2D > & | one, |
vcl_vector< HomgPoint2D > & | two, | ||
HMatrix2D * | H | ||
) |
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 | ||
) |
Definition at line 186 of file HMatrix2DComputeRobust.cxx.
double HMatrix2DComputeRobust::calculate_term | ( | vcl_vector< double > & | residuals, |
vcl_vector< bool > & | inlier_list, | ||
int & | count | ||
) | [virtual] |
Reimplemented in HMatrix2DComputeMLESAC.
Definition at line 212 of file HMatrix2DComputeRobust.cxx.
bool HMatrix2DComputeRobust::compute | ( | PairMatchSetCorner & | matches, |
HMatrix2D * | H | ||
) |
Compute a robust homography.
Return false if the calculation fails.
Definition at line 76 of file HMatrix2DComputeRobust.cxx.
HMatrix2D HMatrix2DComputeRobust::compute | ( | PairMatchSetCorner & | matches | ) |
Definition at line 18 of file HMatrix2DComputeRobust.cxx.
HMatrix2D HMatrix2DComputeRobust::compute | ( | vcl_vector< HomgPoint2D > & | points1, |
vcl_vector< HomgPoint2D > & | points2 | ||
) |
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 | ||
) |
Definition at line 48 of file HMatrix2DComputeRobust.cxx.
vcl_vector<int> HMatrix2DComputeRobust::get_basis | ( | ) | const [inline] |
Definition at line 34 of file HMatrix2DComputeRobust.h.
vcl_vector<bool> HMatrix2DComputeRobust::get_inliers | ( | ) | const [inline] |
Definition at line 36 of file HMatrix2DComputeRobust.h.
vcl_vector<double> HMatrix2DComputeRobust::get_residuals | ( | ) | const [inline] |
Definition at line 35 of file HMatrix2DComputeRobust.h.
double HMatrix2DComputeRobust::stdev | ( | vcl_vector< double > & | residuals | ) |
Definition at line 175 of file HMatrix2DComputeRobust.cxx.
vcl_vector<int> HMatrix2DComputeRobust::basis_ |
Definition at line 50 of file HMatrix2DComputeRobust.h.
Definition at line 51 of file HMatrix2DComputeRobust.h.
vcl_vector<bool> HMatrix2DComputeRobust::inliers_ |
Definition at line 53 of file HMatrix2DComputeRobust.h.
vcl_vector<double> HMatrix2DComputeRobust::residuals_ |
Definition at line 52 of file HMatrix2DComputeRobust.h.
double HMatrix2DComputeRobust::std_ |
Definition at line 49 of file HMatrix2DComputeRobust.h.