Apply a direct convolution on an image using the specified kernel. The convolution corresponds of a weighted average of the surrounding pixels, the weights being defined in the kernel.
The image to process.
Kernel to use for the convolution. Should be a 2D matrix with odd number of rows and columns.
Convolution options.
The convoluted image.
Apply a direct convolution on an image using the specified kernel. The convolution corresponds of a weighted average of the surrounding pixels, the weights being defined in the kernel.