FFT Convolution - 3x3 kernel
问题 I have written some routines to sharpen a Grayscale image using a 3x3 kernel, -1 -1 -1 -1 9 -1 -1 -1 -1 The following code is working well in case of non-FFT (spatial-domain) convolution, but, not working in FFT-based (frequency-domain) convolution. The output image seems to be blurred. I have several problems: (1) This routine is not being able to generate desired result. It also freezes the application. public static Bitmap ApplyWithPadding(Bitmap image, Bitmap mask) { if(image.PixelFormat