Macros | |
#define | at2(arr, x, y, width) arr[x * width + y] |
Functions | |
__kernel void | gaussian_filter (__global uchar *inputL, __global uchar *inputR, __global uchar *gaussianL, __global uchar *gaussianR) |
__kernel void | sobel_filter (__global uchar *inputL, __global uchar *inputR, __global uchar *sobelL, __global uchar *sobelR) |
Variables | |
float constant | gaussian_kernel [25] |
float constant | sobel_kernelY [25] |
float constant | sobel_kernelX [25] |
#define at2 | ( | arr, | |
x, | |||
y, | |||
width | |||
) | arr[x * width + y] |
__kernel void gaussian_filter | ( | __global uchar * | inputL, |
__global uchar * | inputR, | ||
__global uchar * | gaussianL, | ||
__global uchar * | gaussianR | ||
) |
Perform 5x5 Gaussian filtering on an image
inputL | Left input image |
inputR | Right input image |
gaussianL | The Gaussian filtered left image |
gaussianR | The Gaussian filtered right image. |
__kernel void sobel_filter | ( | __global uchar * | inputL, |
__global uchar * | inputR, | ||
__global uchar * | sobelL, | ||
__global uchar * | sobelR | ||
) |
Perform 5x5 Sobel filtering on an image
inputL | Left input image |
inputR | Right input image |
sobelL | The Sobel filtered left image |
sobelR | The Sobel filtered right image. |
float constant gaussian_kernel[25] |
float constant sobel_kernelX[25] |
float constant sobel_kernelY[25] |