I = imread('rice.png'); figure; subplot(1, 2, 1); imshow(I); title('原图');f = fft2(I); f = fftshift(log(1+abs(f))); subplot(1, 2, 2); imshow(f, []); title('频谱图');
f= imread('rice.png'); f=im2double(f); F=fft2(f,256,256); F2=fftshift(F); F3=log(1+abs(F2)); figure(2) subplot(1,2,1); imshow(f); title('源图像');subplot(1,2,2); imshow(F3); title('傅里叶频谱');
图像的log频谱又是指什么?
联系客服