Optimized Belief Propagation (CPU and GPU)
|
Abstract class to run belief propagation on target device. Some of the class functions need to be overridden for processing on target device. More...
#include <ProcessBp.h>
Public Member Functions | |
ProcessBp (const ParallelParams ¶llel_params) | |
virtual run_eval::Status | ErrorCheck (const char *file="", int line=0, bool abort=false) const |
std::optional< std::pair< float *, DetailedTimings< beliefprop::Runtime_Type > > > | operator() (const std::array< float *, 2 > &images_target_device, const beliefprop::BpSettings &alg_settings, const std::array< unsigned int, 2 > &width_height_images, T *allocated_mem_bp_processing, T *allocated_memory, const std::unique_ptr< MemoryManagement< T >> &mem_management_bp_run) const |
Run belief propagation implementation with on a set of stereo images to generate a disparity map. Input is images image1Pixels and image1Pixels Output is resultingDisparityMap. More... | |
Protected Attributes | |
const ParallelParams & | parallel_params_ |
Abstract class to run belief propagation on target device. Some of the class functions need to be overridden for processing on target device.
T | |
DISP_VALS | |
ACCELERATION |
Definition at line 67 of file ProcessBp.h.
|
inlineexplicit |
Definition at line 69 of file ProcessBp.h.
|
inlinevirtual |
Definition at line 73 of file ProcessBp.h.
std::optional< std::pair< float *, DetailedTimings< beliefprop::Runtime_Type > > > ProcessBp< T, DISP_VALS, ACCELERATION >::operator() | ( | const std::array< float *, 2 > & | images_target_device, |
const beliefprop::BpSettings & | alg_settings, | ||
const std::array< unsigned int, 2 > & | width_height_images, | ||
T * | allocated_mem_bp_processing, | ||
T * | allocated_memory, | ||
const std::unique_ptr< MemoryManagement< T >> & | mem_management_bp_run | ||
) | const |
Run belief propagation implementation with on a set of stereo images to generate a disparity map.
Input is images image1Pixels and image1Pixels
Output is resultingDisparityMap.
images_target_device | |
alg_settings | |
width_height_images | |
allocated_mem_bp_processing | |
allocated_memory | |
mem_management_bp_run |
Definition at line 410 of file ProcessBp.h.
|
protected |
Definition at line 103 of file ProcessBp.h.