Hugintrunk
0.1
|
#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 |
Definition at line 30 of file RansacFiltering.h.
|
inline |
Definition at line 33 of file RansacFiltering.h.
|
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().
Referenced by filter().
void Ransac::filter | ( | std::vector< PointMatchPtr > & | ioMatches, |
std::vector< PointMatchPtr > & | ioRemovedMatches | ||
) |
Definition at line 46 of file RansacFiltering.cpp.
References _bestModel, _distanceThres, lfeat::Homography::_H, _nIter, lfeat::Homography::_v1x, lfeat::Homography::_v1y, lfeat::Homography::_v2x, lfeat::Homography::_v2y, calcError(), lfeat::Homography::estimate(), genint(), and lfeat::Homography::initMatchesNormalization().
Referenced by PanoDetector::RansacMatchesInPairHomography().
|
inline |
Definition at line 40 of file RansacFiltering.h.
Referenced by PanoDetector::RansacMatchesInPairHomography().
|
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().
Homography lfeat::Ransac::_bestModel |
Definition at line 45 of file RansacFiltering.h.
Referenced by filter(), and transform().
|
private |
Definition at line 55 of file RansacFiltering.h.
Referenced by filter().
|
private |
Definition at line 54 of file RansacFiltering.h.
Referenced by filter().