Optimized Belief Propagation (CPU and GPU)
RunBpOnStereoSetCUDA< T, DISP_VALS, ACCELERATION > Class Template Referencefinal

Child class of RunBpOnStereoSet to run CUDA implementation of belief propagation on a given stereo set as defined by reference and test image file paths. More...

#include <RunBpOnStereoSetCUDA.h>

Inheritance diagram for RunBpOnStereoSetCUDA< T, DISP_VALS, ACCELERATION >:
Collaboration diagram for RunBpOnStereoSetCUDA< T, DISP_VALS, ACCELERATION >:

Public Member Functions

std::string BpRunDescription () const override
 Returns description of bp implementation using CUDA. More...
 
std::optional< beliefprop::BpRunOutputoperator() (const std::array< std::string, 2 > &ref_test_image_path, const beliefprop::BpSettings &alg_settings, const ParallelParams &parallel_params) const override
 Run the disparity map estimation BP on a set of stereo images and save the results between each set of images. More...
 

Additional Inherited Members

- Protected Member Functions inherited from RunBpOnStereoSet< T, DISP_VALS, ACCELERATION >
std::optional< beliefprop::BpRunOutputProcessStereoSet (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...
 

Detailed Description

template<RunData_t T, unsigned int DISP_VALS, run_environment::AccSetting ACCELERATION>
class RunBpOnStereoSetCUDA< T, DISP_VALS, ACCELERATION >

Child class of RunBpOnStereoSet to run CUDA implementation of belief propagation on a given stereo set as defined by reference and test image file paths.

Template Parameters
T
DISP_VALS
ACCELERATION

Definition at line 52 of file RunBpOnStereoSetCUDA.h.

Member Function Documentation

◆ BpRunDescription()

template<RunData_t T, unsigned int DISP_VALS, run_environment::AccSetting ACCELERATION>
std::string RunBpOnStereoSetCUDA< T, DISP_VALS, ACCELERATION >::BpRunDescription ( ) const
inlineoverridevirtual

Returns description of bp implementation using CUDA.

Returns
Description of BP implementation using CUDA

Implements RunBpOnStereoSet< T, DISP_VALS, ACCELERATION >.

Definition at line 59 of file RunBpOnStereoSetCUDA.h.

◆ operator()()

template<RunData_t T, unsigned int DISP_VALS, run_environment::AccSetting ACCELERATION>
std::optional<beliefprop::BpRunOutput> RunBpOnStereoSetCUDA< T, DISP_VALS, ACCELERATION >::operator() ( const std::array< std::string, 2 > &  ref_test_image_path,
const beliefprop::BpSettings alg_settings,
const ParallelParams parallel_params 
) const
inlineoverridevirtual

Run the disparity map estimation BP on a set of stereo images and save the results between each set of images.

Parameters
ref_test_image_path
alg_settings
parallel_params
Returns
Output from BP implementation run using CUDA or null of error in run

Implements RunBpOnStereoSet< T, DISP_VALS, ACCELERATION >.

Definition at line 72 of file RunBpOnStereoSetCUDA.h.

Here is the call graph for this function:

The documentation for this class was generated from the following file: