Hugin trunk 0.1
Loading...
Searching...
No Matches
Functions
HuginBase::Exiv2Helper Namespace Reference

Functions

bool _getExiv2Value (Exiv2::ExifData &exifData, std::string keyName, long &value)
 
bool _getExiv2Value (Exiv2::ExifData &exifData, std::string keyName, float &value)
 
bool _getExiv2Value (Exiv2::ExifData &exifData, std::string keyName, std::string &value)
 
bool _getExiv2Value (Exiv2::ExifData &exifData, std::string keyName, std::vector< float > &values)
 
bool _getExiv2Value (Exiv2::ExifData &exifData, uint16_t tagID, std::string groupName, std::string &value)
 
bool _getExiv2Value (Exiv2::ExifData &exifData, uint16_t tagID, std::string groupName, double &value)
 
const double getExiv2ValueDouble (Exiv2::ExifData &exifData, Exiv2::ExifData::const_iterator it)
 
const double getExiv2ValueDouble (Exiv2::ExifData &exifData, std::string keyName)
 
const std::string getExiv2ValueString (Exiv2::ExifData &exifData, Exiv2::ExifData::const_iterator it)
 
const std::string getExiv2ValueString (Exiv2::ExifData &exifData, std::string keyName)
 
const long getExiv2ValueLong (Exiv2::ExifData &exifData, Exiv2::ExifData::const_iterator it)
 
const long getExiv2ValueLong (Exiv2::ExifData &exifData, std::string keyName)
 
bool getExiv2GPSLatitude (Exiv2::ExifData &exifData, double &latitude)
 
bool getExiv2GPSLongitude (Exiv2::ExifData &exifData, double &longitude)
 
void PrintTag (Exiv2::ExifData::iterator itr)
 
bool readRedBlueBalance (Exiv2::ExifData &exifData, double &redBalance, double &blueBalance)
 
const double getCropFactor (Exiv2::ExifData &exifData, long width, long height)
 
const std::string getLensName (Exiv2::ExifData &exifData)
 

Function Documentation

◆ _getExiv2Value() [1/6]

bool HuginBase::Exiv2Helper::_getExiv2Value ( Exiv2::ExifData &  exifData,
std::string  keyName,
float value 
)

Definition at line 56 of file Exiv2Helper.cpp.

References threshold().

◆ _getExiv2Value() [2/6]

bool HuginBase::Exiv2Helper::_getExiv2Value ( Exiv2::ExifData &  exifData,
std::string  keyName,
long value 
)

◆ _getExiv2Value() [3/6]

bool HuginBase::Exiv2Helper::_getExiv2Value ( Exiv2::ExifData &  exifData,
std::string  keyName,
std::string &  value 
)

Definition at line 70 of file Exiv2Helper.cpp.

References threshold().

◆ _getExiv2Value() [4/6]

bool HuginBase::Exiv2Helper::_getExiv2Value ( Exiv2::ExifData &  exifData,
std::string  keyName,
std::vector< float > &  values 
)

Definition at line 84 of file Exiv2Helper.cpp.

References threshold().

◆ _getExiv2Value() [5/6]

bool HuginBase::Exiv2Helper::_getExiv2Value ( Exiv2::ExifData &  exifData,
uint16_t  tagID,
std::string  groupName,
double value 
)

Definition at line 116 of file Exiv2Helper.cpp.

References threshold().

◆ _getExiv2Value() [6/6]

bool HuginBase::Exiv2Helper::_getExiv2Value ( Exiv2::ExifData &  exifData,
uint16_t  tagID,
std::string  groupName,
std::string &  value 
)

Definition at line 102 of file Exiv2Helper.cpp.

References threshold().

◆ getCropFactor()

const double HuginBase::Exiv2Helper::getCropFactor ( Exiv2::ExifData &  exifData,
long  width,
long  height 
)

◆ getExiv2GPSLatitude()

bool HuginBase::Exiv2Helper::getExiv2GPSLatitude ( Exiv2::ExifData &  exifData,
double latitude 
)

Definition at line 191 of file Exiv2Helper.cpp.

References threshold().

Referenced by HuginBase::SrcPanoImage::readEXIF().

◆ getExiv2GPSLongitude()

bool HuginBase::Exiv2Helper::getExiv2GPSLongitude ( Exiv2::ExifData &  exifData,
double longitude 
)

Definition at line 219 of file Exiv2Helper.cpp.

References threshold().

Referenced by HuginBase::SrcPanoImage::readEXIF().

◆ getExiv2ValueDouble() [1/2]

const double HuginBase::Exiv2Helper::getExiv2ValueDouble ( Exiv2::ExifData &  exifData,
Exiv2::ExifData::const_iterator  it 
)

Definition at line 130 of file Exiv2Helper.cpp.

References threshold().

Referenced by HuginBase::SrcPanoImage::readEXIF().

◆ getExiv2ValueDouble() [2/2]

const double HuginBase::Exiv2Helper::getExiv2ValueDouble ( Exiv2::ExifData &  exifData,
std::string  keyName 
)

Definition at line 139 of file Exiv2Helper.cpp.

References _getExiv2Value(), and threshold().

◆ getExiv2ValueLong() [1/2]

const long HuginBase::Exiv2Helper::getExiv2ValueLong ( Exiv2::ExifData &  exifData,
Exiv2::ExifData::const_iterator  it 
)

Definition at line 168 of file Exiv2Helper.cpp.

References threshold().

Referenced by HuginBase::SrcPanoImage::readEXIF().

◆ getExiv2ValueLong() [2/2]

const long HuginBase::Exiv2Helper::getExiv2ValueLong ( Exiv2::ExifData &  exifData,
std::string  keyName 
)

Definition at line 181 of file Exiv2Helper.cpp.

References _getExiv2Value(), and threshold().

◆ getExiv2ValueString() [1/2]

const std::string HuginBase::Exiv2Helper::getExiv2ValueString ( Exiv2::ExifData &  exifData,
Exiv2::ExifData::const_iterator  it 
)

Definition at line 149 of file Exiv2Helper.cpp.

References hugin_utils::StrTrim(), and threshold().

Referenced by HuginBase::SrcPanoImage::readEXIF().

◆ getExiv2ValueString() [2/2]

const std::string HuginBase::Exiv2Helper::getExiv2ValueString ( Exiv2::ExifData &  exifData,
std::string  keyName 
)

Definition at line 158 of file Exiv2Helper.cpp.

References _getExiv2Value(), hugin_utils::StrTrim(), and threshold().

◆ getLensName()

const std::string HuginBase::Exiv2Helper::getLensName ( Exiv2::ExifData &  exifData)

Definition at line 625 of file Exiv2Helper.cpp.

References _getExiv2Value(), hugin_utils::StrTrim(), and threshold().

Referenced by HuginBase::SrcPanoImage::readEXIF().

◆ PrintTag()

void HuginBase::Exiv2Helper::PrintTag ( Exiv2::ExifData::iterator  itr)

Definition at line 248 of file Exiv2Helper.cpp.

References threshold().

◆ readRedBlueBalance()

bool HuginBase::Exiv2Helper::readRedBlueBalance ( Exiv2::ExifData &  exifData,
double redBalance,
double blueBalance 
)

Definition at line 262 of file Exiv2Helper.cpp.

References _getExiv2Value(), and threshold().

Referenced by HuginBase::SrcPanoImage::readEXIF().