#include <FMatrixComputeRobust.h>

Public Member Functions | |
| FMatrixComputeRobust () | |
| virtual | ~FMatrixComputeRobust () |
| bool | compute (PairMatchSetCorner &matches, FMatrix *F) |
| Compute a fundamental matrix for a set of point matches. | |
| bool | compute (vcl_vector< HomgPoint2D > &p1, vcl_vector< HomgPoint2D > &p2, FMatrix *F) |
| bool | compute (vcl_vector< vgl_homg_point_2d< double > > &p1, vcl_vector< vgl_homg_point_2d< double > > &p2, FMatrix &F) |
| FMatrix | compute (PairMatchSetCorner &p) |
| Compute fundamental matrix using given matchlist and return an FMatrix object. | |
| FMatrix | compute (vcl_vector< HomgPoint2D > &p1, vcl_vector< HomgPoint2D > &p2) |
| FMatrix | compute (vcl_vector< vgl_homg_point_2d< double > > &p1, vcl_vector< vgl_homg_point_2d< double > > &p2) |
| vcl_vector< int > | get_basis () const |
| HomgPoint2D | get_epipole1 () const |
| HomgPoint2D | get_epipole2 () 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, FMatrix *F) |
| virtual double | calculate_residual (vgl_homg_point_2d< double > &one, vgl_homg_point_2d< double > &two, FMatrix *F) |
| vcl_vector< double > | calculate_residuals (vcl_vector< HomgPoint2D > &one, vcl_vector< HomgPoint2D > &two, FMatrix *F) |
| Calculate all the residuals for a given relation. | |
| vcl_vector< double > | calculate_residuals (vcl_vector< vgl_homg_point_2d< double > > &one, vcl_vector< vgl_homg_point_2d< double > > &two, FMatrix *F) |
| Calculate all the residuals for a given relation. | |
| double | stdev (vcl_vector< double > &residuals) |
| Find the standard deviation of the residuals. | |
Protected Attributes | |
| bool | rank2_truncate_ |
| double | inthresh_ |
| double | std_ |
Private Attributes | |
| int | row_ |
| int | col_ |
| vcl_vector< int > | basis_ |
| HomgPoint2D | epipole1_ |
| HomgPoint2D | epipole2_ |
| int | data_size_ |
| vcl_vector< double > | residuals_ |
| vcl_vector< bool > | inliers_ |
Definition at line 25 of file FMatrixComputeRobust.h.
| FMatrixComputeRobust::FMatrixComputeRobust | ( | ) |
Definition at line 14 of file FMatrixComputeRobust.cxx.
| FMatrixComputeRobust::~FMatrixComputeRobust | ( | ) | [virtual] |
Definition at line 16 of file FMatrixComputeRobust.cxx.
| double FMatrixComputeRobust::calculate_residual | ( | HomgPoint2D & | one, |
| HomgPoint2D & | two, | ||
| FMatrix * | F | ||
| ) | [virtual] |
Reimplemented in FMatrixComputeRANSAC, FMatrixComputeMLESAC, and FMatrixComputeLMedSq.
Definition at line 204 of file FMatrixComputeRobust.cxx.
| double FMatrixComputeRobust::calculate_residual | ( | vgl_homg_point_2d< double > & | one, |
| vgl_homg_point_2d< double > & | two, | ||
| FMatrix * | F | ||
| ) | [virtual] |
Reimplemented in FMatrixComputeRANSAC, FMatrixComputeMLESAC, and FMatrixComputeLMedSq.
Definition at line 194 of file FMatrixComputeRobust.cxx.
| vcl_vector< double > FMatrixComputeRobust::calculate_residuals | ( | vcl_vector< HomgPoint2D > & | one, |
| vcl_vector< HomgPoint2D > & | two, | ||
| FMatrix * | F | ||
| ) |
Calculate all the residuals for a given relation.
Definition at line 158 of file FMatrixComputeRobust.cxx.
| vcl_vector< double > FMatrixComputeRobust::calculate_residuals | ( | vcl_vector< vgl_homg_point_2d< double > > & | one, |
| vcl_vector< vgl_homg_point_2d< double > > & | two, | ||
| FMatrix * | F | ||
| ) |
Calculate all the residuals for a given relation.
Definition at line 145 of file FMatrixComputeRobust.cxx.
| double FMatrixComputeRobust::calculate_term | ( | vcl_vector< double > & | residuals, |
| vcl_vector< bool > & | inlier_list, | ||
| int & | count | ||
| ) | [virtual] |
Reimplemented in FMatrixComputeMLESAC, FMatrixComputeRANSAC, and FMatrixComputeLMedSq.
Definition at line 184 of file FMatrixComputeRobust.cxx.
| bool FMatrixComputeRobust::compute | ( | PairMatchSetCorner & | matches, |
| FMatrix * | F | ||
| ) | [virtual] |
Compute a fundamental matrix for a set of point matches.
Compute a robust fundamental matrix.
This is the implemented method, other computes wrap this.
Reimplemented from FMatrixCompute.
Definition at line 23 of file FMatrixComputeRobust.cxx.
| bool FMatrixComputeRobust::compute | ( | vcl_vector< HomgPoint2D > & | p1, |
| vcl_vector< HomgPoint2D > & | p2, | ||
| FMatrix * | F | ||
| ) | [inline, virtual] |
Reimplemented from FMatrixCompute.
Definition at line 36 of file FMatrixComputeRobust.h.
| bool FMatrixComputeRobust::compute | ( | vcl_vector< vgl_homg_point_2d< double > > & | p1, |
| vcl_vector< vgl_homg_point_2d< double > > & | p2, | ||
| FMatrix & | F | ||
| ) | [inline, virtual] |
Reimplemented from FMatrixCompute.
Definition at line 38 of file FMatrixComputeRobust.h.
| FMatrix FMatrixComputeRobust::compute | ( | PairMatchSetCorner & | matched_points | ) | [inline] |
Compute fundamental matrix using given matchlist and return an FMatrix object.
This is implemented in terms of compute(MatchList*, FMatrix*)
Reimplemented from FMatrixCompute.
Definition at line 43 of file FMatrixComputeRobust.h.
| FMatrix FMatrixComputeRobust::compute | ( | vcl_vector< HomgPoint2D > & | p1, |
| vcl_vector< HomgPoint2D > & | p2 | ||
| ) | [inline] |
Reimplemented from FMatrixCompute.
Definition at line 44 of file FMatrixComputeRobust.h.
| FMatrix FMatrixComputeRobust::compute | ( | vcl_vector< vgl_homg_point_2d< double > > & | p1, |
| vcl_vector< vgl_homg_point_2d< double > > & | p2 | ||
| ) | [inline] |
Reimplemented from FMatrixCompute.
Definition at line 46 of file FMatrixComputeRobust.h.
| vcl_vector<int> FMatrixComputeRobust::get_basis | ( | ) | const [inline] |
Definition at line 52 of file FMatrixComputeRobust.h.
| HomgPoint2D FMatrixComputeRobust::get_epipole1 | ( | ) | const [inline] |
Definition at line 53 of file FMatrixComputeRobust.h.
| HomgPoint2D FMatrixComputeRobust::get_epipole2 | ( | ) | const [inline] |
Definition at line 54 of file FMatrixComputeRobust.h.
| vcl_vector<bool> FMatrixComputeRobust::get_inliers | ( | ) | const [inline] |
Definition at line 56 of file FMatrixComputeRobust.h.
| vcl_vector<double> FMatrixComputeRobust::get_residuals | ( | ) | const [inline] |
Definition at line 55 of file FMatrixComputeRobust.h.
| double FMatrixComputeRobust::stdev | ( | vcl_vector< double > & | residuals | ) |
Find the standard deviation of the residuals.
Definition at line 171 of file FMatrixComputeRobust.cxx.
vcl_vector<int> FMatrixComputeRobust::basis_ [private] |
Definition at line 75 of file FMatrixComputeRobust.h.
int FMatrixComputeRobust::col_ [private] |
Definition at line 74 of file FMatrixComputeRobust.h.
int FMatrixComputeRobust::data_size_ [private] |
Definition at line 78 of file FMatrixComputeRobust.h.
HomgPoint2D FMatrixComputeRobust::epipole1_ [private] |
Definition at line 76 of file FMatrixComputeRobust.h.
HomgPoint2D FMatrixComputeRobust::epipole2_ [private] |
Definition at line 77 of file FMatrixComputeRobust.h.
vcl_vector<bool> FMatrixComputeRobust::inliers_ [private] |
Definition at line 80 of file FMatrixComputeRobust.h.
double FMatrixComputeRobust::inthresh_ [protected] |
Definition at line 70 of file FMatrixComputeRobust.h.
bool FMatrixComputeRobust::rank2_truncate_ [protected] |
Definition at line 69 of file FMatrixComputeRobust.h.
vcl_vector<double> FMatrixComputeRobust::residuals_ [private] |
Definition at line 79 of file FMatrixComputeRobust.h.
int FMatrixComputeRobust::row_ [private] |
Definition at line 73 of file FMatrixComputeRobust.h.
double FMatrixComputeRobust::std_ [protected] |
Definition at line 71 of file FMatrixComputeRobust.h.
1.7.5.1