Hugintrunk
0.1
|
#include <PhotometricOptimizer.h>
Public Member Functions | |
OptimData (const PanoramaData &pano, const OptimizeVector &optvars, const std::vector< vigra_ext::PointPairRGB > &data, double mEstimatorSigma, bool symmetric, int maxIter, AppBase::ProgressDisplay *progress) | |
void | ToX (double *x) |
copy optimisation variables into x More... | |
void | FromX (double *x) |
copy new values from x to into this->m_imgs More... | |
Public Attributes | |
const PanoramaData & | m_pano |
std::vector< SrcPanoImage > | m_imgs |
std::vector< VarMapping > | m_vars |
std::vector < vigra_ext::PointPairRGB > | m_data |
double | huberSigma |
bool | symmetricError |
int | m_maxIter |
AppBase::ProgressDisplay * | m_progress |
Definition at line 75 of file PhotometricOptimizer.h.
HuginBase::PhotometricOptimizer::OptimData::OptimData | ( | const PanoramaData & | pano, |
const OptimizeVector & | optvars, | ||
const std::vector< vigra_ext::PointPairRGB > & | data, | ||
double | mEstimatorSigma, | ||
bool | symmetric, | ||
int | maxIter, | ||
AppBase::ProgressDisplay * | progress | ||
) |
Definition at line 49 of file PhotometricOptimizer.cpp.
References CheckLinked, EMoRParams, ExposureValue, HuginBase::PanoramaData::getImage(), HuginBase::PanoramaData::getNrOfImages(), HuginBase::PanoramaData::getSrcImage(), HuginBase::PhotometricOptimizer::VarMapping::imgs, m_imgs, m_vars, RadialVigCorrCenterShift, RadialVigCorrCoeff, set_contains(), HuginBase::PhotometricOptimizer::VarMapping::type, WhiteBalanceBlue, and WhiteBalanceRed.
void HuginBase::PhotometricOptimizer::OptimData::FromX | ( | double * | x | ) |
copy new values from x to into this->m_imgs
Definition at line 135 of file PhotometricOptimizer.cpp.
Referenced by HuginBase::PhotometricOptimizer::optimizePhotometric(), and HuginBase::PhotometricOptimizer::photometricError().
void HuginBase::PhotometricOptimizer::OptimData::ToX | ( | double * | x | ) |
copy optimisation variables into x
Definition at line 121 of file PhotometricOptimizer.cpp.
Referenced by HuginBase::PhotometricOptimizer::optimizePhotometric().
double HuginBase::PhotometricOptimizer::OptimData::huberSigma |
Definition at line 82 of file PhotometricOptimizer.h.
Referenced by HuginBase::PhotometricOptimizer::optimizePhotometric(), and HuginBase::PhotometricOptimizer::photometricError().
std::vector<vigra_ext::PointPairRGB> HuginBase::PhotometricOptimizer::OptimData::m_data |
Definition at line 81 of file PhotometricOptimizer.h.
Referenced by HuginBase::PhotometricOptimizer::photometricError().
std::vector<SrcPanoImage> HuginBase::PhotometricOptimizer::OptimData::m_imgs |
Definition at line 79 of file PhotometricOptimizer.h.
Referenced by OptimData(), HuginBase::PhotometricOptimizer::optimizePhotometric(), and HuginBase::PhotometricOptimizer::photometricError().
int HuginBase::PhotometricOptimizer::OptimData::m_maxIter |
Definition at line 85 of file PhotometricOptimizer.h.
const PanoramaData& HuginBase::PhotometricOptimizer::OptimData::m_pano |
Definition at line 78 of file PhotometricOptimizer.h.
Referenced by HuginBase::PhotometricOptimizer::photometricError().
AppBase::ProgressDisplay* HuginBase::PhotometricOptimizer::OptimData::m_progress |
Definition at line 86 of file PhotometricOptimizer.h.
Referenced by HuginBase::PhotometricOptimizer::photometricVis().
std::vector<VarMapping> HuginBase::PhotometricOptimizer::OptimData::m_vars |
Definition at line 80 of file PhotometricOptimizer.h.
Referenced by OptimData(), and HuginBase::PhotometricOptimizer::optimizePhotometric().
bool HuginBase::PhotometricOptimizer::OptimData::symmetricError |
Definition at line 83 of file PhotometricOptimizer.h.