28 #ifndef BP_SETTINGS_H_
29 #define BP_SETTINGS_H_
33 #include <string_view>
48 { t.AsRunData() } -> std::same_as<RunData>;
119 return curr_run_data;
File with namespace for enums, constants, structures, and functions specific to belief propagation pr...
File with namespace for enums, constants, structures, and functions specific to belief propagation pr...
concept Params_t
Parameters type requires AsRunData() function to return the parameters as a RunData object.
Declares class to store headers with data corresponding to current program run and evaluation.
Class to store headers with data corresponding to current program run and evaluation.
void AddDataWHeader(const std::string &header, const std::string &data)
Add string data with header describing added data.
Namespace for enums, constants, structures, and functions specific to belief propagation processing.
constexpr unsigned int kDefaultItersBp
Default number of BP iterations at each scale/level.
constexpr float kDefaultSigmaBp
Default sigma value for smoothing input images.
constexpr std::string_view kDataCostCapHeader
constexpr std::string_view kBpSettingsLambdaHeader
constexpr std::string_view kNumDispValsHeader
constexpr std::string_view kNumBpLevelsHeader
constexpr std::string_view kDiscCostCapHeader
constexpr float kDefaultLambdaBp
Default weighing of data cost.
constexpr unsigned int kDefaultLevelsBp
Default values for BP settings. Number of scales/levels in the pyramid to run BP.
constexpr std::string_view kNumBpItersHeader
constexpr std::string_view kBpSettingsSigmaHeader
constexpr float kDefaultDataKBp
Default truncation of data cost.
Structure to store the belief propagation settings including the number of levels and iterations.
RunData AsRunData() const
Retrieve bp settings as RunData object containing description headers with corresponding values for e...
unsigned int num_iterations
unsigned int num_disp_vals
Number of disparity values must be set for each stereo set.
float disc_k_bp
Discontinuity cost cap set to high value by default but is expected to be dependent on number of disp...