Public Member Functions | |
| PTOptEstimator (PanoramaData &pano, int i1, int i2, double maxError, bool optHFOV, bool optB) | |
| bool | estimate (const std::vector< const ControlPoint * > &points, std::vector< double > &p) const |
| Perform exact estimate. | |
| bool | leastSquaresEstimate (const std::vector< const ControlPoint * > &points, std::vector< double > &p) const |
| bool | agree (std::vector< double > &p, const ControlPoint &cp) const |
| ~PTOptEstimator () | |
| int | numForEstimate () const |
Public Attributes | |
| CPVector | m_xy_cps |
| std::vector< double > | m_initParams |
| std::vector< OptVarSpec > | m_optvars |
Private Attributes | |
| int | m_li1 |
| int | m_li2 |
| double | m_maxError |
| PanoramaData * | m_localPano |
| CPVector | m_cps |
| std::vector< std::set< std::string > > | m_opt_first_pass |
| std::vector< std::set< std::string > > | m_opt_second_pass |
| int | m_numForEstimate |
Definition at line 77 of file PTOptimizer.cpp.
|
||||||||||||||||||||||||||||
|
optimisation for first pass optimisation for second pass Definition at line 82 of file PTOptimizer.cpp. References DEBUG_DEBUG, HuginBase::OptVarSpec::get(), HuginBase::PanoramaData::getCtrlPoints(), HuginBase::PanoramaData::getNewSubset(), HuginBase::OptVarSpec::m_img, HuginBase::OptVarSpec::m_name, HuginBase::ControlPoint::mode, and HuginBase::UIntSet. |
|
|
Definition at line 249 of file PTOptimizer.cpp. |
|
||||||||||||
|
||||||||||||
|
Perform exact estimate. This is actually a fake and just calles leastSquaresEstimate, as I don't know a closed form solution for fisheye images... Definition at line 149 of file PTOptimizer.cpp. |
|
||||||||||||
|
Definition at line 160 of file PTOptimizer.cpp. References HuginBase::CPVector, DEBUG_DEBUG, HuginBase::OptVarSpec::get(), HuginBase::PanoramaData::getImage(), HuginBase::SrcPanoImage::getVar(), HuginBase::OptVarSpec::m_name, HuginBase::PTools::optimize(), HuginBase::OptVarSpec::set(), and HuginBase::UIntSet. |
|
|
Definition at line 254 of file PTOptimizer.cpp. |
|
|
Definition at line 268 of file PTOptimizer.cpp. |
|
|
Definition at line 261 of file PTOptimizer.cpp. Referenced by HuginBase::RANSACOptimizer::findInliers(). |
|
|
Definition at line 265 of file PTOptimizer.cpp. |
|
|
Definition at line 265 of file PTOptimizer.cpp. |
|
|
Definition at line 267 of file PTOptimizer.cpp. |
|
|
Definition at line 266 of file PTOptimizer.cpp. |
|
|
Definition at line 271 of file PTOptimizer.cpp. |
|
|
Definition at line 269 of file PTOptimizer.cpp. |
|
|
Definition at line 270 of file PTOptimizer.cpp. |
|
|
Definition at line 262 of file PTOptimizer.cpp. Referenced by HuginBase::RANSACOptimizer::findInliers(). |
|
|
Definition at line 260 of file PTOptimizer.cpp. Referenced by HuginBase::RANSACOptimizer::findInliers(). |
1.3.9.1