Optimized Belief Propagation (CPU and GPU)
|
This kernel is used to filter the image with the given filter in the vertical and horizontal directions. More...
#include "KernelFilterHeader.cuh"
#include <cuda_runtime.h>
#include <cuda.h>
#include "BpSharedFuncts/SharedSmoothImageFuncts.h"
#include "RunImp/UtilityFuncts.h"
Go to the source code of this file.
Namespaces | |
beliefprop_cuda | |
Namespace to define global kernel functions for parallel belief propagation processing using CUDA. | |
Functions | |
__global__ void | beliefprop_cuda::convertUnsignedIntImageToFloat (unsigned int *uint_image_pixels, float *float_image_pixels, unsigned int width_images, unsigned int height_images) |
template<BpImData_t T> | |
__global__ void | beliefprop_cuda::FilterImageAcross (const T *image_to_filter, float *filtered_image, unsigned int width_images, unsigned int height_images, const float *image_filter, unsigned int size_filter) |
Kernel to apply a horizontal filter on each pixel of the image in parallel the input image is stored as unsigned ints the output filtered image is returned as an array of floats. More... | |
template<BpImData_t T> | |
__global__ void | beliefprop_cuda::FilterImageVertical (const T *image_to_filter, float *filtered_image, unsigned int width_images, unsigned int height_images, const float *image_filter, unsigned int size_filter) |
Kernel to apply a vertical filter on each pixel of the image in parallel the input image is stored as unsigned ints the output filtered image is returned as an array of floats. More... | |
This kernel is used to filter the image with the given filter in the vertical and horizontal directions.
Definition in file KernelFilter.cu.