Study and Optimization of CABAC Entropy Coding and Rate-distortion Optimization in H.264/AVC
- Author
- SunChang
- Advisor
- WangHongJun
- School
- Shandong University
- Major
- Signal and Information Processing
- Classification
- TN919.81 Image coding
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 209
- Citations
- 3
- CABAC
- motion vector context modeling
- RDO
- perceptual video coding
- Perceptually Adaptive Lagrange Multiplier
Abstract
H.264/AVC is the newest international video coding standard that provides much higher compression performance than other previous standards. The reason contribute to this is H.264/AVC adopts several essential technologies, such as Context-Based Adaptive Binary Arithmetic Coding (CABAC) and Rate-Distortion Optimization (RDO). The purposes of this Thesis are to study and optimize CABAC and RDO algorithm in order to further improve entropy coding efficiency and subjective video quality.CABAC is an efficient entropy coding method used in the main profile in H.264/AVC coder that provides over 20% bit-rate reduction than that obtained in the baseline entropy coder. One essential reason is that it uses the statistical properties of the data symbols to eliminate inter-symbol redundancies. In CABAC, bit usage for coding motion vectors (MVs) accounts for a considerable portion of the bit budget. Accurately selecting context models for the encoding motion vector difference (MVD) can obtain bit-rate savings in CABAC. To realize this, an efficient algorithm for motion vector coding is proposed in this Thesis. In the new algorithm for coding a vertical MVD component, I use not only the inter-correlation between the current horizontal MVD component and the vertical one that within the same block, but also the correlation in the neighboring vertical MVD components to select an appropriate context model. Moreover, I adopt different schemes according to the encoding partition sizes. For small block sizes, I only consider the correlation among the neighboring blocks. Whereas for large block sizes, I also employ the inter-correlation between the two MVD components in the current block in order to improve the probability estimation of symbols. These strategies enhance the accuracy of the context model selection in motion vector coding, thus elevate the efficiency of the context-based arithmetic coder. I have implemented the proposed algorithm based on the H.264/AVC reference coder JM 12.2. Experimental results show that the proposed algorithm improves compression performance compared to the original CABAC scheme.RDO is another important technique used in H.264/AVC coder. It tries all the best to improve the objective video quality under certain rate constraints; in the meantime it ignores the subjective quality. However, the ultimate video quality is judged by the Human Visual System (HVS). Therefor, it is wise to adapt the coding algorithm to the sensitivity of the human eyes. This Thesis proposes a novel macroblock-level RDO algorithm based on perceptual features of HVS. Three visual distortion sensitivity models are created to minimize the perceptual distortion rather than traditional mean absolute difference (MAD) distortion. During the rate-distortion optimization process, the Lagrange multiplier is adjusted adaptively according to the visual distortion sensitivity of the encoding macroblocks. For visual distortion sensitive macroblocks, I assign smaller Lagrange multiplier so that the distortion-reduction is weighted more than rate-reduction. Better visual quality is obtained by the lower distortion in these regions with a relatively higher rate. On the other hand, rate balance is achieved by arranging larger Lagrange multiplier to macroblocks that are perceptually less sensitive to the distortion, so that more distortion is allowed without noticeable visual degradation in the decoded images. Experiments also have been conducted based on the reference coder JM12.2. Simulation results show that the subjective qualities of the decoded frames are improved without compromising PSNR.
Table of contents
Abstract 8-10
ABSTRACT 10-12
Symbol Description 12-14
first chapter 14-22
1.1 Introduction 14-15
1.2 video data redundancy analysis 15-16
1.3 video encoding 16-17
the 1.4 video coding standardization process 17-19
1.5 video encoding entropy coding techniques 19-20
1.6 video encoding rate distortion optimization techniques 20-21
1.7 This paper studies the content and structure of the arrangement 21-22
H.264/AVC video coding standard
Overview 22-26
2.1 H.264/AVC standard key technology 22-24
2.2 H.264/AVC standard applications and development prospects 24-26
CABAC RDO Technical Overview of
Chapter H.264/AVC standard 26-40
3.1 H.264/AVC standard the CABAC technical overview 26-33
3.1.1 Arithmetic coding theory foundation 26-28
3.1.2 context-based adaptive binary arithmetic coding (CABAC) 28-33
3.2 H.264/AVC standard the RDO technical overview 33-40
3.2.1 rate distortion theory foundation 33-36
3.2.2 rate distortion optimization (RDO) 36-38
3.2.3 channel analog rate distortion optimization 38-40
Chapter CABAC motion vector context modeling algorithm research and optimization 40-47
4.1 motion vector CABAC coding 40-42
4.2 related to the motion vector CABAC context modeling algorithm 42-43
4.3 a new motion vector the CABAC context modeling algorithm 43-44
4.4 experimental simulation and results analysis 44-47
Chapter RDO algorithm based on the perceptual characteristics of the human visual system and optimize 47-59
the 5.1 human eye visual characteristics 47-49
5.1.1 human eye structure 47-48
5.1.2 human visual system 48-49
5.2 video coding algorithm based on the perceptual characteristics of the human visual system research 49-50
5.3 a new optimization algorithm based on the perceptual characteristics of the human visual system RDO 50-55
5.3.1 Movement measure model 50-51
5.3.2 location model 51-52
5.3.3 texture model 52-53
5.3.4 based on the perceptual characteristics of the human visual system RDO optimization algorithm 53-55
5.4 experimental simulation and results analysis 55-59
Chapter Summary and Outlook 59-61
the
References 61-66
Acknowledgements 66-67
studying for a master's degree during the thesis 67-68
the
Dissertation reviewers and the respondent table 68
Related dissertations
- A CABAC Encoder Design of H.264/AVC
- The improved algorithm based on motion vector difference of CABAC in H.264
- Research on Perceptual Stereoscopic Video Coding Technology
- Research and design of high performance CABAC encoder based on H.264/AVC
- Research on entropy coding of H.264 video coding standard
- Research on the Design of Fully Hardwired CABAC Encoder for Remote Sensing Images
- Research on Video Coding and Transmission Technology in Wireless Channel
- Mechamism Studies of Targeted Gene Repair Mediated by Single-Stranded Oligonucleotides
- Research on Rate-Distortion Optimization Technology for Single-View and Multi-View Video Coding
- Optimization and Implementation of Entropy Coding and Loopfilter Algorithm in H.264
- The Study and Optimization Research of Mode Choice and Rate Control in H.264 Encoder
- Optimization Design of H.264 Encoder Based on PC
- Multimedia web - based remote monitoring system design
- H.264 entropy coding research and its applications in remote sensing image compression
- Research and Design of H.264 entropy coding based on FPGA
- H.264-based transform coding and entropy coding
- Based rate control algorithm for H.264/AVC
- The Research of Entropy Coding in Video Compression
- The Context-based Adaptive Binary Arithmetic Coding in H.264
- The Algorithm Study on CABAC Based on H.264/AVC and Its VLSI Implementation