Calculating a two dimensional circular convolution using a two dimensional linear convolution

308 Views Asked by At

Assume we have a pair of two dimensional matrices $A$ and $B$. How can we calculate their circular convolution using only the linear convolution (and possibly padding numbers)?