Optimized Belief Propagation (CPU and GPU)
KernelFilter.cu File Reference

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"
Include dependency graph for KernelFilter.cu:
This graph shows which files directly or indirectly include this file:

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...
 

Detailed Description

This kernel is used to filter the image with the given filter in the vertical and horizontal directions.

Author
Scott Grauer-Gray

Definition in file KernelFilter.cu.