Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
lfeat::Ransac Class Reference

#include <RansacFiltering.h>

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
void Ransac::filter ( std::vector< PointMatchPtr > &  ioMatches,
std::vector< PointMatchPtr > &  ioRemovedMatches 
)
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.

References _bestModel, and lfeat::Homography::transformPoint().

Referenced by TestCode::drawRansacMatches().

Member Data Documentation

Homography lfeat::Ransac::_bestModel

Definition at line 45 of file RansacFiltering.h.

Referenced by filter(), and transform().

int lfeat::Ransac::_distanceThres
private

Definition at line 55 of file RansacFiltering.h.

Referenced by filter().

int lfeat::Ransac::_nIter
private

Definition at line 54 of file RansacFiltering.h.

Referenced by filter().


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