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

File with namespace for enums, constants, structures, and functions specific to belief propagation processing. More...

#include <array>
#include "RunEval/RunTypeConstraints.h"
Include dependency graph for BpConstsEnumsAliases.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

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

Typedefs

template<RunData_ptr T>
using beliefprop::CheckerboardMessages = std::array< std::array< T, kNumMessageArrays >, kNumCheckerboardParts >
 Define alias for array with message costs for each bp processing checkerboard.
Each checkerboard messages element corresponds to an array of message values and message values must be pointers to a bp data type. More...
 
template<RunData_ptr T>
using beliefprop::DataCostsCheckerboards = std::array< T, kNumCheckerboardParts >
 Define alias for two-element array with data costs for each bp processing checkerboard.
Belief propagation data costs must be pointers to a bp data type. More...
 

Enumerations

enum class  beliefprop::CheckerboardPart : unsigned int { beliefprop::kCheckerboardPart0 , beliefprop::kCheckerboardPart1 }
 Define the two checkerboard "parts" that the image is divided into. More...
 
enum class  beliefprop::MessageArrays : unsigned int { beliefprop::kMessagesUCheckerboard , beliefprop::kMessagesDCheckerboard , beliefprop::kMessagesLCheckerboard , beliefprop::kMessagesRCheckerboard }
 
enum class  beliefprop::MessageComp { beliefprop::kUMessage , beliefprop::kDMessage , beliefprop::kLMessage , beliefprop::kRMessage }
 
enum class  beliefprop::BpKernel : unsigned int {
  beliefprop::kBlurImages , beliefprop::kDataCostsAtLevel , beliefprop::kInitMessageVals , beliefprop::kBpAtLevel ,
  beliefprop::kCopyAtLevel , beliefprop::kOutputDisp
}
 Enum corresponding to each kernel in belief propagation that can be run in parallel. More...
 

Variables

constexpr unsigned int beliefprop::kNumCheckerboardParts {2}
 Number of checkerboard parts for processing. More...
 
constexpr unsigned int beliefprop::kNumMessageArrays {4}
 Number of message arrays in each checkerboard part. More...
 
constexpr unsigned int beliefprop::kNumKernels {6}
 

Detailed Description

File with namespace for enums, constants, structures, and functions specific to belief propagation processing.

Author
Scott Grauer-Gray

Definition in file BpConstsEnumsAliases.h.