lfeat::Ransac Class Reference

#include <RansacFiltering.h>

List of all members.

Public Member Functions

 Ransac ()
void filter (std::vector< PointMatchPtr > &ioMatches, std::vector< PointMatchPtr > &ioRemovedMatches)
void setIterations (int iIters)
void setDistanceThreshold (int iDT)
void transform (double iX, double iY, double &oX, double &oY)

Public Attributes

Homography _bestModel

Private Member Functions

double calcError (Homography *aH, PointMatch &aM)

Private Attributes

int _nIter
int _distanceThres


Constructor & Destructor Documentation

lfeat::Ransac::Ransac  )  [inline]
 

Definition at line 33 of file RansacFiltering.h.


Member Function Documentation

double lfeat::Ransac::calcError Homography aH,
PointMatch aM
[private]
 

Definition at line 38 of file RansacFiltering.cpp.

References lfeat::PointMatch::_img1_x, lfeat::PointMatch::_img1_y, lfeat::PointMatch::_img2_x, lfeat::PointMatch::_img2_y, and lfeat::Homography::transformPoint().

void lfeat::Ransac::filter std::vector< PointMatchPtr > &  ioMatches,
std::vector< PointMatchPtr > &  ioRemovedMatches
 

Referenced by PanoDetector::RansacMatchesInPairHomography().

void lfeat::Ransac::setDistanceThreshold int  iDT  )  [inline]
 

Definition at line 40 of file RansacFiltering.h.

Referenced by PanoDetector::RansacMatchesInPairHomography().

void lfeat::Ransac::setIterations int  iIters  )  [inline]
 

Definition at line 36 of file RansacFiltering.h.

Referenced by PanoDetector::RansacMatchesInPairHomography().

void lfeat::Ransac::transform double  iX,
double  iY,
double &  oX,
double &  oY
 

Definition at line 146 of file RansacFiltering.cpp.

References lfeat::Homography::transformPoint().

Referenced by TestCode::drawRansacMatches().


Member Data Documentation

Homography lfeat::Ransac::_bestModel
 

Definition at line 45 of file RansacFiltering.h.

int lfeat::Ransac::_distanceThres [private]
 

Definition at line 55 of file RansacFiltering.h.

int lfeat::Ransac::_nIter [private]
 

Definition at line 54 of file RansacFiltering.h.


The documentation for this class was generated from the following files:
Generated on Thu Apr 24 01:25:51 2014 for Hugintrunk by  doxygen 1.3.9.1