Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

filter2d and convolutions

Hi,

For a project i am working on, I want to perform a convolution to get a wavelet response. For this i wanted to use filter2d, but in the documentation it states that it is a correlation and not a convolution. If you want a convolution you'd have to flip the kernel and move the anchor.

Now my question is, if I have a symmetric 2d kernel and keep the anchor at its center (such as with a gaussian kernel), is the correlation calculated with filter2d equal to the convolution? If not, what do I have to change?

Best regards, Hans