A STUDY ON VIDEO RATE WEIGHTED ESTIMATION CONTROL ALGORITHM

Similar documents
Complexity Reduced Mode Selection of H.264/AVC Intra Coding

Fast Decision of Block size, Prediction Mode and Intra Block for H.264 Intra Prediction EE Gaurav Hansda

A Novel Deblocking Filter Algorithm In H.264 for Real Time Implementation

One-pass bitrate control for MPEG-4 Scalable Video Coding using ρ-domain

Fast Mode Decision for H.264/AVC Using Mode Prediction

SINGLE PASS DEPENDENT BIT ALLOCATION FOR SPATIAL SCALABILITY CODING OF H.264/SVC

Reduced Frame Quantization in Video Coding

Digital Video Processing

An Efficient Mode Selection Algorithm for H.264

An Efficient Inter-Frame Coding with Intra Skip Decision in H.264/AVC

Title Adaptive Lagrange Multiplier for Low Bit Rates in H.264.

Fast frame memory access method for H.264/AVC

Categorization for Fast Intra Prediction Mode Decision in H.264/AVC

Deblocking Filter Algorithm with Low Complexity for H.264 Video Coding

Pattern based Residual Coding for H.264 Encoder *

STANDARD COMPLIANT FLICKER REDUCTION METHOD WITH PSNR LOSS CONTROL

A Fast Intra/Inter Mode Decision Algorithm of H.264/AVC for Real-time Applications

View Synthesis for Multiview Video Compression

Fast Intra Prediction Algorithm for H.264/AVC Based on Quadratic and Gradient Model

FAST SPATIAL LAYER MODE DECISION BASED ON TEMPORAL LEVELS IN H.264/AVC SCALABLE EXTENSION

Image Quality Assessment Techniques: An Overview

An Efficient Intra Prediction Algorithm for H.264/AVC High Profile

Realtime H.264 Encoding System using Fast Motion Estimation and Mode Decision

Fast Wavelet-based Macro-block Selection Algorithm for H.264 Video Codec

A Novel Partial Prediction Algorithm for Fast 4x4 Intra Prediction Mode Decision in H.264/AVC

Article, Postprint version This version is available at

High Efficient Intra Coding Algorithm for H.265/HVC

In the name of Allah. the compassionate, the merciful

IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS FOR VIDEO TECHNOLOGY, VOL. 19, NO. 9, SEPTEMBER

A Rate Control Algorithm for Low Delay Video Coding

Reduced 4x4 Block Intra Prediction Modes using Directional Similarity in H.264/AVC

Video Compression Standards (II) A/Prof. Jian Zhang

3D Mesh Sequence Compression Using Thin-plate Spline based Prediction

International Journal of Emerging Technology and Advanced Engineering Website: (ISSN , Volume 2, Issue 4, April 2012)

Design of a High Speed CAVLC Encoder and Decoder with Parallel Data Path

Advances of MPEG Scalable Video Coding Standard

Fast Implementation of VC-1 with Modified Motion Estimation and Adaptive Block Transform

BANDWIDTH REDUCTION SCHEMES FOR MPEG-2 TO H.264 TRANSCODER DESIGN

Coding for the Network: Scalable and Multiple description coding Marco Cagnazzo

ARTICLE IN PRESS. Signal Processing: Image Communication

A Novel Statistical Distortion Model Based on Mixed Laplacian and Uniform Distribution of Mpeg-4 FGS

An Information Hiding Algorithm for HEVC Based on Angle Differences of Intra Prediction Mode

An Efficient Table Prediction Scheme for CAVLC

FRAME-LEVEL QUALITY AND MEMORY TRAFFIC ALLOCATION FOR LOSSY EMBEDDED COMPRESSION IN VIDEO CODEC SYSTEMS

Adaptation of Scalable Video Coding to Packet Loss and its Performance Analysis

ISSN: An Efficient Fully Exploiting Spatial Correlation of Compress Compound Images in Advanced Video Coding

Xiaoqing Zhu, Sangeun Han and Bernd Girod Information Systems Laboratory Department of Electrical Engineering Stanford University

Research on Design and Application of Computer Database Quality Evaluation Model

A Quantized Transform-Domain Motion Estimation Technique for H.264 Secondary SP-frames

A reversible data hiding based on adaptive prediction technique and histogram shifting

System Modeling and Implementation of MPEG-4. Encoder under Fine-Granular-Scalability Framework

