CPPxDIC
C++ Digital Image Correlation library for fingertip 3D reconstruction
Loading...
Searching...
No Matches
image_folder_reader.h
Go to the documentation of this file.
1
15#pragma once
16
17#include <string>
18#include <vector>
19
20namespace cppxdic {
21namespace input {
22
30public:
35 explicit ImageFolderReader(std::string folder);
36
48 std::vector<std::string> listFrames(bool skip_roi_ref = true) const;
49
63 // std::vector<cv::Mat> decodeFrames() const; // intentionally not declared yet (TODO)
64
66 const std::string& folder() const { return folder_; }
67
68private:
69 std::string folder_;
70};
71
72} // namespace input
73} // namespace cppxdic
Reads frames from a folder of image files.
const std::string & folder() const
Decode the listed frames into pixel buffers.
std::vector< std::string > listFrames(bool skip_roi_ref=true) const
List image frames in the folder, sorted by filename.
DataSerializer - Abstract base class for format-agnostic DIC data I/O.