OptimData Struct Reference

List of all members.

Public Member Functions

 OptimData (PanoramaData &pano, const OptimizeVector &optvars, double mEstimatorSigma, int maxIter)
void ToX (double *x)
 copy internal optimization variables into x
void FromX (double *x)
 copy new values from x to internal optimization variables
void LoadFromImgs ()
void SaveToImgs ()

Public Attributes

PanoramaDatam_pano
double huberSigma
const OptimizeVectorm_optvars
double m_dist [3][3]
double m_shift [2]
double m_hfov [3]
double m_center [2]
std::vector< double * > m_mapping
int m_maxIter

Detailed Description

Definition at line 114 of file tca_correct.cpp.


Constructor & Destructor Documentation

OptimData::OptimData ( PanoramaData pano,
const OptimizeVector optvars,
double  mEstimatorSigma,
int  maxIter 
)

Definition at line 149 of file tca_correct.cpp.

References cerr, HuginBase::PanoramaData::getNrOfImages(), LoadFromImgs(), m_dist, m_hfov, m_mapping, m_optvars, m_pano, and m_shift.


Member Function Documentation

void OptimData::FromX ( double *  x  )  [inline]

copy new values from x to internal optimization variables

Definition at line 139 of file tca_correct.cpp.

References m_mapping.

Referenced by optGetError().

void OptimData::LoadFromImgs (  ) 

Definition at line 177 of file tca_correct.cpp.

References HuginBase::PanoramaData::getSrcImage(), m_center, m_dist, m_hfov, m_pano, and m_shift.

Referenced by OptimData().

void OptimData::SaveToImgs (  ) 

Definition at line 197 of file tca_correct.cpp.

References HuginBase::PanoramaData::getSrcImage(), m_dist, m_hfov, m_pano, m_shift, HuginBase::BaseSrcPanoImage::setHFOV(), and HuginBase::PanoramaData::setSrcImage().

Referenced by optimize_new().

void OptimData::ToX ( double *  x  )  [inline]

copy internal optimization variables into x

Definition at line 132 of file tca_correct.cpp.

References m_mapping.

Referenced by optimize_new().


Member Data Documentation

double OptimData::huberSigma

Definition at line 117 of file tca_correct.cpp.

Referenced by optGetError(), and optimize_new().

double OptimData::m_center[2]

Definition at line 123 of file tca_correct.cpp.

Referenced by LoadFromImgs(), and optGetError().

double OptimData::m_dist[3][3]

Definition at line 120 of file tca_correct.cpp.

Referenced by LoadFromImgs(), optGetError(), OptimData(), and SaveToImgs().

double OptimData::m_hfov[3]

Definition at line 122 of file tca_correct.cpp.

Referenced by LoadFromImgs(), optGetError(), OptimData(), and SaveToImgs().

std::vector<double *> OptimData::m_mapping

Definition at line 124 of file tca_correct.cpp.

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

int OptimData::m_maxIter

Definition at line 126 of file tca_correct.cpp.

const OptimizeVector& OptimData::m_optvars

Definition at line 118 of file tca_correct.cpp.

Referenced by OptimData().

PanoramaData& OptimData::m_pano

Definition at line 116 of file tca_correct.cpp.

Referenced by LoadFromImgs(), optGetError(), OptimData(), and SaveToImgs().

double OptimData::m_shift[2]

Definition at line 121 of file tca_correct.cpp.

Referenced by LoadFromImgs(), optGetError(), OptimData(), and SaveToImgs().


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