Optimized Belief Propagation (CPU and GPU)
|
Class to retrieve path of stereo set files for reading and for output. More...
#include <BpFileHandling.h>
Public Member Functions | |
BpFileHandling (const std::string &stereo_set_name) | |
Constructor takes stereo set name as input, which must match the directory name of the stereo set. More... | |
std::filesystem::path | RefImagePath () const |
Return path to reference image with valid extension if found, otherwise throw filesystem error. More... | |
std::filesystem::path | TestImagePath () const |
Return path to test image with valid extension if found, otherwise throw filesystem error. More... | |
const std::filesystem::path | GetCurrentOutputDisparityFilePathAndIncrement () |
Return path to use for current output disparity and then increment (to support multiple computed output disparity maps) More... | |
const std::filesystem::path | GroundTruthDisparityFilePath () const |
Get file path to ground truth disparity map. More... | |
Class to retrieve path of stereo set files for reading and for output.
Definition at line 38 of file BpFileHandling.h.
|
inlineexplicit |
Constructor takes stereo set name as input, which must match the directory name of the stereo set.
stereo_set_name |
Definition at line 46 of file BpFileHandling.h.
|
inline |
Return path to use for current output disparity and then increment (to support multiple computed output disparity maps)
Definition at line 71 of file BpFileHandling.h.
|
inline |
Get file path to ground truth disparity map.
Definition at line 81 of file BpFileHandling.h.
std::filesystem::path BpFileHandling::RefImagePath | ( | ) | const |
Return path to reference image with valid extension if found, otherwise throw filesystem error.
Definition at line 83 of file BpFileHandling.cpp.
std::filesystem::path BpFileHandling::TestImagePath | ( | ) | const |
Return path to test image with valid extension if found, otherwise throw filesystem error.
Definition at line 108 of file BpFileHandling.cpp.