I have performed 2D convolution on image matrix using: A. Matrix multiplication B. Fast Fourier Transformation.
My question is can I apply any of the above techniques (let's say FFT) for performing convolutions using spatially varying kernel?
My understanding is spatially varying kernel is applying different kernel on different parts of an image. But doesn't it violate the basic rule of convolution?