- 2
- 0
- 约3.09万字
- 约 47页
- 2016-06-11 发布于辽宁
- 举报
毕业设计(论文)_基于matlab的jpeg基本系统编码
摘 要
本文介绍了基于MATLAB的JPEG基本系统编码。在图像传送过程中,经常采用JPEG格式对静止图像进行压缩编码。
JPEG基本系统编码首先把灰度图像分成8×8的像素块,然后对各个像素块进行离散余弦变换得到变换系数后再进行量化。其次,对量化后的变换系数采用Z形扫描,得到直流系数和交流系数。接着,对直流系数采用预测编码,对交流系数采用可变长编码。最后,根据标准的Huffman编码进行熵编码,输出压缩图像的比特序列,从而实现图像压缩。在接收端,经过Huffman解码、直流系数和交流系数可变长解码以及反量化后,再进行离散余弦逆变换后得到重建图像。
MATLAB仿真结果表明:重建图像与原始图像几乎没有任何差异,能够满足人们的视觉需求。另外,数据压缩比在10倍左右且峰值信噪比均在30dB以上。因此,采用MATLAB实现JPEG基本系统编码具有方法简单、速度快、误差小等优点,能够大大提高图像压缩的效率和精度。
关键词:JPEG;离散余弦变换; MATLAB;图形用户界面
ABSTRACT
The JPEG basic system coding based on MATLAB is introduced in this paper. The JPEG format is usually used to compress static image during the process of image transmission.
The JPEG basic system coding divides the gray image into several sub-images of size 8×8 firstly. Discrete cosine transform is used to get the transform coefficient of sub-image and then the transform coefficient is quantized. Secondly, Z type scan is adopted to get direct current (DC) coefficient and alternate current (AC) coefficient of the quantized transform coefficient. Thirdly, predictive coding and variable-length coding is used for DC and AC coefficient respectively. Finally, bit sequences of the compressed image are outputted by using entropy coding according to standard Huffman coding. Then image compression is realized. The user gets the reconstructed image by Huffman decoding, variable-length decoding of DC and AC coefficient, dequantization and reverse discrete cosine transform sequentially.
MATLAB results of simulation demonstrate that there is no difference between reconstructed image and original image and reconstructed image can satisfy human visual requirements. Additionally, compression ratio is about 10 and peak signal-to-noise ratio is all over than 30dB. Therefore, the realization of JPEG basic system coding using MATLAB is of such advantages as simple method, fast speed, small error and it can enhance the efficiency and accuracy of image compression greatly.
Key words: JPEG; discrete cosine transform; MATLAB; graphical user interface
您可能关注的文档
- llc半桥谐振电路的设计与应用论文_毕业设计.doc
- ca6140主轴箱三维cad设计方案说明书_毕业设计.doc
- mems光开关的研究及市场分析_毕业设计.doc
- n12-5435汽轮机通流部分热力设计_毕业设计.doc
- nba粉丝网上商城的设计与实现_毕业设计.doc
- nba粉丝网上商城的设计与实现正文_毕业设计.doc
- oa办公自动化管理系统详细设计说明书_毕业设计.doc
- net平台下美容美发管理系统的设计与实现_毕业设计.doc
- pdca循环在建筑工程质量与控制中的应用研究网络环境下企业信息安全分析与对策_毕业设计.doc
- pe管材生产技术毕业设计(论文)_(论文)毕业设计(论文)_.doc
最近下载
- 枣庄市台儿庄区2025届公费医学毕业生定岗笔试参考题库附答案解析.docx VIP
- 高中英语2025届高考热点人工智能与科技伦理主题作文核心词汇解读.doc VIP
- 2026中考数学压轴题每日一题(120题)答案.pdf VIP
- 2025年03月山东临沂市公费医学生考试选聘笔试历年专业考点(难、易错点)附带答案详解 .doc
- 基于PLC技术的数据中心冷源自控系统设计与应用.pdf VIP
- 时间在哪里认识时间 课件 人教版数学二年级下册.pptx VIP
- 2024年浙江事业单位427统考《综合应用能力》模考大赛(第二季).docx VIP
- 永川年产 200 万把陶瓷水果刀生产线设计.docx VIP
- 2024年07月山东省公费医学生(定向淄博)统一选岗2人笔试历年专业考点(难、易错点荟萃)附带答案详解 .doc
- 常见氧疗方式及其选择ppt课件-----精品课件下载.ppt VIP
原创力文档

文档评论(0)