以下是网学网为您推荐的交通工程-基于ucos的图像压缩与解压缩的实现,希望本篇文章对您学习有所帮助。
论文字数:21930,页数:52 开题报告,任务书,程序,答辩题目答案.
摘 要
图像压缩是用最少的数据量来表示尽可能多的原图像的信息的一个过程。对于图像来说,如果需要进行快速或实时传输以及大量存储,就需要对图像数据进行压缩。图像压缩原属于个人计算机(PC)范畴,现在正普遍用于嵌入式环境。这种趋势很大程度上是由于新的单片机处理能力提高和多媒体功能增强的结果。
UC/OS 是嵌入式开发中常用到的一种操作系统,本文就是利用UC/OS的实时操作平台来调用转换程序。本文首先介绍了图像压缩的必要性,可行性和状况。其次介绍了图像压缩的理论基础,国际标准,各种编码方法及压缩的步骤,分析了各种压缩算法,并对其中的一种压缩方法用实例来阐述。再次结合上述理论分析了本人的毕业设计作品,针对毕业设计作品提出更好的修改思路,重点是把自己已实现了的程序展示出来,让更多的人了解压缩的秘密。
关键词:图像压缩;jpeg;bmp;UC/OS;解压缩;哈夫曼编码
ABSTRACT
Image compression is a process that using the least amount of data to indicate as many as possible of the original image information. For images, if want to quick or real-time transmission and a large amount of storage,the needs is image data compression. Image compression once belonged to personal computer (PC) areas, are now widely used in embedded environment. The results of this trend is largely due to the new handling capacity of the MCU and multimedia enhancements improved.
UC/OS is a common using operating system in embedded development work. This paper make use of UC/OS real-time operating platform to call the conversion process. First, this paper introduced the image compression of the need and feasibility of the situation. Second,this paper introduce the basis of the theory of image compression, international standards, all kinds of compression and encoding method steps of a variety of compression algorithms, and show one of the compression method used examples to elaborate. Third ,this paper analysis the design work of my graduation with the theoretical in the last part. Graduated from my design work , it bring up more better amendments.The focus is that list out my own program and let more people understand the secret of compression.
Key words: picture compression; jpeg; bmp; UC/OS; decompression; huffman
目 录
第1章 绪论 .................................................................1
1.1图像压缩的必要性 .........................................................1
1.2图像数据压缩的可行性 .....................................................1
1.3图像压缩技术的发展和现状................................................. 2
1.3.1图像编码技术发展历史.................................................... 2
1.3.2图像编码技术的现状 ......................................................3
第2章 图像压缩的理论基础 ...................................................4
2.2 图像压缩的国际标准 ......................................................6
2.3 哈夫曼编码.............................................................. 7
2.3.1哈夫曼编码原理 ..........................................................7
2.3.2 哈夫曼编码在图像压缩中的实现........................................... 8
2.4 BMP文件格式 ............................................................11
2.5 JFIF格式...............................................................13
2.6 JPEG压缩实现的过程...................................................... 17
2.7 解压缩过程 .............................................................21
第3章 软件功能设计 .........................................................22
3.1 UC/OS嵌入式实时操作系统部分............................................ 22
3.1.1嵌入式系统 ............................................................22
3.1.2 UC/OS系统 ...........................................................23
3.1.3 UC/OS系统移植 .......................................................24
3.2 UC/OS应用部分 ........................................................31
3.3 UC/OS main()函数 .....................................................32
3.4 bmp转jpg的实现........................................................35
第4章 软件系统调试......................................................... 39
4.1 Source Insight 修改调试工具............................................39
4.2 UC/OS 操作平台的调试...................................................40
4.3 bmp转jpg程序调试 ......................................................41
第5章总结与展望 ............................................................45
致 谢................................................................... 47
参考文献................................................................. 48
附录:.....................................................................49