PDA

View Full Version : opencl sobel filter and theory



giugio
11-30-2012, 07:14 AM
hello.
i would implement and modify(for my application)the sobel filter in opencl(i saw the example in the nvidia opencl sdk and works fine), but first i would understand the theory of the sobel filter .
where i can read about the theory?in books or google?

thanks.

sean.settle
11-30-2012, 11:03 AM
Take a look at the Sobel Filter (http://en.wikipedia.org/wiki/Sobel_filter) for some accessible background info, and at Image Convolution (http://www.evl.uic.edu/kreda/gpu/image-convolution/) for more details about optimizing the kernel in OpenCL.

giugio
11-30-2012, 04:11 PM
thanks

giugio
12-04-2012, 08:06 AM
I'm start reading, i have a doubt:
for understand better the sobel filter:
The matrix system is a method for gain-time for find the edges?
isn't possible to test pixel for pixel the difference of color of neighbors pixels and see if it's in a range and if it is select the pixel?

it's only a compute method?
thanks.