Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
OptimData Struct Reference

Public Member Functions

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

Public Attributes

HuginBase::PanoramaDatam_pano
 
double huberSigma
 
const HuginBase::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 107 of file tca_correct.cpp.

Constructor & Destructor Documentation

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

Member Function Documentation

void OptimData::FromX ( double *  x)
inline

copy new values from x to internal optimization variables

Definition at line 165 of file tca_correct.cpp.

References m_mapping.

Referenced by optGetError().

void OptimData::LoadFromImgs ( )
inline

Definition at line 173 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 ( )
inline
void OptimData::ToX ( double *  x)
inline

copy internal optimization variables into x

Definition at line 156 of file tca_correct.cpp.

References m_mapping.

Referenced by optimize_new().

Member Data Documentation

double OptimData::huberSigma

Definition at line 110 of file tca_correct.cpp.

Referenced by optGetError(), and optimize_new().

double OptimData::m_center[2]

Definition at line 116 of file tca_correct.cpp.

Referenced by LoadFromImgs(), and optGetError().

double OptimData::m_dist[3][3]

Definition at line 113 of file tca_correct.cpp.

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

double OptimData::m_hfov[3]

Definition at line 115 of file tca_correct.cpp.

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

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

Definition at line 117 of file tca_correct.cpp.

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

int OptimData::m_maxIter

Definition at line 119 of file tca_correct.cpp.

const HuginBase::OptimizeVector& OptimData::m_optvars

Definition at line 111 of file tca_correct.cpp.

Referenced by OptimData().

HuginBase::PanoramaData& OptimData::m_pano

Definition at line 109 of file tca_correct.cpp.

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

double OptimData::m_shift[2]

Definition at line 114 of file tca_correct.cpp.

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


The documentation for this struct was generated from the following file: