《数字图像处理通信工程.doc》由会员分享,可在线阅读,更多相关《数字图像处理通信工程.doc(29页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。
1、【精品文档】如有侵权,请联系网站删除,仅供学习与交流数字图像处理通信工程.精品文档.报告成绩:教师签字:批改日期:评语:学生实验报告课程名称数字图像处理姓名XXX实验名称数字图像的FFT变换与DCT 小波变换班级XXXXX实验目的熟悉MATLAB软件完成FFT的现实与计算,图像的FFT变换,DCT变换,小波变换。学号XXXXXXX实验日期XXX实验内容FFT的显示与计算,图像的FFT变换,图像的DCT变换,图像的小波变换实验地点实验组号实验设备PC机 MATLAB软件同组人无1.实验电路及连线本2.程序流程图本3.源程序FFT的显示与计算 f=zeros(256); imshow(f); f(
2、25:225,75:175)=1; figure,imshow(f) F=fft2(f); figure,imshow(F)Warning: Displaying real part of complex input. In imuitoolsprivateimageDisplayValidateParamsvalidateCData at 149 In imuitoolsprivateimageDisplayValidateParams at 31 In imuitoolsprivateimageDisplayParseInputs at 79 In imshow at 199 figure
3、,imshow(F,)Warning: Displaying real part of complex input. In imuitoolsprivateimageDisplayValidateParamsvalidateCData at 149 In imuitoolsprivateimageDisplayValidateParams at 31 In imuitoolsprivateimageDisplayParseInputs at 79 In imshow at 199 F_abs=abs(F); figure,imshow(F_abs,) Fc=fftshift(F_abs); f
4、igure,imshow(Fc,) S2=log(1+abs(Fc); figure,imshow(S2,) mesh(S2) figure,mesh(Fc) figure,mesh(S2) figure,contour(S2) F_angle=angle(F); figure,imshow(F_angle,) Fa=unwrap(F_angle); figure,imshow(Fa,)2.图像的FFT变换 f=imread(C:Documents and SettingsAdministrator桌面实验图像zelda.bmp); imshow(f); F=fft2(f); figure,i
5、mshow(F)Warning: Displaying real part of complex input. In imuitoolsprivateimageDisplayValidateParamsvalidateCData at 149 In imuitoolsprivateimageDisplayValidateParams at 31 In imuitoolsprivateimageDisplayParseInputs at 79 In imshow at 199 F_abs=abs(F); figure,imshow(F_abs) figure,imshow(F_abs,) Fc=
6、fftshift(F_abs); figure,imshow(Fc,) S2=log(1+abs(Fc); figure,imshow(S2,) F_angle=angle(F); figure,imshow(F_angle,) Fa=unwrap(F_angle); figure,imshow(Fa,) mesh(S2) figure,mesh(S2); figure,contour(S2);3.图像的DCT变换 f=imread(C:UsersmfDesktopzelda.bmp); imshow(f) Fdct=dct2(f); imshow(Fdct) imshow(Fdct,) im
7、show(abs(Fdct),) imshow(fftshift(abs(Fdct),) S2=log(1+abs(fftshift(abs(Fdct); imshow(S2,) imshow(S2,)4.图像的小波变换 f=imread(C:UsersmfDesktopzelda.bmp); imshow(f) A,B,C,D=dwt2(f,db1); figure,imshow(A) figure,imshow(A,) figure,imshow(B,) figure,imshow(C,) figure,imshow(D,) E=A,B;C,D; figure,imshow(E,) a,b,c,d=dwt2(A,db1); F=a,b;c,d; figure,imshow(F,) G=a,b,c,d;E; figure,imshow(G,)Warning: Image is too big to fit on screen; displaying at 67% In imuitoolsprivateinitSize at 73 In imshow at 2624.结果记录及分析1.FFT的显示与计算2.图像的FFT变换3.图像的DCT变换4.图像的小波变换5.收获感想通过这次实验 更加熟悉了对MATLAB软件的操作和对课程的理解。