Image and Video Quality Assessment Using Neural Network and SVM

An Improved DFSA Anti-collision Algorithm Based on the RFID-based Internet of Vehicles

Homogeneous Transcoding of HEVC for bit rate reduction

Fast Intra- and Inter-Prediction Mode Decision in H.264 Advanced Video Coding

Improved Reversible Data Hiding in Encrypted Images Based on Reserving Room After Encryption and Pixel Prediction

View Synthesis Prediction for Rate-Overhead Reduction in FTV

Contrast Prediction for Fractal Image Compression

Research on the Wood Cell Contour Extraction Method Based on Image Texture and Gray-scale Information.

Quality Enhancement of Compressed Video via CNNs

LIST OF TABLES. Table 5.1 Specification of mapping of idx to cij for zig-zag scan 46. Table 5.2 Macroblock types 46

2014 Summer School on MPEG/VCEG Video. Video Coding Concept

OVERVIEW OF IEEE 1857 VIDEO CODING STANDARD

VHDL Implementation of H.264 Video Coding Standard

Cross-Layer Optimization for Efficient Delivery of Scalable Video over WiMAX Lung-Jen Wang 1, a *, Chiung-Yun Chang 2,b and Jen-Yi Huang 3,c

EE 5359 Low Complexity H.264 encoder for mobile applications. Thejaswini Purushotham Student I.D.: Date: February 18,2010

[30] Dong J., Lou j. and Yu L. (2003), Improved entropy coding method, Doc. AVS Working Group (M1214), Beijing, Chaina. CHAPTER 4

Video Coding Using Spatially Varying Transform

DIGITAL IMAGE WATERMARKING BASED ON A RELATION BETWEEN SPATIAL AND FREQUENCY DOMAINS

Extensions of H.264/AVC for Multiview Video Compression

H.264 to MPEG-4 Transcoding Using Block Type Information

New Rate Control Optimization Algorithm for HEVC Aiming at Discontinuous Scene

A deblocking filter with two separate modes in block-based video coding

EFFICIENT PU MODE DECISION AND MOTION ESTIMATION FOR H.264/AVC TO HEVC TRANSCODER

IN RECENT years, multimedia application has become more

Conference object, Postprint version This version is available at

The Application of H.264 Video Coding Technology in the Digital Monitoring Systems

FOR compressed video, due to motion prediction and

NEW CAVLC ENCODING ALGORITHM FOR LOSSLESS INTRA CODING IN H.264/AVC. Jin Heo, Seung-Hwan Kim, and Yo-Sung Ho

H.264/AVC Baseline Profile to MPEG-4 Visual Simple Profile Transcoding to Reduce the Spatial Resolution

Jun Zhang, Feng Dai, Yongdong Zhang, and Chenggang Yan

Ch. 4: Video Compression Multimedia Systems

A CAVLC-BASED VIDEO WATERMARKING SCHEME FOR H.264/AVC CODEC. Received May 2010; revised October 2010

Bit-Depth Scalable Coding Using a Perfect Picture and Adaptive Neighboring Filter *

Computation-Aware Motion Estimation Algorithm Based On QoE Control

Rate Control for H.264 with Two-Step Quantization Parameter Determination but Single-Pass Encoding

An adaptive preprocessing algorithm for low bitrate video coding *

AN EFFICIENT VIDEO WATERMARKING USING COLOR HISTOGRAM ANALYSIS AND BITPLANE IMAGE ARRAYS

Block-Matching based image compression

PAPER Optimal Quantization Parameter Set for MPEG-4 Bit-Rate Control

View Synthesis for Multiview Video Compression

A New Configuration of Adaptive Arithmetic Model for Video Coding with 3D SPIHT

Analysis of Information Hiding Techniques in HEVC.

Toward Optimal Pixel Decimation Patterns for Block Matching in Motion Estimation

MOTION estimation is one of the major techniques for

A Novel Fractal Monocular and Stereo Video Codec based on MCP and DCP

ARCHITECTURES OF INCORPORATING MPEG-4 AVC INTO THREE-DIMENSIONAL WAVELET VIDEO CODING

Optimal Estimation for Error Concealment in Scalable Video Coding

ABSTRACT. KEYWORD: Low complexity H.264, Machine learning, Data mining, Inter prediction. 1 INTRODUCTION

A VIDEO TRANSCODING USING SPATIAL RESOLUTION FILTER INTRA FRAME METHOD IN MULTIMEDIA NETWORKS

