|
CPPxDIC
C++ Digital Image Correlation library for fingertip 3D reconstruction
|
Reads frames from a folder of image files. More...
#include <image_folder_reader.h>
Public Member Functions | |
| ImageFolderReader (std::string folder) | |
| Construct a reader for a given image folder. | |
| std::vector< std::string > | listFrames (bool skip_roi_ref=true) const |
| List image frames in the folder, sorted by filename. | |
| const std::string & | folder () const |
| Decode the listed frames into pixel buffers. | |
Reads frames from a folder of image files.
Stub status: directory listing + sorted, extension-filtered filename collection works; pixel decoding is not yet implemented.
Definition at line 29 of file image_folder_reader.h.
|
explicit |
Construct a reader for a given image folder.
| folder | Absolute or relative path to the directory containing image frames. |
Definition at line 44 of file image_folder_reader.cpp.
|
inline |
Decode the listed frames into pixel buffers.
Definition at line 66 of file image_folder_reader.h.
| std::vector< std::string > cppxdic::input::ImageFolderReader::listFrames | ( | bool | skip_roi_ref = true | ) | const |
List image frames in the folder, sorted by filename.
Filters to common image extensions (.png .jpg .jpeg .bmp .tif .tiff, case-insensitive), skips hidden files, and optionally skips roi.png / ref.png helper images. Results are sorted lexicographically (zero-padded numeric filenames sort correctly).
| skip_roi_ref | If true (default), excludes files named roi.png and ref.png. |
Definition at line 46 of file image_folder_reader.cpp.