Public Member Functions | Public Attributes | Protected Attributes
vpgl_fm_compute_reg_ransac Class Reference

This is the main class for computing the fundamental matrix from lists of corresponding points. More...

#include <vpgl_fm_compute_reg_ransac.h>

List of all members.

Public Member Functions

 vpgl_fm_compute_reg_ransac (vpgl_fm_compute_reg_ransac_params *params)
bool compute (const vcl_vector< vgl_point_2d< double > > &pr, const vcl_vector< vgl_point_2d< double > > &pl, vpgl_reg_fundamental_matrix< double > &fm)
 Compute from two sets of corresponding points.

Public Attributes

vcl_vector< bool > outliers
 After "compute" this will have true in the indices determined to be outliers.

Protected Attributes

vpgl_fm_compute_reg_ransac_paramsparams_

Detailed Description

This is the main class for computing the fundamental matrix from lists of corresponding points.

Definition at line 26 of file vpgl_fm_compute_reg_ransac.h.


Constructor & Destructor Documentation

vpgl_fm_compute_reg_ransac::vpgl_fm_compute_reg_ransac ( vpgl_fm_compute_reg_ransac_params params) [inline]

Definition at line 29 of file vpgl_fm_compute_reg_ransac.h.


Member Function Documentation

bool vpgl_fm_compute_reg_ransac::compute ( const vcl_vector< vgl_point_2d< double > > &  pr,
const vcl_vector< vgl_point_2d< double > > &  pl,
vpgl_reg_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 20 of file vpgl_fm_compute_reg_ransac.cxx.


Member Data Documentation

After "compute" this will have true in the indices determined to be outliers.

Definition at line 41 of file vpgl_fm_compute_reg_ransac.h.

Definition at line 44 of file vpgl_fm_compute_reg_ransac.h.


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