#include <FMatrixCompute.h>
Public Member Functions | |
FMatrixCompute () | |
Construct an FMatrixCompute which points to the given list of 2D point matches. | |
virtual | ~FMatrixCompute () |
Destructor. | |
virtual bool | compute (PairMatchSetCorner &matched_points, FMatrix *f_matrix_ptr) |
This is the virtual compute interface. | |
virtual bool | compute (vcl_vector< HomgPoint2D > &, vcl_vector< HomgPoint2D > &, FMatrix *f_matrix_ptr) |
virtual bool | compute (vcl_vector< vgl_homg_point_2d< double > > &, vcl_vector< vgl_homg_point_2d< double > > &, FMatrix &f_matrix_ptr) |
FMatrix | compute (PairMatchSetCorner &matched_points) |
Compute fundamental matrix using given matchlist and return an FMatrix object. | |
FMatrix | compute (vcl_vector< HomgPoint2D > &pts1, vcl_vector< HomgPoint2D > &pts2) |
FMatrix | compute (vcl_vector< vgl_homg_point_2d< double > > &pts1, vcl_vector< vgl_homg_point_2d< double > > &pts2) |
Definition at line 41 of file FMatrixCompute.h.
FMatrixCompute::FMatrixCompute | ( | ) |
Construct an FMatrixCompute which points to the given list of 2D point matches.
The list is owned by the caller, and must remain in scope at least as long as the FMatrixCompute.
Definition at line 20 of file FMatrixCompute.cxx.
FMatrixCompute::~FMatrixCompute | ( | ) | [virtual] |
Destructor.
Definition at line 28 of file FMatrixCompute.cxx.
bool FMatrixCompute::compute | ( | PairMatchSetCorner & | matches, |
FMatrix * | F_out | ||
) | [virtual] |
This is the virtual compute interface.
Compute fundamental matrix using given matchlist.
These 3 functions are implemented in terms of each other, so it suffices to implement exactly one of them in a derived class, and implement the other ones by calling this implementation.
This is implemented in terms of compute(FMatrix*). This circular dependency means that only one of these three functions needs to be implemented for all three to work.
It also means that calling one of these on a base FMatrixCompute will blow your stack, but FMatrixCompute is abstract so that ``can't happen''.
Reimplemented in FMPlanarComputeNonLinear, FMatrixComputeLinear, and FMatrixComputeRobust.
Definition at line 43 of file FMatrixCompute.cxx.
bool FMatrixCompute::compute | ( | vcl_vector< HomgPoint2D > & | points1, |
vcl_vector< HomgPoint2D > & | points2, | ||
FMatrix * | f_matrix_ptr | ||
) | [virtual] |
Reimplemented in FMPlanarComputeNonLinear, FMatrixComputeLinear, and FMatrixComputeRobust.
Definition at line 71 of file FMatrixCompute.cxx.
bool FMatrixCompute::compute | ( | vcl_vector< vgl_homg_point_2d< double > > & | points1, |
vcl_vector< vgl_homg_point_2d< double > > & | points2, | ||
FMatrix & | f_matrix_ptr | ||
) | [virtual] |
Reimplemented in FMatrixComputeLinear, FMPlanarComputeNonLinear, and FMatrixComputeRobust.
Definition at line 52 of file FMatrixCompute.cxx.
FMatrix FMatrixCompute::compute | ( | PairMatchSetCorner & | matched_points | ) | [inline] |
Compute fundamental matrix using given matchlist and return an FMatrix object.
This is implemented in terms of compute(MatchList*, FMatrix*)
Reimplemented in FMatrixComputeLinear, and FMatrixComputeRobust.
Definition at line 59 of file FMatrixCompute.h.
FMatrix FMatrixCompute::compute | ( | vcl_vector< HomgPoint2D > & | pts1, |
vcl_vector< HomgPoint2D > & | pts2 | ||
) | [inline] |
Reimplemented in FMatrixComputeLinear, and FMatrixComputeRobust.
Definition at line 62 of file FMatrixCompute.h.
FMatrix FMatrixCompute::compute | ( | vcl_vector< vgl_homg_point_2d< double > > & | pts1, |
vcl_vector< vgl_homg_point_2d< double > > & | pts2 | ||
) | [inline] |
Reimplemented in FMatrixComputeLinear, and FMatrixComputeRobust.
Definition at line 64 of file FMatrixCompute.h.