Deep Learning Algorithm Implementations 1.0.0
C++ implementations of fundamental deep learning algorithms
|
#include <data_loader.hpp>
Static Public Member Functions | |
static MatrixD | load_image (const std::string &filename, size_t target_width=0, size_t target_height=0) |
Load a single image file. | |
static std::vector< MatrixD > | load_images_from_directory (const std::string &directory_path, size_t target_width=0, size_t target_height=0) |
Load all images from a directory. | |
Definition at line 231 of file data_loader.hpp.
|
static |
Load a single image file.
filename | Path to the image file |
target_width | Target width for resizing (0 = no resize) |
target_height | Target height for resizing (0 = no resize) |
Definition at line 162 of file data_loader.cpp.
|
static |
Load all images from a directory.
directory_path | Path to directory containing images |
target_width | Target width for resizing (0 = no resize) |
target_height | Target height for resizing (0 = no resize) |
Definition at line 169 of file data_loader.cpp.