Optimized Belief Propagation (CPU and GPU)
BpSettings.h File Reference

Declares structure to store the belief propagation settings including the number of levels and iterations. More...

#include <vector>
#include <string>
#include <string_view>
#include "RunSettingsParams/InputSignature.h"
#include "RunEval/RunData.h"
#include "BpConstsEnumsAliases.h"
#include "BpRunUtils.h"
Include dependency graph for BpSettings.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  beliefprop::BpSettings
 Structure to store the belief propagation settings including the number of levels and iterations. More...
 

Namespaces

 beliefprop
 Namespace for enums, constants, structures, and functions specific to belief propagation processing.
 

Variables

template<typename T >
concept Params_t
 Parameters type requires AsRunData() function to return the parameters as a RunData object. More...
 
constexpr std::string_view beliefprop::kNumDispValsHeader {"Num Possible Disparity Values"}
 
constexpr std::string_view beliefprop::kNumBpLevelsHeader {"Num BP Levels",}
 
constexpr std::string_view beliefprop::kNumBpItersHeader {"Num BP Iterations"}
 
constexpr std::string_view beliefprop::kDiscCostCapHeader {"DISC_K_BP"}
 
constexpr std::string_view beliefprop::kDataCostCapHeader {"DataKBp"}
 
constexpr std::string_view beliefprop::kBpSettingsLambdaHeader {"LambdaBp"}
 
constexpr std::string_view beliefprop::kBpSettingsSigmaHeader {"SigmaBp"}
 
constexpr unsigned int beliefprop::kDefaultLevelsBp {5}
 Default values for BP settings. Number of scales/levels in the pyramid to run BP. More...
 
constexpr unsigned int beliefprop::kDefaultItersBp {7}
 Default number of BP iterations at each scale/level. More...
 
constexpr float beliefprop::kDefaultSigmaBp {0.0}
 Default sigma value for smoothing input images. More...
 
constexpr float beliefprop::kDefaultLambdaBp {0.1}
 Default weighing of data cost. More...
 
constexpr float beliefprop::kDefaultDataKBp {15.0}
 Default truncation of data cost. More...
 

Detailed Description

Declares structure to store the belief propagation settings including the number of levels and iterations.

Author
Scott Grauer-Gray

Definition in file BpSettings.h.

Variable Documentation

◆ Params_t

template<typename T >
concept Params_t
Initial value:
=
requires(T t) {
{ t.AsRunData() } -> std::same_as<RunData>;
}

Parameters type requires AsRunData() function to return the parameters as a RunData object.

Template Parameters
T

Definition at line 46 of file BpSettings.h.