Code base obscuration (for images) 1.0
It implements different obscuration methods on portable images (.pgm and .ppm)
Loading...
Searching...
No Matches
filesystemPGM.hpp
Go to the documentation of this file.
1
8#ifndef FILESYSTEM_PGM_LIBRARY
9#define FILESYSTEM_PGM_LIBRARY
10#include <iostream>
11#include <vector>
12#include <random>
13#include <bitset>
14#include <cstring>
15#include <fstream>
16#include <cstdio>
17#include <filesystem>
18#include <string>
19
27{
28
29public:
37 static bool is_pgm(const std::string &extension);
38
47 static void getFilePathsOfPGMFilesFromFolder(std::vector<std::string> &imagePaths, std::string folderPath);
48};
49
50#endif // FILESYSTEM_PGM_LIBRARY
Utility class for handling .pgm image files.
Definition filesystemPGM.hpp:27
static bool is_pgm(const std::string &extension)
Check if the file extension is .pgm.
Definition filesystemPGM.cpp:11
static void getFilePathsOfPGMFilesFromFolder(std::vector< std::string > &imagePaths, std::string folderPath)
Get the file paths of all .pgm images in a folder.
Definition filesystemPGM.cpp:16