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
20
namespace
cppxdic
{
21
namespace
input {
22
29
class
ImageFolderReader
{
30
public
:
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
68
private
:
69
std::string folder_;
70
};
71
72
}
// namespace input
73
}
// namespace cppxdic
cppxdic::input::ImageFolderReader
Reads frames from a folder of image files.
Definition
image_folder_reader.h:29
cppxdic::input::ImageFolderReader::folder
const std::string & folder() const
Decode the listed frames into pixel buffers.
Definition
image_folder_reader.h:66
cppxdic::input::ImageFolderReader::listFrames
std::vector< std::string > listFrames(bool skip_roi_ref=true) const
List image frames in the folder, sorted by filename.
Definition
image_folder_reader.cpp:46
cppxdic
DataSerializer - Abstract base class for format-agnostic DIC data I/O.
Definition
data_serializer.h:18
include
input
image_folder_reader.h
Generated by
1.9.8