2 #ifndef vpgl_fm_compute_7_point_h_ 3 #define vpgl_fm_compute_7_point_h_ 35 static std::vector<double>
solve_cubic( std::vector<double> v );
39 #endif // vpgl_fm_compute_7_point_h_ A class for the fundamental matrix between two projective cameras.
static std::vector< double > get_coeffs(vnl_double_3x3 const &F1, vnl_double_3x3 const &F2)
static std::vector< double > solve_quadratic(std::vector< double > v)
static std::vector< double > solve_cubic(std::vector< double > v)
bool compute(const std::vector< vgl_homg_point_2d< double > > &pr, const std::vector< vgl_homg_point_2d< double > > &pl, std::vector< vpgl_fundamental_matrix< double > * > &fm)
Compute from two sets of corresponding points.
vpgl_fm_compute_7_point(bool precondition=true)
If precondition = true, points are conditioned prior to computation.