|
Optimized Belief Propagation (CPU and GPU)
|
Child class of SmoothImage for smoothing images in the CUDA implementation. More...
#include <SmoothImageCUDA.h>


Public Member Functions | |
| SmoothImageCUDA (const ParallelParams &cuda_params) | |
| void | operator() (const BpImage< unsigned int > &in_image, float sigma, float *smoothed_image) const override |
| For the CUDA smoothing, the input image is on the host and the output image is on the device (GPU) More... | |
Public Member Functions inherited from SmoothImage | |
| SmoothImage (const ParallelParams ¶llel_params) | |
Additional Inherited Members | |
Protected Member Functions inherited from SmoothImage | |
| std::vector< float > | MakeFilter (float sigma) const |
| Create a Gaussian filter from a sigma value. More... | |
Protected Attributes inherited from SmoothImage | |
| const ParallelParams & | parallel_params_ |
| Parallel parameters to use parallel operations (number of threads on CPU / thread block config in CUDA) More... | |
Child class of SmoothImage for smoothing images in the CUDA implementation.
Definition at line 44 of file SmoothImageCUDA.h.
|
inlineexplicit |
Definition at line 46 of file SmoothImageCUDA.h.
|
overridevirtual |
For the CUDA smoothing, the input image is on the host and the output image is on the device (GPU)
| in_image | |
| sigma | |
| smoothed_image |
Implements SmoothImage.
Definition at line 31 of file SmoothImageCUDA.cpp.
