|
Hugin trunk 0.1
|
Classes | |
| class | LensDB |
| main database class More... | |
Typedefs | |
| typedef std::vector< std::string > | LensList |
| 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...limit2 or it is nearer to limit1 than value*tol | |
| bool | SaveLensDataFromPano (const HuginBase::Panorama &pano) |
| routine for automatically saving information from pano into database | |
| typedef std::vector<std::string> HuginBase::LensDB::LensList |
Definition at line 2058 of file LensDB.cpp.
Referenced by IsFocallengthNearRange().
Definition at line 1948 of file LensDB.cpp.
References threshold().
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.
References threshold().
Referenced by HuginBase::LensDB::LensDB::GetVignetting().
| 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(), and threshold().
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::SrcPanoImage::calcCropFactor(), HuginBase::CalculateCPStatisticsError::calcCtrlPntsErrorStats(), HuginBase::SrcPanoImage::calcFocalLength(), HuginBase::SrcPanoImage::calcHFOV(), HuginBase::Panorama::getImage(), HuginBase::Panorama::getNrOfCtrlPoints(), HuginBase::Panorama::getNrOfImages(), HuginBase::LensDB::LensDB::GetSingleton(), HuginBase::BaseSrcPanoImage::NO_CROP, HuginBase::BaseSrcPanoImage::RECTILINEAR, and threshold().
Referenced by CheckProjectFile(), PanoPanel::DoSendToBatch(), and PanoPanel::DoStitch().