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

Detailed Description

Definition at line 30 of file RansacFiltering.h.

Constructor & Destructor Documentation

lfeat::Ransac::Ransac (  )  [inline]

Definition at line 33 of file RansacFiltering.h.

Member Function Documentation

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

Definition at line 34 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 Ransac::transform ( double  iX,
double  iY,
double &  oX,
double &  oY 

Definition at line 143 of file RansacFiltering.cpp.

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 22 May 2018 for Hugintrunk by  doxygen 1.4.7