Interface to load meta data.
More...
#include <metadatareader.h>
|
|
virtual | ~MetaDataReader ()=default |
| | ~MetaDataReader Destructor
|
| |
| virtual QString | getName ()=0 |
| | getName Returns name of meta data
|
| |
| virtual QVariant | getImageMetaData (uint index)=0 |
| | getImageMetaData Returns parsed meta data from the index images
|
| |
| virtual QList< QVariant > | getAllMetaData ()=0 |
| | getAllMetaData Returns all meta data in the same order as the images ar
|
| |
| virtual bool | parseDataVideo (QString path, int picCount, double fps, bool interpolate) |
| | parseDataVideo Tries to load meta data for a video from the given file
|
| |
| virtual bool | parseDataImage (std::vector< std::string > paths, bool interpolate) |
| | parseDataImage Tries to load meta data from the imported images (based on exif)
|
| |
Interface to load meta data.
- Author
- Daniel Brommer
- Date
- 2022/01/09
◆ getAllMetaData()
| virtual QList< QVariant > MetaDataReader::getAllMetaData |
( |
| ) |
|
|
pure virtual |
getAllMetaData Returns all meta data in the same order as the images ar
- Returns
- QList with the meta data from all images
Implemented in GPSReader.
◆ getImageMetaData()
| virtual QVariant MetaDataReader::getImageMetaData |
( |
uint |
index | ) |
|
|
pure virtual |
getImageMetaData Returns parsed meta data from the index images
- Parameters
-
| index | Index of the image to get the meat data from |
- Returns
- QVaraint containing the meta data
Implemented in GPSReader.
◆ getName()
| virtual QString MetaDataReader::getName |
( |
| ) |
|
|
pure virtual |
◆ parseDataImage()
| virtual bool MetaDataReader::parseDataImage |
( |
std::vector< std::string > |
paths, |
|
|
bool |
interpolate |
|
) |
| |
|
inlinevirtual |
parseDataImage Tries to load meta data from the imported images (based on exif)
- Parameters
-
| paths | vector containing all image paths |
| interpolate | indicades if the reader is allowed to interpolate missing meta data |
- Returns
- True if meta data have been loaded False otherwise
Implemented in GPSReaderExif, and GPSReaderExifPNG.
◆ parseDataVideo()
| virtual bool MetaDataReader::parseDataVideo |
( |
QString |
path, |
|
|
int |
picCount, |
|
|
double |
fps, |
|
|
bool |
interpolate |
|
) |
| |
|
inlinevirtual |
parseDataVideo Tries to load meta data for a video from the given file
- Parameters
-
| path | Path to the meta data file |
| picCount | amount of images in the video |
| fps | fps of the video |
| interpolate | indicades wether the reader is allowed to interpolate missing meta data |
- Returns
- True if meta data have been loaded False otherwise
Implemented in GPSReaderDJIMatrice, GPSReaderDJIMatrice2, GPSReaderDJIMavic, GPSReaderGPX, and GPSReaderTXT.
The documentation for this interface was generated from the following file: