Multidimensional discrete convolution: Difference between revisions

Content deleted Content added
Ssow3 (talk | contribs)
Ssow3 (talk | contribs)
Line 123:
<math>y(n_1,n_2)=\sum_{k_1=-\infty}^{\infty} \sum_{k_2=-\infty}^{\infty} h_1(k_1)h_2(k_2)x(n_1-k_1,n_2-k_2)</math>
 
<math>y(n_1,n_2)=\sum_{k_1=-\infty}^{\infty}h_1(k_1)\Bigg[ \sum_{k_2=-\infty}^{\infty} h_2(k_2)x(n_1-k_1n_2k_1,n_2-k_2)\Bigg]</math>
 
Thus, the resulting convolution can be effectively calculated by first performing the convolution operation on all of the rows of <math>x(n_1,n_2)</math>, and then on all of its columns. This approach can be further optimized by taking into account how memory is accessed within a computer processor.