据我所知,生成高斯低通滤波器的公式是:
[x y] = meshgrid(round(-N/2):round(N/2), round(-N/2):round(N/2));
GaussianFilter = exp((-x.^2/(2*sigma^2)-y.^2/(2*sigma^2)));
在这种情况下,高通滤波器的公式应该是什么?
最佳答案 我写的答案基于此-
MATLAB Image Sharpening – Gaussian High Pass Filter using (1- Gaussian Low Pass Filter)和评论.
GaussianFilterHigh = 1 - exp((-x.^2/(2*sigma^2)-y.^2/(2*sigma^2)));