Return to Computer Vision Notebooks

Bi-dimensional Discrete Correlation



Naive implementation of bi-dimensional discrete correlation.

Cross-correlation


$$ \large \displaystyle (h \star x)[n_1, n_2]=\sum_{k_1=-\infty}^{\infty}\sum_{k_2=-\infty}^{\infty}h(k_1, k_2)x(n_1+k_1,n_2+k_2) $$