2. 读入图像cameraman.tif,计算该图像的频谱,并将频谱原点移到中心位置显示。
程序:cameraman=imread('d:\test_images\cameraman.tif','tif'); S=log(abs(fft2(cameraman)));
subplot(1,2,1);mesh(S);title('orign'); fc=log(abs(fftshift(fft2(cameraman))));
subplot(1,2,2);mesh(fc);title('move to center');
结果:
百度搜索“70edu”或“70教育网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,70教育网,提供经典综合文库实验4 图像的二维傅里叶变换和频谱(6)在线全文阅读。
相关推荐: