数字图像处理中,卷积 (convolution)和互相关 (cross-correlation)的关系? - 知乎 Two-dimensional correlation is equivalent to two-dimensional convolution with the filter matrix rotated 180 degrees See the Algorithm section for more information about how filter2 performs linear filtering