HuginBase::PhotometricOptimizer::OptimData Struct Reference

#include <PhotometricOptimizer.h>

List of all members.

Public Member Functions

 OptimData (const PanoramaData &pano, const OptimizeVector &optvars, const std::vector< vigra_ext::PointPairRGB > &data, double mEstimatorSigma, bool symmetric, int maxIter, AppBase::ProgressReporter &progress)
void ToX (double *x)
 copy optimisation variables into x
void FromX (double *x)
 copy new values from x to into this->m_imgs

Public Attributes

const PanoramaDatam_pano
std::vector< SrcPanoImagem_imgs
std::vector< VarMappingm_vars
std::vector< vigra_ext::PointPairRGBm_data
double huberSigma
bool symmetricError
int m_maxIter
AppBase::ProgressReporterm_progress


Detailed Description

Definition at line 74 of file PhotometricOptimizer.h.


Constructor & Destructor Documentation

HuginBase::PhotometricOptimizer::OptimData::OptimData ( const PanoramaData pano,
const OptimizeVector optvars,
const std::vector< vigra_ext::PointPairRGB > &  data,
double  mEstimatorSigma,
bool  symmetric,
int  maxIter,
AppBase::ProgressReporter progress 
)

Definition at line 51 of file PhotometricOptimizer.cpp.

References CheckLinked, EMoRParams, ExposureValue, HuginBase::PanoramaData::getImage(), HuginBase::PanoramaData::getNrOfImages(), HuginBase::PanoramaData::getSrcImage(), m_imgs, m_vars, RadialVigCorrCenterShift, RadialVigCorrCoeff, set_contains(), WhiteBalanceBlue, and WhiteBalanceRed.


Member Function Documentation

void HuginBase::PhotometricOptimizer::OptimData::FromX ( double *  x  ) 

copy new values from x to into this->m_imgs

Definition at line 137 of file PhotometricOptimizer.cpp.

References m_imgs, and m_vars.

Referenced by HuginBase::PhotometricOptimizer::photometricError().

void HuginBase::PhotometricOptimizer::OptimData::ToX ( double *  x  ) 

copy optimisation variables into x

Definition at line 123 of file PhotometricOptimizer.cpp.

References m_imgs, and m_vars.


Member Data Documentation

double HuginBase::PhotometricOptimizer::OptimData::huberSigma

Definition at line 81 of file PhotometricOptimizer.h.

Referenced by HuginBase::PhotometricOptimizer::photometricError().

std::vector<vigra_ext::PointPairRGB> HuginBase::PhotometricOptimizer::OptimData::m_data

Definition at line 80 of file PhotometricOptimizer.h.

Referenced by HuginBase::PhotometricOptimizer::photometricError().

std::vector<SrcPanoImage> HuginBase::PhotometricOptimizer::OptimData::m_imgs

Definition at line 78 of file PhotometricOptimizer.h.

Referenced by FromX(), OptimData(), HuginBase::PhotometricOptimizer::photometricError(), and ToX().

int HuginBase::PhotometricOptimizer::OptimData::m_maxIter

Definition at line 84 of file PhotometricOptimizer.h.

const PanoramaData& HuginBase::PhotometricOptimizer::OptimData::m_pano

Definition at line 77 of file PhotometricOptimizer.h.

Referenced by HuginBase::PhotometricOptimizer::photometricError().

AppBase::ProgressReporter& HuginBase::PhotometricOptimizer::OptimData::m_progress

Definition at line 85 of file PhotometricOptimizer.h.

Referenced by HuginBase::PhotometricOptimizer::photometricVis().

std::vector<VarMapping> HuginBase::PhotometricOptimizer::OptimData::m_vars

Definition at line 79 of file PhotometricOptimizer.h.

Referenced by FromX(), OptimData(), and ToX().

bool HuginBase::PhotometricOptimizer::OptimData::symmetricError

Definition at line 82 of file PhotometricOptimizer.h.


The documentation for this struct was generated from the following files:
Generated on 21 Oct 2014 for Hugintrunk by  doxygen 1.4.7