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

Utility functions for belief propagation processing that are used in both optimized CPU and CUDA implementations. More...

Include dependency graph for SharedBpUtilFuncts.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.
 

Functions

ARCHITECTURE_ADDITION bool beliefprop::WithinImageBounds (unsigned int x_val, unsigned int y_val, unsigned int width, unsigned int height)
 Checks if the current point is within the image bounds Assumed that input x/y vals are above zero since their unsigned int so no need for >= 0 check. More...
 
ARCHITECTURE_ADDITION unsigned int beliefprop::RetrieveIndexInDataAndMessage (unsigned int x_val, unsigned int y_val, unsigned int width, unsigned int height, unsigned int current_disparity, unsigned int total_num_disp_vals, unsigned int offset_data=0u)
 Retrieve the current 1-D index value of the given point at the given disparity in the data cost and message data. More...
 

Detailed Description

Utility functions for belief propagation processing that are used in both optimized CPU and CUDA implementations.

Author
Scott Grauer-Gray

Definition in file SharedBpUtilFuncts.h.