문제

In our lectures at the university, we got following definition for Correlation with a Kernel K with dimension n:

sum of sum of K(i,j) * I(x+i, y+j), where i,j goes from -n to n.

Convolution is defined as follows:

sum of sum of K(i,j) * I(x-i, y-j), where i,j goes from -n to n.

However, looking at the animation here:

The way they do the convolution is how correlation is defined.

Whats going on here? Is the definition given at the lectures wrong?

도움이 되었습니까?

해결책 2

I consulted the professor. Turns out the animation in Wikipedia is wrong. Even though thanks to the symmetry the result is the same.

다른 팁

The definition is absolutely correct.

Important point to note here is, both correlation and convolution are identical only when the filter I is symmetric.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top