Ask Your Question

Revision history [back]

Filter 2D with even length kernels

I'm new to using OpenCV, and want to convolve an even length kernel, say 4 x 4 kernel with an image. Does filter 2D handle only odd length kernels?

Can anyone show me an example of how to use it with even length kernels for convolution?

Thanks H

click to hide/show revision 2
retagged

updated 2014-03-19 12:10:03 -0600

berak gravatar image

Filter 2D with even length kernels

I'm new to using OpenCV, and want to convolve an even length kernel, say 4 x 4 kernel with an image. Does filter 2D handle only odd length kernels?

Can anyone show me an example of how to use it with even length kernels for convolution?

Thanks H