#include <PTOptimizer.h>
Inheritance diagram for HuginBase::RANSACOptimizer:

Public Types | |
| enum | Mode { AUTO, HOMOGRAPHY, RPY, RPYV, RPYVB } |
Public Member Functions | |
| RANSACOptimizer (PanoramaData &panorama, int i1, int i2, double maxError, Mode mode=RPY) | |
| virtual | ~RANSACOptimizer () |
| virtual bool | modifiesPanoramaData () const |
| returns true if the algorithm changes the PanoramaData. | |
| virtual bool | runAlgorithm () |
| calls PTools::optimize() | |
Static Public Member Functions | |
| std::vector< int > | findInliers (PanoramaData &pano, int i1, int i2, double maxError, Mode mode=RPY) |
Private Attributes | |
| int | o_i1 |
| int | o_i2 |
| double | o_maxError |
| std::vector< int > | o_inliers |
| Mode | o_mode |
Definition at line 66 of file PTOptimizer.h.
|
|
Definition at line 69 of file PTOptimizer.h. |
|
||||||||||||||||||||||||
|
Definition at line 72 of file PTOptimizer.h. |
|
|
Definition at line 78 of file PTOptimizer.h. |
|
||||||||||||||||||||||||
|
Definition at line 275 of file PTOptimizer.cpp. References AUTO, Ransac::compute(), DEBUG_DEBUG, HOMOGRAPHY, HuginBase::PTOptEstimator::m_initParams, HuginBase::OptVarSpec::m_name, HuginBase::PTOptEstimator::m_optvars, HuginBase::PTOptEstimator::m_xy_cps, RPY, RPYV, RPYVB, and HuginBase::PanoramaData::updateVariable(). Referenced by PanoDetector::RansacMatchesInPairCam(), and runAlgorithm(). |
|
|
returns true if the algorithm changes the PanoramaData.
Implements HuginBase::PanoramaAlgorithm. Definition at line 84 of file PTOptimizer.h. |
|
|
calls PTools::optimize()
Implements HuginBase::PanoramaAlgorithm. Definition at line 316 of file PTOptimizer.cpp. References findInliers(), o_i1, o_i2, o_inliers, o_maxError, and o_mode. |
|
|
Definition at line 94 of file PTOptimizer.h. Referenced by runAlgorithm(). |
|
|
Definition at line 94 of file PTOptimizer.h. Referenced by runAlgorithm(). |
|
|
Definition at line 96 of file PTOptimizer.h. Referenced by runAlgorithm(). |
|
|
Definition at line 95 of file PTOptimizer.h. Referenced by runAlgorithm(). |
|
|
Definition at line 97 of file PTOptimizer.h. Referenced by runAlgorithm(). |
1.3.9.1