Research on Application of Image Data Compression Technique in PDF
- Author
- HeZhongPing
- Advisor
- ZhangAiZuo
- School
- Harbin Engineering University
- Major
- Pattern Recognition and Intelligent Systems
- Classification
- TP391.41 Image recognition device
- Degree
- Master's thesis
- Year
- 2004
- Downloads
- 304
- Citations
- 1
- Portable Document Format(PDF)
- Java
- Data compression
- Run-Length Encoding(RLE)
- Discrete cosine transform(DCT)
- Huffman
- JPEG
- AA&N
- ASCII85
- ASCIIHex
Abstract
Portable Document Format (PDF) is the object to be studied in my paper, which is one of the electronic document formats. How to write image data to PDF is the focus of the study. Image data compression and its application in PDF are studied in-depth in the paper.At first, the characteristics and structure of PDF and approach to produce PDF are studied in detail.Secondly, focused on how to load image to application in the environment of Java, a class is realized, which can load any image by the same way. In addition, an approach to extract pixel value from loaded image is analyzed and the corresponding realization in Java is given.Then, with the topic of how to use image data compression in PDF, image data compression techniques are studied in the paper. Arithmetic of data compression or data encoding that used in several version of PDF is discussed. They include ASCII85,ASCIIHex and Joint Photographic Expert Group (JPEG) arithmetic which is composed of Run Length Encoding (RLE), Discrete Cosine Transform(DCT) and Huffman. In order to improve the efficiency and speed of compression, the AA&N method is used in the step of DCT and quantization which are two of the steps in the realization of JPEG. Adaptive Image Compression and Encoding (AICE) is proposed and used in the step of writing image data to PDF. It chooses fit arithmetic to process image data according to the type of image it recognized. A good result is obtained by imported AICE. Further, corresponding scheme to resolve the problems encountered in the process of writing image data to PDF is given.Finally, a test system integrated all above realization is introduced. Two experiment results show the efficiency of arithmetic we proposed.
Table of contents
Chapter 1 Introduction 11-15
1.1 Overview 11-13
1.2 data compression technology with PDF 13
Status 1.3 PDF application the main contents 13-14
1.4 This article 14-15
PDF Chapter 2 introduces 15-36
2.1 PDF Profile 15 - 17
2.1.1 PDF Overview produce fashion 15-16
2.1.2 PDF files 16
2.1.3 PDF basic features 16 -17
2.2 PDF object in 17-20
2.2.1 direct object basic attribute table 17
2.2.2 Stream object 17 -18
2.2.3 indirect object 18-19
2.2.4 indirect reference 19-20
2.3 PDF of the coordinate system 20 - 24
2.3.1 PDF coordinate systems commonly used in 20-21
relations 2.3.2 PDF several coordinate systems 21
2.3.3 coordinate conversion system 21-23
2.3.4 transformation matrix 23-24
2.4 PDF file structure 24-28
2.4.1 Header 25
2.4.2 Body 25
2.4.3 Cross-referencetable 25-27
2.4.4 Trailer 27-28
2.5 PDF document structure 28-32
2.5.1 Catalog 29-30
2.5.2 Pages 30-31
2.5.3 Page 31
2.5.4 other document Object 31-32
2.6 common data structures 32-34
2.6.1 common Data structure 32
2.6.2 Resources 32-33
2.6.3 ColorSpace 33
2.6.4 XObject 33-34
2.7 page description 34-35
2.7.1 graphics state operator 34
2.7.2 external object operator 34-35 <br / > 2.8 Chapter Summary 35-36
extract nbsp Java environment of Chapter 3 of the image data ; basic knowledge 36-47
3.1 digital image 36 - under 38
3.2 Java environment to achieve load images 38-41
3.2.1 Overview 38-39
3.2.2 basic theory 39 - achieve 40
3.2.3 loaded image 40-41
extracted under 3.3 Java environment to achieve image data 41-46
3.3.1 Color Models 41-42
3.3.2 ImageProducer interfaces 42-43
3.3.3 ImageConsumer interfaces 43
3.3.4 image producers and consumers of images relations between 43-44
3.3.5 extraction of image data 44-46
3.4 Summary 46-47
Chapter 4 data encoding and compression to achieve PDF supports basic theory 47-78
4.1 data compression necessity and possibility of 47-49
4.1.1 compression image coding 47-48
4.1.2 classification of image data compression 48
4.1.3 metrics data compression algorithm 48-49
4.2 PDF data encoding and compression 49-50
basic theory of data encoding and compression of 4.3 50-63
4.3.1 ASCIIHex coding 50
4.3 .2 ASC Ⅱ 85 coding 50-52
4.3.3 RLE 52-53
4.3.4 Huffman coding 53-55
4.3.5 JPEG 55-63
4.4 JPEG image compression Java implementation conversion sampling 63-71
4.4.1 source image and the color mode 63
4.4.2 DCT transform and quantization sampling data Huffman coding 63-66
4.4.3 for DCT coefficients 66-71
4.4.4 JFIF format to save 71
4.5 image is saved to PDF realize 71-77
conversion nbsp 4.5.1 PDF coordinates and Java coordinates ; 71-72
4.5.2 adaptive Image compression coding technology 72-77
4.6 Summary 77-78
Chapter 5 test systems and test results were 78-82
5.1 testing Introduction 78-79
5.2 test results were 79-81
5.3 Summary 81-82
conclusion 82-84
References published 84-87
master's degree thesis and obtained during the research 87-88
Thanks 88-89 <br / > Appendix a PDF of the main object table basic format of 89-91
Appendix B PDF document 91-93
Appendix C AA NFDCT achieve key code 93
Related dissertations
- Research of Spectrum Sensing and Spectrum Data Compression Technology in Cognitive Radio Communication System
- Research and Implementation of JPEG Encoding IP
- Real-time JPEG Encoding and Decoding System Based on FPGA
- Study on Data Compression for Fault Recorder in Power System
- IC Design Base on Soft IP
- Image Compression System Based on FPGA-JPEG Encoder Design
- The Research of the Realtime SAR Image Data Compression
- Design and Implement of Image Compression Algorithm Based on DCT Using Hierarchical Vector Quantization
- The Design and Realization of Internet Public Opinion System
- Research of120Emergency Vehicle Terminal Multi-channel Data Acquisition System Based on Beidou Navigation Satellite System
- Design and Implementation of Teaching Website Based on JAVA
- The Multimedia Monitoring System of Gas Blackness
- Image Interpolation Based on the DCT Domain
- Research and implementation of high speed image compression processor for digital camera
- Research and Implementation of Key Technology on Real-time Database System Called Vegebam2.1
- Research on Java’s Synchronization Optimization Based on Soot Framwork
- The Design and Implementation of the Hotelmanagement System
- Design and Implementation of Voice Communication Software
- Design and Implementation of GIS Distribution Network Management System
- Software Engineering Professional Core Courses Online Learning Platform Design and Implementation