HuginBase::LensDB Namespace Reference


Classes

class  LensDB
 main database class More...

Typedefs

typedef std::vector< std::stringLensList
 vector storing a list of lens names

Functions

double InterpolateValue (double x, double x0, double y0, double x1, double y1)
double InterpolateValueTriangle (double x, double y, double x1, double y1, double z1, double x2, double y2, double z2, double x3, double y3, double z3)
int fsign (double a)
bool IsFocallengthNearRange (const double focal, const double limit1, const double limit2, const double tol)
 check if value is inside limit1.
bool SaveLensDataFromPano (const HuginBase::Panorama &pano)
 routine for automatically saving information from pano into database


Typedef Documentation

typedef std::vector<std::string> HuginBase::LensDB::LensList

vector storing a list of lens names

Definition at line 41 of file LensDB.h.


Function Documentation

double HuginBase::LensDB::InterpolateValue ( double  x,
double  x0,
double  y0,
double  x1,
double  y1 
)

Definition at line 1948 of file LensDB.cpp.

Referenced by HuginBase::LensDB::LensDB::GetCrop(), HuginBase::LensDB::LensDB::GetDistortion(), HuginBase::LensDB::LensDB::GetFov(), HuginBase::LensDB::LensDB::GetTCA(), and HuginBase::LensDB::LensDB::GetVignetting().

double HuginBase::LensDB::InterpolateValueTriangle ( double  x,
double  y,
double  x1,
double  y1,
double  z1,
double  x2,
double  y2,
double  z2,
double  x3,
double  y3,
double  z3 
)

Definition at line 1958 of file LensDB.cpp.

Referenced by HuginBase::LensDB::LensDB::GetVignetting().

int HuginBase::LensDB::fsign ( double  a  )  [inline]

Definition at line 2058 of file LensDB.cpp.

Referenced by IsFocallengthNearRange().

bool HuginBase::LensDB::IsFocallengthNearRange ( const double  focal,
const double  limit1,
const double  limit2,
const double  tol 
)

check if value is inside limit1.

..limit2 or it is nearer to limit1 than value*tol

Definition at line 2064 of file LensDB.cpp.

References fsign().

Referenced by HuginBase::LensDB::LensDB::GetCrop(), HuginBase::LensDB::LensDB::GetDistortion(), HuginBase::LensDB::LensDB::GetFov(), HuginBase::LensDB::LensDB::GetTCA(), and HuginBase::LensDB::LensDB::GetVignetting().

IMPEX bool HuginBase::LensDB::SaveLensDataFromPano ( const HuginBase::Panorama pano  ) 

routine for automatically saving information from pano into database

Definition at line 2553 of file LensDB.cpp.

References HuginBase::CalculateCPStatisticsError::calcCtrlPntsErrorStats(), PT::calcFocalLength(), PT::calcHFOV(), HuginBase::Panorama::getImage(), HuginBase::ConstStandardImageVariableGroups::getLenses(), HuginBase::Panorama::getNrOfImages(), HuginBase::ConstImageVariableGroup::getNumberOfParts(), celeste::max(), celeste::min(), HuginBase::BaseSrcPanoImage::NO_CROP, HuginBase::LensDB::LensDB::SaveCameraCrop(), HuginBase::LensDB::LensDB::SaveDistortion(), HuginBase::LensDB::LensDB::SaveEMoR(), HuginBase::LensDB::LensDB::SaveLensCrop(), HuginBase::LensDB::LensDB::SaveLensFov(), HuginBase::LensDB::LensDB::SaveLensProjection(), and HuginBase::LensDB::LensDB::SaveVignetting().

Referenced by CheckProjectFile(), PanoPanel::DoSendToBatch(), and PanoPanel::DoStitch().


Generated on 27 Jul 2015 for Hugintrunk by  doxygen 1.4.7