Computer Vision and Deep Learning|Image Fast Fourier Transform

  • Here is the MATLAB code for fast Fourier transforming an image, multiplying the amplitude spectrum by a Gaussian filter (standard deviation 14°) centered at 0° (vertical) or 90° (horizontal):
% 读取图像
img = imread('image.jpg');

% 将图像转换为灰度图像
gray_img = rgb2gray(img);

% 对灰度图像进行快速傅里叶变换
fft_img = fft2(double

Guess you like

Origin blog.csdn.net/u011344545/article/details/130466311