JPG image compression encoding and decoding Design and Implementation
- Author
- LiZhi
- Advisor
- WangQingXian , LuBen
- School
- University of Electronic Science and Technology
- Major
- Software Engineering
- Classification
- TP391.41 Image recognition device
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 199
- Citations
- 0
Abstract
This thesis introduces the encoding and decoding of JPEG. The encoding part of this program can encode a picture whose format is BMP turn to JPEG. Then we can save the document into binary system. The decoding program can decode the compression data and reconstruct the origin image. On the process of transporting, we often use the form of JPEG to encode the frozen pictures. JPEG is one of the loss compression which can not recover all the image data, some data are losted. Although we look forward to non-lossy compression. However, the compression ratio of lossy compression is bigger than that non-lossy compression. The encode of JPEG translates image color from RBG to luminance Y and chroma Cr、Cb. Because our eyes are less sensitive to chroma comparing with luminance , some of chroma data are abandoned to reduce data size.The thesis introduces the compression scheme of JPEG firstly, including its history and the basic situation of this stage, compression principle, and so on. Referring to the JPEG compression method, the thesis focuses on the basic tenets of Huffmen coding and run-length coding and their specific application in JPEG compression algorithm. To transform coding method as an example, it introduces the discrete cosine transform (DCT) the basic process. Finally, Using the VC + +to compile the compression process involves several basic modules of JPEG. Realizing the transporting from BMP to JPEG is the most important ideological basis for programming.JPEG envolves some kinds of ways of encoding including Run Length Coding and Huffmen Coding, so it has high compression ratio. Before coding, we divide data into blocks, DCT and quantization. The low-frequency signals that have more energy are maintained and others are rejected . While decoding , data stream are readed , decoded , inverse-quantified and then IDCT .
Table of contents
Abstract 4-5
Abstract 5-9
first chapter 9-19
1.1 of the motivation and purpose 9 -10
1.2 introduces the research background and current situation 10-11
1.3 research 11
1.4 system principle 11-18
1.4.1 color model 11-12
1.4.2 DCT discrete cosine transform 12-14
1.4.3 Ordering DCT results 14-15 <br / > 1.4.4 quantitative 15-16
1.4.5 Huffmen coding 16-18
1.5 feasibility study 18-19
1.5.1 economic feasibility 18
1.5.2 Technical feasibility 18
1.5.3 running feasibility 18-19
Chapter image compression theoretical foundation and development process 19-38
2.1 image compression 19-21
2.1.1 image compression significance 19-20
2.1.2 JPEG image compression international standard 20-21
2.2 JPEG image compression technology 21-24
2.3 JPEG compression image file format 24-25 < br /> 2.3.1 BMP image format 25
2.3.2 JPEG image format 25
2.4 discrete cosine transform 25-28
2.5 image quantify 28-31
2.6 RLE 31
2.7 Huffman coding 31-33
2.8 system Development theory process 33 -37
2.8.1 color conversion and sampling 33-34
2.8.2 -dimensional DCT transform 34
2.8.3 quantitative 34 < br /> 2.8.4 RLE , ZIGZAG scanning 34-35
2.8.5 Huffman coding 35-37
2.9 chapter Summary 37-38
Chapter needs analysis 38-42
3.1 image compression significance 38-39
3.2 system functional Analysis 39-40 < br /> 3.3 system Requirements Analysis step 40-41
3.4 system features modular design 41
3.5 Summary 41-42
fourth Zhang overall design 42-48
4.1 system design principles 42-43
4.2 design Goals 43
4.3 system development platform 43
4.3.1 software configuration 43
4.3.2 hardware Configuration 43
4.4 systems development methodology and technology roadmap 43-47 <br / > 4.5 Chapter Summary 47-48
CHAPTER code design and implementation 48-65
5.1 code design 48-53
5.1. a list of programs 49-53
5.2 public module (Module) design 53-54
5.3 JPEG image compression software implementation 54-60 <br / > 5.3.1 BMP images read, display module 54-56
5.3.2 DCT quantization coding module 56-58
5.3.3 -bit data stream composed of modules 58-60
5.3.4 JPEG image storage module 60
5.4 describes the function of each module 60-64
5.4.1 the menu features 60-61
5.4.2 software demonstrations 61-64
5.5 Chapter Summary 64-65
Chapter VI testing and maintenance 65-67
6.1 test 65-66
6.2 maintenance 66-67
Chapter Summary and Outlook 67-69
Acknowledgements 69-70
References 70-71
Appendix user Manual 71-72
Related dissertations
- Researching on Watermarking Algorithm of Image Resistance to Compressing
- JPEG Implementation of Still Image Compression Technique
- Implementation of JPEG Encoder Based on TMS320C6416
- Study on the Compression and Coding of Raw VTS Radar Video
- DVD video compression techniques and the laser head
- Research and implementation of high speed image compression processor for digital camera
- The Research of Data Cube Incremental Calculation Method in OLAP
- Research and Design of Digital Image Steganalysis System
- The Application of Deduplication Technology in Picture File System
- Research and Self-adaptive Motion Estimation Algorithm of Inter Prediction in HEVC
- High Performance JPEG Encoder Design and OVM Verification
- JPEG Encoding Algorithm Optimization and Implementation Based on FPGA
- Research on Energy-efficient JPEG Image Coding Algorithm in Wireless Multimedia Sensor Network
- The Implementation of JPEG Image Compression Algorithm Based on FPFA
- Study on the Compression Characteristics of Biomass in Bi-taper Mode
- A e-p Curve Model for Soil Compression Process and its Engineering Applications
- Design and Implementation of Networking Building Visual Door Bell System
- Research on the Method of Seismic Strengthening of Small-sized Pier in Primary and Secondary School Buildings of Masonry Structure
- Research on the Key Technology of Coarse-grained Filler in High Embankment of the High-speed Railway
- The Study on the Compression、Collision and Shear Properties of Soybean and Maize in the Process of Storage and Transportation