#include <vpgl_fm_compute_7_point.h>
Public Member Functions | |
vpgl_fm_compute_7_point (bool precondition=true) | |
If precondition = true, points are conditioned prior to computation. | |
bool | compute (const vcl_vector< vgl_homg_point_2d< double > > &pr, const vcl_vector< vgl_homg_point_2d< double > > &pl, vcl_vector< vpgl_fundamental_matrix< double > * > &fm) |
Compute from two sets of corresponding points. | |
Static Protected Member Functions | |
static vcl_vector< double > | get_coeffs (vnl_double_3x3 const &F1, vnl_double_3x3 const &F2) |
static vcl_vector< double > | solve_quadratic (vcl_vector< double > v) |
static vcl_vector< double > | solve_cubic (vcl_vector< double > v) |
Protected Attributes | |
bool | precondition_ |
Definition at line 16 of file vpgl_fm_compute_7_point.h.
vpgl_fm_compute_7_point::vpgl_fm_compute_7_point | ( | bool | precondition = true | ) | [inline] |
If precondition = true, points are conditioned prior to computation.
Definition at line 20 of file vpgl_fm_compute_7_point.h.
bool vpgl_fm_compute_7_point::compute | ( | const vcl_vector< vgl_homg_point_2d< double > > & | pr, |
const vcl_vector< vgl_homg_point_2d< double > > & | pl, | ||
vcl_vector< vpgl_fundamental_matrix< double > * > & | fm | ||
) |
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 16 of file vpgl_fm_compute_7_point.cxx.
vcl_vector< double > vpgl_fm_compute_7_point::get_coeffs | ( | vnl_double_3x3 const & | F1, |
vnl_double_3x3 const & | F2 | ||
) | [static, protected] |
Definition at line 93 of file vpgl_fm_compute_7_point.cxx.
vcl_vector< double > vpgl_fm_compute_7_point::solve_cubic | ( | vcl_vector< double > | v | ) | [static, protected] |
Definition at line 144 of file vpgl_fm_compute_7_point.cxx.
vcl_vector< double > vpgl_fm_compute_7_point::solve_quadratic | ( | vcl_vector< double > | v | ) | [static, protected] |
Definition at line 123 of file vpgl_fm_compute_7_point.cxx.
bool vpgl_fm_compute_7_point::precondition_ [protected] |
Definition at line 36 of file vpgl_fm_compute_7_point.h.