Research and Design of M-JPEG Encoder and Decoder Based on FPGA

Author
WangZhangGang
Advisor
ZhangLing
School
Chongqing University
Major
Signal and Information Processing
Classification
TN919.81 Image coding
Degree
Master's thesis
Year
2010
Downloads
94
Citations
0

Request the full text

Abstract

Motion JPEG or M-JPEG (Motion Joint Photographic Experts Group) compression format is a video for each frame of video images using JPEG encoding. It not only follows the various advantages of JPEG, also successfully applied to moving images. Currently, it is widely used in digital cameras, camcorders, mobile phones, telemedicine, and desktop video systems and other consumer electronics products. This paper focuses on the research work M-JPEG codec based on FPGA design. Brief introduction to the JPEG standard and FPGA design methodology based on the encoder and decoder design ideas from the point of view of the overall plan, in-depth study of the M-JPEG codec algorithm, then the design of the various modules detailed description, and finally HDL hardware description language designed to achieve the main module of the M-JPEG mode hardware codecs and functional simulation waveforms and test results. The main research contents include the following aspects: 1, Chen DCT fast algorithm designed D DCT module. In the two-dimensional DCT transform module design, the use of parallel decomposition ranks, ping-pong operation, resource sharing and pipelining technology DCT transform algorithm by simulation results and compiled resource consumption report shows that the module is not only to improve the speed, but also reduce the consumption of resources, which strikes a balance between size and speed to be able to quickly and efficiently complete the processing of 2D-FDCT; 2D-IDCT designed and implemented using the same method; quantizer and scanning module integrated reduced memory consumption, while also saving the quantitative scanning time; entropy coding module lookup table method to complete the design, and finally output the encoded data in accordance with the specification of fixed length 32bits format is given, and each module the simulation results; 3, in the entropy decoding module design, combined with the regularity of the Huffman code table, focus algorithm CHT, and entropy decoding module is designed using this algorithm, reducing the consumption of resources of the determination time and a memory of the decoding; due to the the dequantization nature simply multiplication operation, the inverse quantization step is integrated into the entropy decoding module to improve the speed also reduces the storage resources; 4, the whole of the multiplier used in the design is the use of the hardware embedded in the FPGA multiplication circuit, not only the speed is faster, and do not take up a logical unit, at the same time in order to adapt to the requirements of the pipeline design, the multiplier are selected pipline function. The entire design uses a lot the pipeline optimization designed to improve the system operating frequency. FPGA-based M-JPEG codec function module design, complex image codec implemented on FPGA exploratory attempt FPGA designs and other image codec has positive reference. Meanwhile, to further explore the advantages of FPGA in digital image processing, in-depth understanding of the technical characteristics of such hardware module design, but also the issues important academic significance.

Table of contents

