The Encoding Algorithm and GPU-Based Optimization in Image Compression of Digital Film

Author
CuiQiu
Advisor
WeiFang
School
Beijing University of Posts and Telecommunications
Major
Signal and Information Processing
Classification
TN919.81 Image coding
Degree
Master's thesis
Year
2012
Downloads
51
Citations
1

Request the full text

Abstract

JPEG2000 combines excellent compression performance and code stream with good scalability. Digital Cinema Initiatives (DCI) has recommended it as the encoding algorithm to be used for digital distribution of motion pictures. However, due to its complexity and time-consuming of algorithm, it hasn’t been widely used in digital film system of high real-time requirement. In order to make a better encoding technology development of digital film, our work focus on the optimization of encoding algorithm to improve the encoding efficiency.At present, the development speed and computational capabilities of Graphics Processing Unit (GPU) have exceeded more than that of CPU. Especially, Compute Unified Device Architecture (CUDA) proposed by NVIDIA in 2007 makes it easier and more effective to process massive data in parallel by using multiprocessors. Our topic has selected CUDA as the hardware platform because of its computing power and the algorithm characteristics of image encoding.The main work in our research is the optimization of four parts of the whole encoding algorithm which take up about 69.9 percents of the total encoding time. Firstly, we make an optimization of preprocessing of image and quantization by the proper allocation of resources and tasks. Secondly, by the operation of transposition we efficiently realize the GPU-based Discrete Wavelet Transform. Thirdly, we have redesigned and achieved a new parallel Bit-Plane Coding algorithm including pass prediction, significance states update and three pass coding which is suitable for CUDA.Our experimental results demonstrate that it is more than 40 times speedup in Discrete Wavelet Transform and about 4 times speedup in Bit-plane Coding compared with the original implementation on the CPU. And also the Preprocessing of image and Quantization has got respectively 33.4 and 20 times performance improvements.In addition, according to CUDA and Message Passing Interface (MPI) hybrid paradigm, we have designed and realized the calculation system effective for the image sequences encoding of digital film by using multiprocessors including CPUs and GPUs.

Table of contents

Summary 4-5 ABSTRACT 5-10 first chapter 10-16 1.1 research background and significance 10 -11 1.2 hardware platform selected 11-12 1.3 major research programs 12 1.4 thesis work and structural arrangements 12-16 <br / > Chapter II and the DCI JPEG2000 image coding standard algorithm 16-26 2.1 JPEG2000 standard describes 16-17 2.2 JPEG2000 encoding algorithm 17-24 <br / > 2.2.1 image preprocessing 18 2.2.2 discrete wavelet transform 18-21 2.2.3 quantify 21 2.2.4 Tier-1 encoding 21-23 2.2.5 Tier-2 encoding 23-24 2.3 DCI image coding algorithm 24-26 Article chapters GPU and CUDA architecture 26-34 3.1 CUDA programming model 27-29 3.1.1 host and device 27-28 3.1 .2 thread hierarchy 28-29 3.2 CUDA execution model 29-30 3.3 CUDA memory model 30-34 3.3.1 register 31-32 3.3.2 local memory 32 3.3.3 shared memory 32 3.3.4 constant memory 32 3.3.5 texture memory 32-33 3.3.6 global memory 33-34 Chapter IV DCI image coding algorithm based on CUDA optimization 34-64 4.1 CUDA -based image preprocessing algorithm 35-39 4.1.1 resolves the traditional image preprocessing algorithm 35-36 4.1.2 image preprocessing algorithm parallelism analysis 36 4.1.3 CUDA -based image preprocessing algorithm optimization 36-39 4.2 discrete wavelet transform algorithm based on CUDA 39-47 4.2.1 traditional 9 / 7 discrete wavelet transform algorithm to resolve 39-40 parallel analysis 4.2.2 9 / 7 discrete wavelet transform 40-41 4.2.3 on 9 / 7 discrete wavelet transform algorithm CUDA level achieved 41-45 4.2.4 based on five 9 / 7 discrete wavelet transform algorithm CUDA implementation of 45-47 4.3 quantification algorithm based on CUDA 47-52 4.3.1 traditional quantification algorithm analysis 47-48 4.3.2 quantify parallel algorithms analysis 48 4.3.3 CUDA-based quantification algorithm 48-52 4.4 CUDA -based coefficients bit plane coding algorithm 52-64 <br / > 4.4.1 traditional coefficient bit-plane coding algorithm analysis 52-53 4.4.2 coefficients bit plane coding algorithm parallelism analysis 53-54 4.4.3 new parallel coefficients bit plane coding algorithm 54-58 4.4.4 CUDA -based coefficients bit plane coding algorithm 58-64 Chapter mixing CUDA and MPI -based parallel architecture 64-72 5.1 parallel programming model 64-65 5.2 parallel storage model 65-66 5.3 MPI parallel architecture 66-68 5.3.1 MPI generation 66 5.3.2 MPI characteristics and achieve 66-67 5.3.3 MPI programming model 67-68 5.4 and hybrid parallel CUDA architecture -based MPI implementations 68-72 5.4.1 and CUDA parallel architecture based on hybrid MPI implementation process 68-70 < 72-78 6.1 experimental environment br /> 5.4.2 hybrid Parallel architecture based load balancing strategy nbsp CUDA and MPI 's ; 70-72 Chapter VI of the experimental results and conclusions 72-73 6.2 experimental content and methods 73-74 6.3 results 74-78 Chapter VII summary and Outlook 78-80 7.1 summarizes topics 78 7.2 future 78-80 References 80-84 Thanks published during 84-86 pursue a degree academic catalog 86

