Optimized Belief Propagation (CPU and GPU)
|
Abstract class to set up and run belief propagation on target device using specified acceleration. More...
#include <RunBpOnStereoSet.h>
Public Member Functions | |
virtual std::string | BpRunDescription () const =0 |
Pure virtual function to return run description corresponding to target acceleration. More... | |
virtual std::optional< beliefprop::BpRunOutput > | operator() (const std::array< std::string, 2 > &ref_test_image_path, const beliefprop::BpSettings &alg_settings, const ParallelParams ¶llel_params) const =0 |
Pure virtual operator() overload that must be defined in child class. More... | |
Protected Member Functions | |
std::optional< beliefprop::BpRunOutput > | ProcessStereoSet (const std::array< std::string, 2 > &ref_test_image_path, const beliefprop::BpSettings &alg_settings, const beliefprop::BpOnDevice< T, DISP_VALS, ACCELERATION > &run_bp_on_device) const |
Protected function to set up, run, and evaluate bp processing on target device using pointers to acceleration-specific smooth image, process BP, and memory management child class objects. More... | |
Abstract class to set up and run belief propagation on target device using specified acceleration.
T | |
DISP_VALS | |
ACCELERATION |
Definition at line 93 of file RunBpOnStereoSet.h.
|
pure virtual |
Pure virtual function to return run description corresponding to target acceleration.
Implemented in RunBpOnStereoSetSingleThreadCPU< T, DISP_VALS, ACCELERATION >, RunBpOnStereoSetCUDA< T, DISP_VALS, ACCELERATION >, and RunBpOnStereoSetOptimizedCPU< T, DISP_VALS, ACCELERATION >.
|
pure virtual |
Pure virtual operator() overload that must be defined in child class.
ref_test_image_path | |
alg_settings | |
parallel_params |
Implemented in RunBpOnStereoSetSingleThreadCPU< T, DISP_VALS, ACCELERATION >, RunBpOnStereoSetCUDA< T, DISP_VALS, ACCELERATION >, and RunBpOnStereoSetOptimizedCPU< T, DISP_VALS, ACCELERATION >.
|
protected |
Protected function to set up, run, and evaluate bp processing on target device using pointers to acceleration-specific smooth image, process BP, and memory management child class objects.
ref_test_image_path | |
alg_settings | |
run_bp_on_device |
Definition at line 138 of file RunBpOnStereoSet.h.