#include <vpgl_fm_compute_ransac.h>
Definition at line 25 of file vpgl_fm_compute_ransac.h.
Public Member Functions | |
| vpgl_fm_compute_ransac () | |
| bool | compute (const vcl_vector< vgl_point_2d< double > > &pr, const vcl_vector< vgl_point_2d< double > > &pl, vpgl_fundamental_matrix< double > &fm) |
| Compute from two sets of corresponding points. | |
| void | set_max_outlier_frac (const double max_frac) |
| The upper bound on the fraction of outlier correspondences. | |
| void | set_desired_prob_good (const double prob_good) |
| The probability that a correct correspondence tuple is found. | |
| void | set_max_pops (const int max_pops) |
| the max number of populations in the sample (typically one). | |
| void | set_generate_all (const bool gen_all) |
| Force the generation of all sample 8 tuples. | |
| void | set_outlier_threshold (const double thresh) |
| Set the threshold on epipolar distance that determines that a correspondence is an outlier. | |
| void | set_trace_level (int trace_level) |
| Set the trace level for debugging. | |
Public Attributes | |
| vcl_vector< bool > | outliers |
| After "compute" indices will have true set for correspondences that are outliers. | |
| vcl_vector< double > | residuals |
| After "compute" this will have point distances from epipolar lines. | |
Private Attributes | |
| double | outlier_thresh_ |
| double | max_outlier_frac_ |
| double | desired_prob_good_ |
| int | max_pops_ |
| bool | gen_all_ |
| int | trace_level_ |
|
|
Definition at line 28 of file vpgl_fm_compute_ransac.h. |
|
||||||||||||||||
|
Compute from two sets of corresponding points. Put the resulting matrix into fm, return true if successful. Points pr are associated with the RHS of the fundamental matrix while the points pl are associated with the LHS. Definition at line 18 of file vpgl_fm_compute_ransac.cxx. |
|
|
The probability that a correct correspondence tuple is found.
Definition at line 42 of file vpgl_fm_compute_ransac.h. |
|
|
Force the generation of all sample 8 tuples.
Definition at line 47 of file vpgl_fm_compute_ransac.h. |
|
|
The upper bound on the fraction of outlier correspondences.
Definition at line 40 of file vpgl_fm_compute_ransac.h. |
|
|
the max number of populations in the sample (typically one).
Definition at line 44 of file vpgl_fm_compute_ransac.h. |
|
|
Set the threshold on epipolar distance that determines that a correspondence is an outlier.
Definition at line 50 of file vpgl_fm_compute_ransac.h. |
|
|
Set the trace level for debugging.
Definition at line 53 of file vpgl_fm_compute_ransac.h. |
|
|
Definition at line 64 of file vpgl_fm_compute_ransac.h. |
|
|
Definition at line 66 of file vpgl_fm_compute_ransac.h. |
|
|
Definition at line 63 of file vpgl_fm_compute_ransac.h. |
|
|
Definition at line 65 of file vpgl_fm_compute_ransac.h. |
|
|
Definition at line 62 of file vpgl_fm_compute_ransac.h. |
|
|
After "compute" indices will have true set for correspondences that are outliers.
Definition at line 56 of file vpgl_fm_compute_ransac.h. |
|
|
After "compute" this will have point distances from epipolar lines.
Definition at line 59 of file vpgl_fm_compute_ransac.h. |
|
|
Definition at line 67 of file vpgl_fm_compute_ransac.h. |
1.4.4