Transcription:

A STUDY O VIDEO RATE WEIGHTED ESTIMATIO COTROL ALGORITHM 1 ZHOG XIA, 2 HA KAIHOG 1 CS, Department of Computer Science, Huazhong University of Science and Technology, CHIA 2 CAT, Department of Computer Science & Technology, Wuhan University of Technology, CHIA E-mail: 1 cloudy0902@hotmail.com, 2 hhsea7@whut.edu.cn ABSTRACT In order to mae up for the deficiency of the MAD prediction scheme of G012 rate control algorithm, we propose a weighted dget method based on image luminance difference. To improve the BU(basic ) rate control, we put forward a method to distrite coding bits based on PSR(pea signal to noise ratio). The experimental results show that, compared with G012 algorithm using the new algorithm should get better video quality. At the same time, when encoding rate control for video sequences of faster scenes changes by using our algorithm, the advantages are particularly prominent. Keywords: H.264, BU Rate Control, MAD, Brightness Gradient, Weighted Estimation 1. ITRODUCTIO As an important part of video coding, the primary tas of rate control is to effectively control the output code flow of video encoder, in order to obtain the optimal video decoding quality on decoding end as far as possible, so video rate control is always a hot spot in the video coding. Experts at domestic and overseas proposed many corresponding rate control schemes, of which more classic schemes are MPEG - 2 TM5, MPEG - 4 VM8 and H.263 TM8, etc. H.264 is so far the most common use of video coding international standards. Compared to the previous video compression standards, H.264 standard can realize coding of high quality and low bit rate.the corresponding rate control schemes are JVT - F086 and JVT - G012[1] etc, in which JVT - F086 is improved on the basis of TM5 algorithm, and the effect of JVT - G012 in H.264 rate control is very ideal. But the shortage of JVT - G012 is that when video sequence moves rapidly or the scene changes, the fluctuation of MAD between each frame is very big; the MAD that G012 get using linear MAD prediction model is highly different from the actual value, which will cause the failure of the model after irregular frame data involved in parameters update of the prediction model. In addition, the algorithm in dealing with the bit allocation of the basic in p frame, distrites eragely to all uncoded basic, without considering the size of each basic complexity, which can cause the fluctuation of the image in the frame aptly. Kim etc.[2] used frame complexity to predict MAD, which made the bit allocation of each frame involve in frame rate and the frame complexity; C.J. Hou etc.[3] predicted MAD through the method of correlation prediction between adjacent macro blocs. Experiments show that their methods in prediction accuracy he very good effect, t they are all rely on certain algorithm complexity exchanged. Y. Wu etc.[4] adopted a bit allocation scheme of linear model and the second model, improving the validity of the rate distortion modeling. As the image content transformation is very large, the allocation scheme of G012 algorithm can lead to the error between estimated target bit number and actual output very largely, and even mae the image quality occur severe fluctuation which between the adjacent two frames images will seriously affect video subjective quality[5]. In order to effectively solve the problem, this paper puts forward a rate control algorithm based on intensity gradient weighted, a good solution to the problem of the decline in the video coding and decoding quality caused by the sharp fluctuations in images. 2. THE TRADITIOAL G012 ALGORITHM Rate control scheme in G012 standard will divide video into three layers, namely GOP (group of pictures) layer, frame layer and BU layer. 217

