1 / 15
文档名称:

图象编码实验报告.docx

格式:docx   大小:1,029KB   页数:15页
下载后只包含 1 个 DOCX 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

图象编码实验报告.docx

上传人:sssmppp 2020/12/28 文件大小:1 MB

下载得到文件列表

图象编码实验报告.docx

相关文档

文档介绍

文档介绍:图象编码实验报告
实验目的:
掌握基本的图象编码方法,观察压缩效果,加深对行程编码、余弦变换编码、 JPEG编码的理解。
实验内容:
余弦变换编码,行程编码,JPEG编码。
实验内容:

I・在Matlab Help菜单中,选Demos项。
)
Eile Edit Yiew Wefe Sindw 1
D a? | >
•,电(p. T c I
^dc 亠
Nsq
Siz«
Help
Full Product Fannly Help HATLAB Help
Usin$ tho Qesktop
maud Iindow
lAB6p5\worK
vID
0lE3]
sin^: Toolbox Path Cache. Type "help toolbo*_path_cache" for nore ix
ma nd Wndow
o get started, select "MATLAB Help** fro» the Help aenu.
, Error uting ==> (findim)
GETIMAGE. Invalid handle H.
Error in ==> E.\MATLAB6p5\toolbox\in»ages\i»ages\getimage. n On line 55 ==> him = findin (varargin{ });
Workspace Current Directory
Error in ==> E: \MATLAB6p5\toolbox\images\indemos\dctdefno. n On lin« 488 ==> (KTrgL»a“):
(ApplyDCT)
Comrend H ttory
El®
%■・ 6/26/04 5:48 PH —I
Error in => E:\MATLAB6p5\toolbox\images\ii»de<no5\dctdemo. n On line 444 ==> ApplyDCT (DemoFi<);
CEni ti ali z«I
Error in ==> E: \MATLAB6p5\toolbox\imft(;«s\ii»d«<nos\dctd«mo r» On line 373 ==> LoadNeirI«age (DctDemoFxg) % Load the defaultlma^e
Error in ==> E: \MATLAB6p5\toolbox\images\indemos\dctdemo. n On line 60 => feval(action, vararginj });
\Image Processing项,选Discrete Cosine Transform,并运行。(直 接双击Discrete Cosine Transform,或单击Discrete Cosine Transform后按右卜的 Run this demo)
,如图所示。
在右上角8*8 DCT系数图下,调节系数选择滑块。保留系数为白色,置零系数为 黑色。
口回区
Original Flower Image
DCT coefficients
6 Coemcients Selecled
Reconstructed Image
Error Image
Press 'Apply' to reconstruct the image.
) 2—D DCT I>age Compression DeMo
File Edit Vi ew Insert Tools Window Help
按Apply键。
比较原始图象、恢复图象、误差图象,观察原始图象与恢复图象的均方误差,
可以看出原始图象其实就是恢复图象和均方误差图象的叠加。
改变系数选择滑块的位置,重做4、5o 先做一次减小保留系数(即增大置零系数)的操作。
)2一D DCT Iaage Coapression Deao
口厂区
File Edit Vi ew Insert Tools Window Help
Original Flower Image
DCT coefficients