Go to the source code of this file.
|
__kernel void | sobel (__global const uchar *restrict inputImage, const int width, __global char *restrict outputImageDX, __global char *restrict outputImageDY) |
| Sobel filter kernel function.
|
|
__kernel void sobel |
( |
__global const uchar *restrict |
inputImage, |
|
|
const int |
width, |
|
|
__global char *restrict |
outputImageDX, |
|
|
__global char *restrict |
outputImageDY |
|
) |
| |
Sobel filter kernel function.
- Parameters
-
[in] | inputImage | Input image data in row-major format. |
[in] | width | Width of the image passed in as inputImage. |
[out] | outputImageDX | Output image of the calculated gradient in the X direction. |
[out] | outputImageDY | Output image of the calculated gradient in the Y direction. |
Definition at line 18 of file sobel.cl.