Because coding code flow and decoding method in H.264 draft standard occupy the central position, rate control is not well studied. In H.264, QP is used to rate control algorithm and RDO(rate - distortion optimization)[6], as shown in Figure 1. Figure 1: Macro Bloc Level Code Flow Chart From Figure 1, we can see, one must first receive the QP value in order to proceed the RDO for the current macro bloc when to execute rate control, and we need the MAD value of the current macro bloc to find out its QP value, however the MAD of the current macro bloc can only be based on the RDO of the current macro bloc, which forms a typical hens paradox. G012 algorithm solves the above problem by the method of predicting MAD value. It uses a linear model to predict the MAD value of the basic in the current frame, whose reference quantity is the MAD value of the basic in the corresponding position of the previous frame. Assume that the MAD value of the basic in the current frame is MAD cb, and the MAD value of the basic in the corresponding position of the previous frame is MAD pb, then the linear prediction model can be expressed as follows: MADcb a1 MADpb + a 2 (1) where α 1 and α 2 are two parameters of the prediction model, whose initial values are set to 1 and 0 separately. After each basic code ends, the value of α 1 and α 2 can be updated accordingly. On the basis of the concept of the basic and the linear prediction model based on the MAD, the specific steps of G012 algorithm are as follows: frame; RC QP RDO MAD coding (1) Calculate the goal digit of the current (2) Distrite the residual digits eragely for the uncoded basic of the current frame; (3) According to the actual MAD value in the basic of the previous frame reference position, predict the current MAD value of the basic in the current frame by the linear prediction model based on the MAD value. (4) Calculate the corresponding parameter value using binary R - D model[7]-[8]; (5) Use the parameter value from the Step (4) to realize the RDO[9]-[10] of the each MB(macro bloc) in the current basic. 3. PREDICTIO MODEL IMPROVEMET BASED O MAD When the MAD prediction scheme of G012 rate control algorithm deals with some video sequence where the scene changes faster, the forecast MAD value has a big difference from the actual MAD value, so we propose a weighted dget method based on image luminance difference, whose basic idea is first to calculate the brightness gradient value of the current coding frame and the previous frame as weights, and then to predict MAD value through the Equation 2 together: a1 MADpbnews + a2 + ρmadpbnews MADcbnews 2 (2) jmb y( i, j, ) y( i 1, j, ) ρ y( i 1, j, ( j 1) ) mb (3) Equations: ρ is the brightness gradient value of the th macro bloc of the jth BU of the ith P frame in the current GOP which is the same position macro bloc of the previous frame; y(i,j,) is the brightness value of the current position; MAD cbnews is the MAD value of the current basic ; MAD pbnews is the MAD value of the corresponding position in the previous frame; mb will be defined below in detail. ρ reflects the brightness change degree of the current BU layer between the two adjacent frames. The greater it changes, the bigger the difference between the frame is. 4. BU LAYER DISTRIBUTIO ALGORITHM BASED O THE PSR Assume that a frame consists of mbpic macro blocs, and a basic is a set of mb continuous macro blocs, where mb is a part of mbpic and the total number of the basic in a frame is, so there are: mbpic mb (4) The basic can be a macro bloc, a slice, a field or a frame. For example, consider a 218

