27 #ifndef BPFILEHANDLING_H_
28 #define BPFILEHANDLING_H_
47 stereo_set_path_{StereoSetsPath() / stereo_set_name}, num_out_disp_map_{1} { }
72 return stereo_set_path_ /
92 std::filesystem::path StereoSetsPath()
const;
94 const std::filesystem::path stereo_set_path_;
95 unsigned int num_out_disp_map_;
Belief propagation implementation constants related to file processing.
Class to retrieve path of stereo set files for reading and for output.
std::filesystem::path RefImagePath() const
Return path to reference image with valid extension if found, otherwise throw filesystem error.
BpFileHandling(const std::string &stereo_set_name)
Constructor takes stereo set name as input, which must match the directory name of the stereo set.
const std::filesystem::path GroundTruthDisparityFilePath() const
Get file path to ground truth disparity map.
const std::filesystem::path GetCurrentOutputDisparityFilePathAndIncrement()
Return path to use for current output disparity and then increment (to support multiple computed outp...
std::filesystem::path TestImagePath() const
Return path to test image with valid extension if found, otherwise throw filesystem error.
constexpr std::string_view kGroundTruthDispFile
constexpr std::string_view kOutDispImageNameBase