Title: Status: Purpose: Author(s) or Contact(s)
Title: Status: Purpose: Author(s) or Contact(s)
Title: Status: Purpose: Author(s) or Contact(s)
Title:
Status:
Purpose:
Information
Author(s) or
Contact(s):
Source:
Tel:
Email:
+1-408-5545567
xiang.li@gmail.com
_____________________________
Abstract
In earlier video coding, the quantized coefficients are typically scanned in a zig-zag pattern. This
scanning order may not always be optimal for entropy coding. To achieve better entropy coding gain in
inter-frame coding, we propose a predictive adaptive scan ordering scheme for quantized transform
coefficients and show that additional inter-frame coding redundancy can be removed by our proposed
method. The scanning orders are dynamically updated based on the probabilistic distribution of quantized
coefficients in the previous frames.
1 Introduction
Transform has been widely used in many practical hybrid image and video compression systems. In
H.264/MPEG-4 AVC [1], residual images are transformed using integer transform, which has similar
properties as DCT transform. Studies on the distributions of DCT coefficients of images/videos [2] have
shown that the AC coefficients usually resemble Laplacian distributions. The variances of the
distributions across various coefficients become smaller when the frequencies become higher. For the
purpose of energy concentration, a 2-D array of transform coefficients is scanned in a zig-zag manner in
order to be converted to a 1-D array to pass to the entropy coder.
However, recent research showed that fixed zig-zag order may not always be the optimal way to scan
quantized coefficients. Algorithms [3]-[5] have been proposed to improve the scanning schemes for
H.264 intra prediction. Yoo et al. [3] describes an adaptive scanning scheme where scanning patterns are
updated based on the probabilistic distribution of quantized coefficients of the previous macroblocks for
intra modes. In [4] Choi et al. presents an adaptive coefficients scanning method which uses six
alternative scanning orders based on the intra prediction mode. Kim et al. [5] proposes an adaptive
scanning method by using the pixel similarity of the neighboring pixels to achieve enhanced intra coding
performance. Despite the improvements on intra prediction scanning, very few work have been done on
finding a more efficient scan order for inter-frame prediction where a large portion of data are compressed
with.
In this contribution, we propose an efficient scanning scheme for H.264 inter-frame coding. By using
this method, scan orders are adaptively updated according to the distribution of the previous quantized
transform coefficients. Additional inter coding redundancy can be removed by our method.
Page: 1
Figure 1. Sequence Flower, absolute quantized coefficients summation matrices. X axis and Y axis represent the indices of each matrix, Z axis
is the summation of coefficients. (a) 1st P frame, mode 16x16; (b) 2nd P frame, mode 16x16; (c) 1st P frame, mode 16x8; (d) 2nd P frame, mode
16x8.
Page: 2
(a)
(b)
Figure 2. Flow chart of coding procedure: (a) encoder side; (b) decoder side.
4 Experimental Results
Average Bit Reduction Between the Reference (JM 15.1) and the Proposed Scheme.
QP
PSNR
(Y) (JM
15.1)
P frame
ave.
bits
/frame
(JM 15.1)
PSNR (Y)
(proposed)
P frame
ave. bits/
frame
(proposed)
city
coastguard
flower
Ave.
ave. bit
increase
-3.62%
23
40.97
109999
40.98
104115
28
36.25
62476
36.28
59009
33
31.70
30932
31.78
29589
38
27.19
12145
27.27
11808
23
39.59
98366
39.60
94515
28
35.43
52347
35.46
50299
33
31.56
22197
31.65
21508
38
28.19
6848
28.26
6746
23
39.37
44469
39.44
43990
28
35.46
18472
35.53
18292
33
31.91
7776
31.96
7747
38
28.64
3098
28.63
3072
Page: 3
-5.63%
-4.70%
-2.00%
mobile
23
39.74
153130
39.74
149276
28
34.99
80933
35.02
79112
33
30.49
32378
30.54
32044
38
26.51
10660
26.52
10725
-2.15%
5 Conclusion
We propose a prediction-based adaptive transform coefficient scanning method for inter prediction
coding in H.264. The proposed adaptive scanning method groups the blocks by the inter prediction modes
and uses a different scanning order for each group. The adaptive scan orders are generated based on the
statistical information of the same modes in the previous inter predicted frame. Experimental results show
that the proposed method improves the coding efficiency by an average of 3.62% and up to 5.63%.
Grouping the blocks by the inter prediction mode is intuitive and straightforward, and proven to improve
the efficiency of the context-based entropy coding.
Compared to other adaptive scan order methods, the proposed method has several advantages:
The scan order is updated once per frame thus the characteristic of each frame is considered timely.
The scan order is predicted from the previous coded frame. The information is valid on both encoder
and decoder sides and no side information is required to transfer the updated orders.
Only binary operations and a small amount of memory are needed for the calculation and storing of
the intermediate results. The complexity is negligible.
6 References
[1]
[2]
[3]
[4]
[5]
[6]
[7]
T. Wiegand, G. Sullivan, G. Bjntegaard, and A. Luthra, Overview of the H.264/AVC Video Coding Standard, IEEE Trans. Circuits Syst.
Video Technol., vol. 13, no. 7, pp. 560-576, July 2003.
E. Lam, and J. W. Goodman, A Mathematical Analysis of the DCT Coefficients Distributions for Images, IEEE Trans. Image Processing,
Vol. 9, No. 10, pp. 1661-1666, Oct. 2000.
Y.-J. Yoo, and S. Jeong, Adaptive Scan Pattern for Quantized Coefficients in Intra Coding of H.264, IEICE Trans. Inf. & Syst. Vol. E92D, No.4, pp. 750-752, Apr. 2009.
B.-D. Choi, J.-H. Kim, and S.-J. Ko, Adaptive Coefficient Scanning Based on the Intra Prediction Mode, ETRI Journal, Vol. 29, No. 5,
pp.694-696 Oct. 2007.
D.-Y. Kim, D.-K. Kim, and Y.-L. Lee, Adaptive Scanning Using Pixel Similarity for H.264/AVC,, IEICE Trans. Fundamentals, Vol. E90A, No. 5, pp.1709-1711 May 2007.
Joint Video Tem Reference Software JM15.1. [http://iphome.hhi.de/suehring/tml/]
G. Bjntegaard, Calculation of Average PSNR Differences Between RD-Curves, ITU-T Q.6/SG16 VCEG, VCEG-M33, April 2001.
Page: 4