btb4198
- 570
- 10
Does anyone know of a Kernel I can use to find a ring in a image ?
The term kernel is used by NVidia to describe functions that run on GPUs that they manufacture, as opposed to functions that run on the computer's CPU. Is this the type of kernel that you're asking about?btb4198 said:Does anyone know of a Kernel I can use to find a ring in a image ?
Do you know of any kernel to identify circular features ?jedishrfu said:i think the OP wants to scan an image using a kernel to identify circular features in the image via convolution.
https://towardsdatascience.com/types-of-convolution-kernels-simplified-f040cb307c37
I think that kernel would match the letter "X", not a circle.btb4198 said:This is it :
_kernel = new double[5, 5] { { 16, 0, 0, 0,16 },
{ 0, 8, 0, 8, 0 },
{ 0, 0, 1, 0, 0 },
{ 0, 8, 0, 8, 0 },
{ 16, 0, 0, 0, 16 }};
Convolution is the process of adding each element of the image to its local neighbors, weighted by the kernel.