UWARG Computer Vision
pictureimport.h
1 
16 #ifndef PICTURE_IMPORT_H_INCLUDED
17 #define PICTURE_IMPORT_H_INCLUDED
18 
19 #include <opencv2/highgui/highgui.hpp>
20 #include <string>
21 #include <vector>
22 #include "metadata_input.h"
23 #include <dirent.h>
24 #include "imgimport.h"
25 
26 
33 class PictureImport : public ImageImport {
34 public:
39  PictureImport(std::string filePath, MetadataInput * mdin, Camera &camera);
40 
41  ~PictureImport();
42 
48  Frame* next_frame();
49 
53  virtual std::string to_string();
54 private:
55  std::string filePath;
56  DIR* dr;
57  MetadataInput* mdin;
58 };
59 
60 #endif // PICTURE_IMPORT_H_INCLUDED
Abstract class for importing frames and corresponding metadata.
Definition: imgimport.h:29
Frame * next_frame()
Retrieves the next frame to be analyzed.
Definition: pictureimport.cpp:40
A class for storing and searching telemetry logs.
Definition: metadata_input.h:32
PictureImport(std::string filePath, MetadataInput *mdin, Camera &camera)
Creates a PictureImport object.
Definition: pictureimport.cpp:29
Definition: frame.h:49
Container class for storing information about the camera used to capture an image *...
Definition: camera.h:28
virtual std::string to_string()
String representation of the Importer.
Definition: pictureimport.cpp:68
Class for reading image files from a directory.
Definition: pictureimport.h:33