Matlab代码实现图像的傅里叶变换

I=imread('D:\Program Files\MATLAB\R2016a\lena.jpg');
imshow(I);
I =imdouble(I);
Matrix=fft2(I);
Matrix=fftshift(Matrix);
figure;
imshow(log(abs(Matrix+1)),[0,10])

猜你喜欢

转载自blog.csdn.net/qq_28632639/article/details/78876867