DOI QR코드

DOI QR Code

Optimal QP Determination Method for Adaptive Intra Frame Encoding

적응적 인트라 프레임 압축을 위한 최적 QP 결정 방법

  • 박상현 (순천대학교 멀티미디어공학과)
  • Received : 2015.07.22
  • Accepted : 2015.09.23
  • Published : 2015.09.30

Abstract

In video coding, the first frame of a GOP is encoded in intra mode which generates a larger number of bits. In addition, the first frame is used for the inter mode encoding of the following frames. Thus the intial QP for the first frame encoding affects the first frame as well as the following frames. To determine the initial QP that maximizes the PSNR of a GOP, several algorithms which uses the ratio of the PSNR of the I frame and the PSNR of P frames of a GOP have been proposed. In this paper, we propose a new traffic model that can be used to determine the optimal initial QP simply and exactly in algorithms that use the PSNR ratio. We first analyze the characteristics of the PSNR ratio of I and P frames and the PSNR of a GOP, and then propose a new traffic model which can represent the characteristics and determine the optimal intial QP. It is shown by experimental results that the initial QP determination method with the proposed model can predict an optimal initial QP whose difference from the optimal value is less than 2. The proposed scheme can also generate the PSNR performance better than that of the existing JVT algorithm.

영상 압축에서 GOP의 첫 번째 프레임은 많은 비트를 발생시키는 인트라 모드로 압축되며, 다음 프레임의 인터 모드 압축에도 사용되기 때문에 첫 번째 프레임 압축에 사용되는 초기 QP 값은 첫 프레임뿐만 아니라 이후 프레임에도 영향을 주게 된다. 영상의 특성을 반영하여 전체 GOP의 품질을 최대로 하는 초기 QP 값을 결정하기 위하여 I 프레임과 P 프레임의 PSNR 비율을 이용하는 방법이 제안되었다. 본 논문에서는 PSNR 비율을 이용하는 방법에서 초기 QP를 쉽고 정확하게 결정하기 위한 트래픽 모델을 제안한다. 먼저 I 프레임과 P 프레임의 PSNR 비율과 GOP의 PSNR 사이의 관계에 대한 특성을 분석하여, 이 특성을 반영하는 모델을 제시하고 이를 이용한 초기 QP값을 결정한다. 실험 결과는 제안하는 방법을 이용한 초기 QP 결정 방법이 기존의 JVT 알고리즘에 비해 정확하게 최적의 초기 QP 값의 ${\pm}2$ 범위 내에서 초기 QP값을 예측하고 PSNR 성능도 더 우수함을 보여준다.

Keywords

References

  1. Z. Chen and K. N. Ngan, "Recent advances in rate control for video coding," Signal Process. : Image Commun., vol. 22, no. 1, 2007, pp. 19-38. https://doi.org/10.1016/j.image.2006.11.002
  2. Y. Shin, N. Son, N. D. Toan, and G. Lee, "H.264/AVC to MPEG-2 Video Transcoding by using Motion Vector Clustering," J. of the Korea Institute of Electronic Communication Science, vol. 5, no. 1, 2010, pp. 23-30.
  3. S. Kwak, H. Choi, and J. Yang, "A Real-time Video Transferring and Localization System in HSPDA Network," J. of the Korea Institute of Electronic Communication Science, vol. 7, no. 1, 2012, pp. 21-26. https://doi.org/10.13067/JKIECS.2012.7.1.021
  4. H. Yun, Y. Seo, H. Choi, and D. Kim, "High-speed Intra Prediction Method for H.264/AVC," J. of the Korea Institute of Information and Communication Engineering, vol. 10, no. 7, 2006, pp. 1172-1179.
  5. T. Wiegand, H. Schwarz, A. Joch, F. Kossentini, and G. J. Sullivan, "Rate-constrained coder control and comparison of video coding standards," IEEE Trans. Circuits Syst. Video Technol., vol. 13, no. 7, pp. 688-703, Jul. 2003. https://doi.org/10.1109/TCSVT.2003.815168
  6. T. Wiegand, G. J. Sullivan, G. Bjontegaard, 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. https://doi.org/10.1109/TCSVT.2003.815165
  7. K. Lim, G. Sullivan, and T. Wiegand, "Text Description of Joint Model Reference Encoding Methods and Decoding Concealment Methods," JVT-W057, San Jose, CA, 2007.
  8. S. Park, "Adaptive Intra Frame Encoding for H.264/AVC," J. of the Korea Institute of Electronic Communication Science, vol. 9, no. 12, 2014, pp. 1447-1454. https://doi.org/10.13067/JKIECS.2014.9.12.1447
  9. P. C. Young, Recursive Estimation and Time-Series Analysis. Berlin: Springer-Verlag, 2011.