video sequence of QCIF size, and mbpic is 99. From the image structure it is nown that mb can be 1,3,9,11,33 or 99, and the corresponding can be 99,33,11,9,3 or 1 respectively. G012 algorithm adopts the method of erage distrition when distriting the basic bits, without considering the complexity between images. Thus we put forward a ind of pea signal to noise ratio distrition method based on the previous frame. It taes PSR as a parameter measuring image complexity, uses the PSR value of each basic in the previous frame to estimate each basic complexity of the current frame, then distrites bits to the corresponding basic of the current frame, and the specific algorithm described as follows: (1) Compute the mean pea signal-tonoise ratio PSR in the previous frame image of the current coding frame through Equation 5, where PSRi 1 is the PSR value of th basic in i- 1th frame; PSR 1 PSR (5) (2) Compute αi-1 by Equation 6. αi-1 is a coefficient of fluctuation of basic PSR in i- 1th frame image, and PSRi 1 is the PSR value of th basic in i-1th frame, namely: α 1 PSR PSR PSR (6) (3) Compute the number of bits assigned by each basic, and the number of bits assigned by the current basic according to the PSR value calculated by the step(1). When PSR > PSR, the th basic distrites the number of bit in accordance with the formula R α ) ; when PSR < PSR, the th basic distrites T ( 1+ the number of bit in accordance with the formula R T α ) ; PSR PSR ( 1 when, the th basic distrites the number of bit in accordance with the formula R is the bit R T, where number distrited by the th basic of the current frame. Combined with brightness gradient weighted prediction MAD value and BU layer bit allocation scheme based on PSR, improved rate control flow is shown in Figure 2. Update Model Parameters T Brightness Weighted Prediction MAD Distrite BU Bit umber based on PSR Calculate QP Deal with the finally Macro Bloc of current BU RDO, Calculate MAD Deal with the finally BU of Current Frame Calculate PSR Encode next Frame Figure 2: Frame Level Rate Control Flow 5. EXPERIMET AD AALYSIS Encode next BU We realize the proposed algorithm on the Verification Model JM86 of JVT, and compare it with the G012 rate control algorithm in the proposed standards. The test sequence are standard QCIF video sequence of FOOTBALL and bridgeclose separately, whose video scene change speed is very different. Sequence structure is IPPP..., code 100 frame totally, and frame rate is 30 frames per second. FOOTBALL sequence is a game scene, where the scene changes faster; bridge - close is the description scene of a bridge, where the graphic changes is relatively slower. The contrast test results of the algorithm and the G012 algorithm is shown in Table 1. From test results of Table 1 we can see, erage PSR get from video sequence coding for this paper's algorithm is respectively higher 2.16, 1.50, 1.40 (FOOTBALL video sequence) and 0.89, 0.61, and 0.86 (bridge - close video sequence) than Y, U, V quantitatively in G012 algorithm. The erage PSR get from coding bridge-close video sequence is higher 0.79 than from G012 algorithm, while in FOOTBALL video sequence of change faster scene is high 1.69. PSR is one of main measures in evaluation video objective quality. From the experiment data, we can find that compared with G012 algorithm, encoding rate control for video by using the algorithm should get better video quality. At the same time, select 9 T 219

frames coding data randomly to he a contrast analysis in the test sequence(as shown in Figure 3), the PSR get from the algorithm encoding is higher than from G012 algorithm commonly, and the PSR fluctuation get from G012 algorithm in FOOTBALL video sequence of faster changes scenes is higher, which causes video acuteness we easily, so when encoding rate control for video sequences of faster scenes changes by using the algorithm, the advantages are particularly prominent. (b) FOOTBALL Video Sequence Figure 3: Coding Results Comparison 6. COCLUSIO (a) Bridge-close Video Sequence Through the analysis of the standard G012 rate control algorithm and the improvement of MAD linear prediction model, we design a ind of weighted prediction model based on brightness, mae full use of space and time correlation of the image sequence, and improve the accuracy of the predictions. In the basic layer number of bits distrition, we put forward a method based on distrition plan of the previous frame PSR, effectively oiding image fluctuation caused by the uneven frame image complexity. From the test results, we can see that when video structure is complex and change rapidly, the erage PSR of improved algorithm are larger than G012 algorithm. After the algorithm is applied in bit allocation of BU layer, the PSR value of coding is higher than G012 algorithm. REFERECES: [1] Z.G. Li, F. Pan, K.P. Lim, Adaptive basic layer rate control for JVT, JVT Meeting, 2003, pp.7-14. [2] M.J. Kim, M.C. Hong, Adaptive rate control in frame-layer for real-time H.264/AVC, Proceedings of APCC, 2008, pp.1-5. [3] C.J. Hou, X.H. He, Optimized H.264/AVC rate control algorithm, Computer Engineering and Application, 2009, pp.159-161. [4] Y. Wu, S.X. Lin, Z.D. iu, H.264/AVC rate control optimization algorithm, Computer Science. Vol. 31, 2008, pp. 329-339. [5] X.Q. Yang, X.Y. Ji, Rate control based on H.264, Computer Engineering and Application. Vol. 47, 2011, pp. 186-187. [6] Y. Moses, S. Ullman, Limitations of non model-base recognition schemes, ECCV-92, 1992, pp. 820-828. [7] H.J. Lee, T.H. Chiang, Y.Q. Zhang, Scalable rate control for MPEG-4 video, IEEE Trans Circuit Syst Video Technology, 2000, pp. 878-894. [8] A. Vetro, H. Sun, Y. Wang, MPEG-4 rate control for multiple video objects, IEEE Trans Circuit Syst Video Technology, 1999, pp. 186-199. [9] H.X. Ma, L. Zhang, H.264/AVC rate distortion optimization technology overview, Journal of Digital Video, 2010, pp. 19-22. [10] X.X. Ge, Y. Wang, H.264/AVC rate distortion optimization strategy study, Wireless Communication Technology, 2006, pp. 14-17. [11] W. Thomas, G. Bernd, Parameter selection in Lagrangian Hybrid Video Coder Control, ICIP, 2001. 220

Average PSR Table 1: Two Algorithm Test Results FOOTBALL Video Sequence [ PSR db ] Bridge-close Video Sequence [ PSR db ] G012 the Increment G012 the Increment Algorithm Algorithm Algorithm Algorithm Y Component 35.40 37.56 2.16 38.17 39.06 0.89 U Component 35.44 36.94 1.50 36.70 37.31 0.61 V Component 34.29 35.69 1.40 35.67 36.53 0.86 Comprehensive Values 35.04 36.73 1.69 36.85 37.63 0.79 221