28 #ifndef SMOOTHIMAGECPU_H_
29 #define SMOOTHIMAGECPU_H_
55 void ConvertUnsignedIntImageToFloatCPU(
56 const unsigned int* uint_image_pixels,
float* float_image_pixels,
57 unsigned int width_images,
unsigned int height_images,
61 template<BpImData_t U>
62 void FilterImageAcrossCPU(
63 const U* image_to_filter,
float* filtered_image,
64 unsigned int width_images,
unsigned int height_images,
65 const float* image_filter,
unsigned int size_filter,
69 template<BpImData_t U>
70 void FilterImageVerticalCPU(
71 const U* image_to_filter,
float* filtered_image,
72 unsigned int width_images,
unsigned int height_images,
73 const float* image_filter,
unsigned int size_filter,
Define constraint for data type in belief propagation processing related to image processing.
Declares abstract class for holding and processing parallelization parameters.
Declares class for smoothing the images before running BP.
Class to define images that are used in bp processing.
Abstract class for holding and processing parallelization parameters. Child class(es) specific to im...
Child class of SmoothImage for smoothing images in the optimized CPU implementation.
SmoothImageCPU(const ParallelParams &opt_cpu_params)
void operator()(const BpImage< unsigned int > &in_image, const float sigma, float *smoothed_image) const override
Function to use the image filter to apply a guassian filter to the a single image....
Class for smoothing the images before running BP. Smoothing image always uses float data type.