|
| | ImageInfo (const std::string &imagePath="", std::size_t width=0, std::size_t height=0, const std::map< std::string, std::string > &metadata=std::map< std::string, std::string >()) |
| | Image Constructor. More...
|
| |
|
ImageInfo * | clone () |
| |
|
bool | operator== (const ImageInfo &other) const |
| |
|
bool | operator!= (const ImageInfo &other) const |
| |
| const std::string & | getImagePath () const |
| | Get view image path. More...
|
| |
| std::size_t | getWidth () const |
| | Get view image width. More...
|
| |
| std::size_t | getHeight () const |
| | Get view image height. More...
|
| |
| std::pair< std::size_t, std::size_t > | getImgSize () const |
| | Get view image size. More...
|
| |
|
ExposureSetting | getCameraExposureSetting () const |
| | Get the Camera Exposure Setting value. For the same scene, this value is linearly proportional to the amount of light captured by the camera according to the shooting parameters (shutter speed, f-number, iso).
|
| |
|
double | getEv () const |
| | Get the Exposure Value. EV is a number that represents a combination of a camera's shutter speed and f-number, such that all combinations that yield the same exposure have the same EV. It progresses in a linear sequence as camera exposure is changed in power-of-2 steps.
|
| |
|
std::map< std::string, std::string >::const_iterator | findMetadataIterator (const std::string &name) const |
| | Get an iterator on the map of metadata from a given name.
|
| |
| bool | hasMetadata (const std::vector< std::string > &names) const |
| | Return true if the given metadata name exists. More...
|
| |
| bool | hasGpsMetadata () const |
| | Return true if the metadata for longitude and latitude exist. It checks that all the tags from GPSExifTags exists. More...
|
| |
| bool | hasDigitMetadata (const std::vector< std::string > &names, bool isPositive=true) const |
| | Return true if the given metadata name exists and is a digit. More...
|
| |
| const std::string & | getMetadata (const std::vector< std::string > &names) const |
| | Get the metadata value as a string. More...
|
| |
| double | readRealNumber (const std::string &str) const |
| | Read a floating point value from a string. It support an integer, a floating point value or a fraction. More...
|
| |
| double | getDoubleMetadata (const std::vector< std::string > &names) const |
| | Get the metadata value as a double. More...
|
| |
| bool | getDoubleMetadata (const std::vector< std::string > &names, double &val) const |
| | Get the metadata value as a double. More...
|
| |
| int | getIntMetadata (const std::vector< std::string > &names) const |
| | Get the metadata value as an integer. More...
|
| |
| const std::string & | getMetadataMake () const |
| | Get the corresponding "Make" metadata value. More...
|
| |
| const std::string & | getMetadataModel () const |
| | Get the corresponding "Model" metadata value. More...
|
| |
| const std::string & | getMetadataBodySerialNumber () const |
| | Get the corresponding "BodySerialNumber" metadata value. More...
|
| |
| const std::string & | getMetadataLensModel () const |
| | Get the corresponding "LensModel" metadata value. More...
|
| |
| int | getMetadataLensID () const |
| | Get the corresponding "LensID" metadata value. More...
|
| |
| const std::string & | getMetadataLensSerialNumber () const |
| | Get the corresponding "LensSerialNumber" metadata value. More...
|
| |
| double | getMetadataFocalLength () const |
| | Get the corresponding "FocalLength" metadata value. More...
|
| |
| double | getMetadataShutter () const |
| | Get the corresponding "ExposureTime" (shutter) metadata value. More...
|
| |
| double | getMetadataFNumber () const |
| | Get the corresponding "FNumber" (relative aperture) metadata value. More...
|
| |
| double | getMetadataISO () const |
| | Get the corresponding "PhotographicSensitivity" (ISO) metadata value. More...
|
| |
| EEXIFOrientation | getMetadataOrientation () const |
| | Get the corresponding "Orientation" metadata value. More...
|
| |
| Vec3 | getGpsPositionFromMetadata () const |
| | Get the gps position in the absolute cartesian reference system. More...
|
| |
| void | getGpsPositionWGS84FromMetadata (double &lat, double &lon, double &alt) const |
| | Get the gps position in the WGS84 reference system. More...
|
| |
| Vec3 | getGpsPositionWGS84FromMetadata () const |
| | Get the gps position in the WGS84 reference system as a vector. More...
|
| |
|
const std::string & | getColorProfileFileName () const |
| |
|
const std::string & | getRawColorInterpretation () const |
| |
|
const std::vector< int > | getCameraMultiplicators () const |
| |
|
const bool | getVignettingParams (std::vector< float > &v_vignParam) const |
| |
|
const bool | getChromaticAberrationParams (std::vector< float > &v_caGParam, std::vector< float > &v_caBGParam, std::vector< float > &v_caRGParam) const |
| |
|
const bool | hasMetadataDateTimeOriginal () const |
| |
|
const std::string & | getMetadataDateTimeOriginal () const |
| |
|
int64_t | getMetadataDateTimestamp () const |
| |
|
double | getSensorWidth () const |
| |
|
double | getSensorHeight () const |
| |
| const std::map< std::string, std::string > & | getMetadata () const |
| | Get the view metadata structure. More...
|
| |
| void | setImagePath (const std::string &imagePath) |
| | Set the given view image path. More...
|
| |
| void | setWidth (std::size_t width) |
| | Set the given view image width. More...
|
| |
| void | setHeight (std::size_t height) |
| | Set the given view image height. More...
|
| |
| void | setMetadata (const std::map< std::string, std::string > &metadata) |
| | Set view metadata. More...
|
| |
| void | addMetadata (const std::string &key, const std::string &value) |
| | Add view metadata. More...
|
| |
| void | addDCPMetadata (image::DCPProfile &dcpProf) |
| | Add DCP info in metadata. More...
|
| |
| void | addVignettingMetadata (LensParam &lensParam) |
| | Add vignetting model parameters in metadata. More...
|
| |
| void | addChromaticMetadata (LensParam &lensParam) |
| | Add chromatic model parameters in metadata. More...
|
| |
| int | getSensorSize (const std::vector< sensorDB::Datasheet > &sensorDatabase, double &sensorWidth, double &sensorHeight, double &focalLengthmm, camera::EInitMode &intrinsicInitMode, bool verbose=false) |
| | Get sensor size by combining info in metadata and in sensor database. More...
|
| |