|
Hugintrunk
0.1
|
Classes | |
| class | LensDB |
| main database class More... | |
Typedefs | |
| typedef std::vector< std::string > | LensList |
| vector storing a list of lens names More... | |
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 More... | |
| bool | SaveLensDataFromPano (const HuginBase::Panorama &pano) |
| routine for automatically saving information from pano into database More... | |
| typedef std::vector<std::string> HuginBase::LensDB::LensList |
|
inline |
Definition at line 2058 of file LensDB.cpp.
Referenced by IsFocallengthNearRange().
| 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().
| 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::SrcPanoImage::calcCropFactor(), HuginBase::CalculateCPStatisticsError::calcCtrlPntsErrorStats(), HuginBase::SrcPanoImage::calcFocalLength(), HuginBase::SrcPanoImage::calcHFOV(), HuginBase::SrcPanoImage::getDBLensName(), HuginBase::Panorama::getImage(), HuginBase::ConstStandardImageVariableGroups::getLenses(), HuginBase::Panorama::getNrOfCtrlPoints(), HuginBase::Panorama::getNrOfImages(), HuginBase::ConstImageVariableGroup::getNumberOfParts(), celeste::max(), celeste::min(), HuginBase::BaseSrcPanoImage::NO_CROP, HuginBase::BaseSrcPanoImage::RECTILINEAR, 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().
1.8.5