Public Member Functions | Static Protected Member Functions | Protected Attributes
vpgl_fm_compute_7_point Class Reference

#include <vpgl_fm_compute_7_point.h>

List of all members.

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_

Detailed Description

Definition at line 16 of file vpgl_fm_compute_7_point.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


Member Data Documentation

Definition at line 36 of file vpgl_fm_compute_7_point.h.


The documentation for this class was generated from the following files: