Returns a matrix that is the two dimensional convolution of
g with h,
where g and h are integer, real, double-precision,
or complex matrices.
We use the following notation to specify the return matrix f:
number of rows in f
number of columns in f
number of rows in g
number of columns in g
number of rows in h
number of columns in h
If 1 <i<mh and 1 <j<nh
H(i, j) = h i,j otherwise H(i, j) is zero.
The return value f has the same type as g
and is defined by
mf = mg + mh - 1 nf = ng + nh - 1
--- --- f = > > gH(m-i+1, n-j+1) m,n --- --- i,j i=1 j=1 An two dimensional fft
is used to compute the convolution.