Related dissertations

  1. Research on JPEG2000Image Compression Technology Based on GPU
    WuWei ·Shenyang Aerospace University ·2013 ·Master's thesis
  2. Research and Implementation of FIR Filtering Parallel Algorithm Based on GPU
    XiaoZuo ·Northeastern University ·2011 ·Master's thesis
  3. Research on Boundary Face Method Base on GPU-acceleration
    YuLieXiang ·Hunan University ·2013 ·Master's thesis
  4. Research of Image Registration and Mosaic Technology Based on GPU
    ZouGang ·Tianjin University ·2012 ·Master's thesis
  5. GPGPU-based Processing and Analysis of Large-scale Geographic Data
    ZhangYu ·Central South University ·2013 ·Master's thesis
  6. The Implement of Independent Component Algorithm on the GPU
    DiaoXingGuang ·Dalian University of Technology ·2012 ·Master's thesis
  7. Research on GPU-based Parallel Computing on BitTorrent Protocol
    WangGaoXuan ·Zhejiang Sci-Tech University ·2012 ·Master's thesis
  8. Research and implementation of lossless compression algorithm based on GPU
    MaJi ·Fudan University ·2012 ·Master's thesis
  9. Research of Granular Discrete Element’s Calculation Method Based on GPU
    ChangXinZheng ·Dalian University of Technology ·2013 ·Master's thesis
  10. Design and Implementation of Broadband Multichannel Calibration Algorithm Based on CUDA
  11. GPU Acceleration of SPIHT Image Compression Algorithm
    LiYaQian ·Harbin Institute of Technology ·2013 ·Master's thesis
  12. Research on GPU-based Parallel Computing on Network Coding
    WangRen ·Zhejiang Sci-Tech University ·2012 ·Master's thesis
  13. A Research on Parallel Computing of Optimal Power Flow in Cuda Platform
    LiangYangDou ·Guangxi University ·2012 ·Master's thesis
  14. Design of the Solver for Large Scale Linear Sparse Equations Based on CUDA
  15. Research of Efficient Computing Method on GPU-based LS-SVM
    BaoWenLei ·Harbin Institute of Technology ·2012 ·Master's thesis
  16. A Study of GPU-based Parallel Learning to Rank
    FanXiXian ·Harbin Institute of Technology ·2012 ·Master's thesis
  17. Optimization of CUDA-based Parallel SOM Algorithm and Its Application
    ZhangJinChao ·Harbin Institute of Technology ·2012 ·Master's thesis
  18. Research on GPU General Computing on Text Classification
    LiZhiLong ·Zhejiang Sci-Tech University ·2014 ·Master's thesis
  19. Research on Text Detecting and Removal in Video Image Based on CUDA
  20. Rapid Implementation of the Small Infrared Target Detection Algorithm on CUDA