Chinese Abstract 3-4 English summary 4-8 1 Introduction 8-13 1.1 research background and significance 8-10 1.2 research status 1.3 image compression coding international standards 10-12 1.4 paper content and organizational structure 12-13 2 JPEG standard basic principles and methods 13-28 2.1 JPEG standard outlined 13-16 2.1.1 JPEG operation mode and basic constitute 13-14 2.1.2 Distortion the compressed lossless compression 14-16 2.2 JPEG standard basic compression system 16-28 2.2.1 color space conversion 16-18 2.2.2 two-dimensional discrete cosine transform and inverse transform 18-19 2.2.3 quantization and inverse quantization 19-21 2.2.4 Z-shaped scan (Zig_Zag Scan) 21 2.2.5 Entropy coding 21-28 3 FPGA chip selection and design methods 28-32 3.1 FPGA chip selection 28-29 3.2 FPGA design flow and design principles 29-30 3.2.1 FPGA design flow 29 3.2.2 FPGA design principles 29-30 3.3 FPGA development tools introduced 30-31 3.4 This chapter Summary 31-32 4 M-JPEG encoder design 32-55 4.1 encoder overall structural design 32 4.2 2D-FDCT module design 32-43 4.2.1 two-dimensional discrete cosine transform algorithm 32-33 4.2.2 one-dimensional discrete cosine transform algorithm 33-34 4.2.3 one-dimensional discrete cosine transform HDL design 34-39 4.2.4 the transpose memory HDL design 39-41 4.2.5 two-dimensional discrete cosine transform HDL design 41 4.2.6 2D-FDCT module Quartus II simulation 41-43 4.3 quantify the scanning module design 43-46 4.4 entropy encoder design 46-53 4.4.1 RLE module HDL design 46-48 4.4.2 HuffmanCoder module HDL design 48-50 4.4.3 CoderAssemble module HDL design 50-51 4.4.4 entropy coding Quartus II simulation results 51-53 4.5-stream the spliced ??output modules HDL design 53-54 4.6 This chapter Summary 54-55 5 M-JPEG decoder design 55-68 5.1 decoder overall structural design 55 5.2 stream read into the module design 55-58 5.2.1 remove redundant data design thinking 56-57 the 5.2.2 output data design thinking 57-58 the of 5.3 entropy decoding module design 58-62 5.3.1 CHT algorithm principle Profile 58-59 5.3.2 entropy decoding module design 59-62 5.4 the inverse quantization anti ZigZag module's design 62-63 5.4.1 inverse quantization and the anti-ZigZag design ideas 62 5.4.2 the inverse quantization anti-ZigZag scanning module design 62-63 5.5 2D-IDCT module HDL design 63-67 5.5.1 2D-IDCT module structure design 63-64 5.5.2 2D-IDCT module HDL design 64-66 5.5.3 2D-IDCT module Quartus II simulation 66-67 5.6 This chapter Summary 67-68 6 Summary and Outlook 68-70 6.1 This work summarizes 68 a 6.2 further research direction and outlook 68-70 Acknowledgements 70-71 the References 71-73 appendix of papers published during the master's degree directory 73

Related dissertations

  1. Research and implementation of high speed image compression processor for digital camera
    Tang ·Xi'an Optics and Fine Mechanics ·2010 ·Doctoral dissertation
  2. Design of Environment Monitoring System for Power Supply in Mobile Communication Base Station of Hunan Telecom
    XuZuoFang ·Hunan University ·2013 ·Master's thesis
  3. Optical Fiber Perimeter Alarm System Based on DSP and FPGA
  4. Design and Implementation of the Engineering Machinery Color Monitor System Based on FPGA+MCU
    LiuWen ·Xiangtan University ·2013 ·Master's thesis
  5. Digital Electrical Impedance Tomography Hardware System Design Based on FPGA
  6. Study on Magnetic Flux Leakage Testing System of Rail Based on FPGA
  7. Digital Cross Section Data Acquisition System Based on Industrial Standard System Bus
    ZhangZhiQiang ·Tianjin University ·2009 ·Master's thesis
  8. Research of Dual Chanel High Speed Data Acquisition Card
    DanGuangXing ·Harbin Institute of Technology ·2012 ·Master's thesis
  9. Design and Implementation of FPGA-Based Six-Channel Non-Crosstalk Sonar System
    ZuoJiaLin ·Tianjin University ·2012 ·Master's thesis
  10. The Realization of Quality Detection System of Cataplasm Coating Based on FPGA
    LiuRongPeng ·Tianjin University ·2012 ·Master's thesis
  11. Design of Remote Strain Measurement System Based on FGPA
    LiuNanNan ·Harbin Engineering University ·2013 ·Master's thesis
  12. The Design of Digital Ultrasonic Nondestructive Testing System
  13. Design and Implementation of High Speed Data Recorder Based on FPGA
  14. Design of the High-speed Data Acquisition System Based on USB Interface
    LiuYu ·Harbin Engineering University ·2013 ·Master's thesis
  15. Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
    ZhengZuo ·Hebei University of Technology ·2013 ·Master's thesis
  16. Design and Application of Linear Array Image Acquisition System Based on Compressed Sensing
    XieJiaZu ·Tianjin Normal University ·2013 ·Master's thesis
  17. The Design and Research of PCI Data Acquisition Card Based on FPGA
  18. Usb Without Invasive Data Collection Technology Research
  19. Research on On-line Diameter Measurement System Based on FPGA
  20. Design of High Speed Data Acqusition and Storage System Based on FPGA
    QinJianJun ·Harbin Engineering University ·2013 ·Master's thesis