#include <PhotometricOptimizer.h>
Inheritance diagram for HuginBase::PhotometricOptimizer:

Public Types | |
| typedef std::vector< vigra_ext::PointPairRGB > | PointPairs |
Public Member Functions | |
| PhotometricOptimizer (PanoramaData &panorama, AppBase::ProgressDisplay *progressDisplay, const OptimizeVector &vars, const PointPairs &correspondences) | |
| virtual | ~PhotometricOptimizer () |
| virtual bool | modifiesPanoramaData () const |
| returns true if the algorithm changes the PanoramaData. | |
| virtual bool | runAlgorithm () |
| implementation of the algorithm. | |
| double | getResultError () const |
Static Public Member Functions | |
| void | optimizePhotometric (PanoramaData &pano, const OptimizeVector &vars, const PointPairs &correspondences, AppBase::ProgressReporter &progress, double &error) |
Static Protected Member Functions | |
| int | photometricVis (double *p, double *x, int m, int n, int iter, double sqerror, void *data) |
| void | photometricError (double *p, double *x, int m, int n, void *data) |
Protected Attributes | |
| const OptimizeVector & | o_vars |
| const PointPairs & | o_correspondences |
| double | o_resultError |
|
|
Definition at line 44 of file PhotometricOptimizer.h. |
|
||||||||||||||||||||
|
Definition at line 47 of file PhotometricOptimizer.h. |
|
|
Definition at line 55 of file PhotometricOptimizer.h. |
|
|
Definition at line 118 of file PhotometricOptimizer.h. |
|
|
returns true if the algorithm changes the PanoramaData.
Implements HuginBase::PanoramaAlgorithm. Definition at line 110 of file PhotometricOptimizer.h. |
|
||||||||||||||||||||||||
|
Referenced by PT::optimizePhotometric(), runAlgorithm(), and HuginBase::SmartPhotometricOptimizer::smartOptimizePhotometric(). |
|
||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||
|
Definition at line 265 of file PhotometricOptimizer.cpp. References AppBase::ProgressReporter::increaseProgress(), and HuginBase::PhotometricOptimizer::OptimData::m_progress. |
|
|
implementation of the algorithm. You should override with your algorithm's implementiation. Implements HuginBase::PanoramaAlgorithm. Reimplemented in HuginBase::SmartPhotometricOptimizer. Definition at line 420 of file PhotometricOptimizer.cpp. References HuginBase::TimeConsumingPanoramaAlgorithm::cancelAlgorithm(), HuginBase::TimeConsumingPanoramaAlgorithm::getProgressDisplay(), HuginBase::TimeConsumingPanoramaAlgorithm::hasProgressDisplay(), AppBase::ProgressReporterAdaptor::newProgressReporter(), o_correspondences, o_resultError, o_vars, optimizePhotometric(), HuginBase::TimeConsumingPanoramaAlgorithm::wasCancelled(), and AppBase::ProgressDisplay::wasCancelled(). |
|
|
Definition at line 127 of file PhotometricOptimizer.h. Referenced by runAlgorithm(). |
|
|
Definition at line 128 of file PhotometricOptimizer.h. Referenced by runAlgorithm(). |
|
|
Definition at line 126 of file PhotometricOptimizer.h. Referenced by runAlgorithm(). |
1.3.9.1