Finding for convolution kernel if many 0's for FFT?
问题 I know that original_image * filter = blur_image , where * is the convolution. Thus, filter = ifft(fft(blur)/fft(original)) I have an original image, the known filter, and the known blurred image. I tried the following code. I just want to compare the computed filter using fft and ifft and compare it with the known filter. I tried in Matlab: orig = imread("orig.png") blur = imread("blur.png") fftorig = fft(orig) fftblur = fft(blur) div = fftblur/fftorig conv = ifft(div) The result doesn't