| 研究生: |
林摯言 Lin, Chih-Yen |
|---|---|
| 論文名稱: |
基於時間空間關係之一有效率H.264/AVC模式決策演算法 An Efficient H.264/AVC Mode Decision Algorithm Based on Temporal and Spatial Correlation |
| 指導教授: |
陳進興
Chen, Chin-Hsing |
| 學位類別: |
碩士 Master |
| 系所名稱: |
電機資訊學院 - 電腦與通信工程研究所 Institute of Computer & Communication Engineering |
| 論文出版年: | 2010 |
| 畢業學年度: | 98 |
| 語文別: | 英文 |
| 論文頁數: | 64 |
| 中文關鍵詞: | 模式決策 、空間關係 |
| 外文關鍵詞: | H.264, mode decision, spatial correlation |
| 相關次數: | 點閱:80 下載:1 |
| 分享至: |
| 查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報 |
在相同的視訊品質下,H.264在編碼的效能上遠勝過MPEG-2以及MPEG-4。然而和舊有的標準相比,H.264有過高的運算複雜度問題,尤其是在做區塊大小模式決策時。因此,在這篇論文中,我們提出了演算法來改善H.264編碼器的效能。
首先,我們利用編碼過的畫面去統計各模式出現的機率,透過統計將模式做分類以減少模式決策的計算。接著比較平均編碼率和平均邊緣錯誤率的大小來決定是否省略內部模式(Intra mode)。之後有效利用提前偵測省略模式(SKIP mode)的條件來加快模式選擇的速度,以及利用空間關係來減少位元率的增加。
實驗結果顯示,對於JM14.0至少可以減少一半的計算量。以QCIF格式的影像來說,對於動量較小的影像,我們提出來的第一個演算法最低可減少80.664%的計算量,並且在平均上PSNR只有0.05dB的衰減,以及2.15%位元率的上升。而第二個提出的方法最少可減少78.16%的計算量,並且平均PSNR只有0.04dB的衰減,以及1.26%位元率的上升。對於動態較大的影像,我們提出來的第一個演算法最少可節省65.552%的編碼時間,並且在平均上PSNR只有0.08dB的衰減,以及3.39%位元率的上升。而第二個提出的方法最低可節省61.011%的編碼時間,並且平均PSNR只有0.07dB的衰減,以及2.09%位元率的上升。在CIF格式的影像裡,我們所提出來的演算法一樣能提高編碼的效率。關於在編碼效能上,我們的演算法只有輕微的PSNR衰減和一些位元率的增加。
H.264 can outperform MPEG-2 and MPEG-4 in compression efficiency at the same video quality. However, it has higher computational complexity compared to the older standards, especially in variable block-size mode decision. Consequently, in this thesis we proposed two algorithms to improve the efficiency of H.264.
First of all, we utilize the encoded frames to check statistics of the probability in each mode, and modes are classified through the statistics in order to reduce the calculation of mode decision. Secondly, the average rate are compared with average sum of boundary error to decide if skip intra mode. Afterwards, effectively take advantage of conditions of early SKIP mode detection to speedup mode selection, and use spatial correlation to decline the increment of bit-rate.
The experimental results show the proposed algorithms could reduce at least half computation than JM14.0. For slow motion sequences in QCIF format, the first proposed algorithm reduced at least 80.664% computation with 0.05 dB PSNR loss and 2.45% total bit-rate increment on average. The second proposed algorithm reduced at least 78.16% computation with 0.04 dB PSNR loss and 1.26% total bit-rate increment on average. For fast motion in QCIF format, the first proposed algorithm saved at least 65.552% encoding time with 0.08 dB PSNR loss and 3.39% total bit-rate increment. The second proposed algorithm saved at least 61.011% encoding time with 0.07 dB PSNR loss and 2.09% total bit-rate increment. For the sequences in CIF format, our proposed algorithms also increased high coding efficiency. With regard to coding efficiency, the algorithms only bring a slight PSNR degradation and bit-rate increment.
[1] T. G. Ahn, Y. H. Moon and J. H. Kim, “Fast full-search motion estimation based on multilevel successive elimination algorithm,” IEEE Transactions on Circuits and Systems for Video Technology, Vol. 14, No. 11, Pages:1265-1269, 2004.
[2] I. Choi, J. Lee and B. Jeon, “Fast Coding Mode Selection With Rate-Distortion Optimization for MPEG-4 Part-10 AVC/H.264,” IEEE Transactions on Circuits and Systems for Video Technology, Vol. 16, No. 12, Pages:1557-1561, 2006.
[3] X. Q. Gao, C. J. Duanmu and C. R. Zou, “A multilevel successive elimination algorithm for block matching motion estimation,” IEEE Transactions on Image Processing, Vol. 9, No. 3, Pages:501-504, 2000.
[4] M. Ghanbari, “The cross-search algorithm for motion estimation,” IEEE Transactions on communications, Vol. 38, No. 7, Pages:950-953, 1990.
[5] C. Grecos and M. Yang, “Fast Mode Prediction for the Baseline and Main Profiles in the H.264 Video Coding Standard,” IEEE Transactions on Multimedia, Vol. 8, No. 6, Pages:1125-1134, 2006.
[6] W. S. Jang, J. Heo and Y. S. Ho, “Efficient Selection of Candidates for Fast Inter Mode Decision in H.264,” IEEE International Conferences on Future Generation Communication and Networking Symposia, Vol. 3, Pages:222-225, 2008.
[7] Y. Jo, S. Jin, J. You and J. Jeong, “Adaptive Fast Inter Mode Decision Algorithm Using Dynamic Threshold Technique for H.264/AVC P Slices,” IEEE International Conferences on Computer Systems and Applications, Pages:913-918, 2009.
[8] S. H. Kim and Y. S. Ho, “Fast mode decision algorithm for H.264 using statistics of rate-distortion cost,” Electronics Letters, Vol. 44, No. 14, Pages:849-850, 2008.
[9] J. H. Kim, B. G. Kim and C. S. Cho, “A Fast Block Mode Decision Algorithm using a Block Correlation in H.264/AVC,” IEEE International Symposium on Consumer Electronics, Pages:1-5, 2007.
[10] H. Kozu, H. Kuniyasu, T. Song and T. Shimamoto, “Spatial-temporal correlation based mode decision algorithm for H.264/AVC,” IEEE International Symposium on Consumer Electronics, Pages:647-650, 2009.
[11] W. Li and E. Salari, “Successive elimination algorithm for motion estimation,” IEEE Transactions on Image Processing, Vol. 4, No. 1, Pages:105-107, 1995.
[12] P. Liu and K. Jia, “A Fast Mode Decision Scheme with Variable Block Sizes in H.264/AVC,” IEEE International Conferences on Intelligent Systems Design and Applications, Vol. 3, Pages:368-371, 2008.
[13] S. W. Liu, S. D. Wei and S. H. Lai, “Fast Optimal Motion Estimation Based on Gradient-Based Adaptive Multilevel Successive Elimination,” IEEE Transactions on Circuits and Systems for Video Technology, Vol. 18, No. 2, Pages:263-267, 2008.
[14] A. K. Luthra, G. J. Sullivan and T. Wiegand, “Introduction to the special issue on the H.264/AVC video coding standard,” IEEE Transactions on Circuits and Systems for Video Technology, Vol. 13, No. 7, Pages:557-559, 2003.
[15] W. Ma, S. Yang, L. Gao and C. Pei, “An Efficient Fast Mode Decision Algorithm Based on Motion Cost for H.264 Inter Prediction,” International Symposium on Intelligent Information Technology Application Workshops, Pages:550-553, 2008.
[16] L. M. Po and W. C. Ma, “A novel four-step search algorithm for fast block motion estimation, ” IEEE Transactions on Circuits and Systems for Video Technology, Vol. 6, No. 3, Pages:313-317, 1996.
[17] E. A. A. Qaralleh and T. S. Chang, “Fast Variable Block Size Motion Estimation by Adaptive Early Termination,” IEEE Transactions on Circuits and Systems for Video Technology, Vol. 16, No. 8, Pages:1021-1026, 2006.
[18] L. Shen, Z. Liu, Z. Zhang and X. Shi, “Fast Inter Mode Decision Using Spatial Property of Motion Field,” IEEE Transactions on Multimedia, Vol. 10, No. 6, Pages:1208-1214, 2008.
[19] H. Wang, S. Kwong and C. W. Kok, “An Efficient Mode Decision Algorithm for H.264/AVC Encoding Optimization,” IEEE Transactions on Multimedia, Vol. 9, No. 4, Pages:882-888, 2007.
[20] H. M. Wong, O. C. Au, A. Chang, S.K. Yip and C. W. Ho, “Fast mode decision and motion estimation for H.264 (FMDME),” IEEE International Symposium on Circuits and Systems, 2006.
[21] D. Wu, F. Pan, K. P. Lim, S. Wu, Z. G. Li, S. Rahardja and C. C. Ko, “Fast intermode decision in H.264/AVC video coding,” IEEE Transactions on Circuits and Systems for Video Technology, Vol. 15, No. 7, Pages:953-958, 2005.
[22] X. Xu and Y. He, “Improvements on Fast Motion Estimation Strategy for H.264/AVC,” IEEE Transactions on Circuits and Systems for Video Technology, Vol. 18, No. 3, Pages:285-293, 2008.
[23] L. Yang, K. Yu, J. Li and S. Li, “An effective variable block-size early termination algorithm for H.264 video coding,” IEEE Transactions on Circuits and Systems for Video Technology, Vol. 5, No. 6, Pages:784-788, 2005.
[24] A. C. W. Yu, G. R. Martin and H. Park, “Fast Inter-Mode Selection in the H.264/AVC Standard Using a Hierarchical Decision Process,” IEEE Transactions on Circuits and Systems for Video Technology, Vol. 18, No. 2, Pages:186-195, 2008.
[25] H. Zeng, C. Cai and K. K. Ma, “Fast Mode Decision for H.264/AVC Based on Macroblock Motion Activity,” IEEE Transactions on Circuits and Systems for Video Technology, Vol. 19, No. 4, Pages:491-499, 2009.
[26] C. Zhu, X. Lin and L. P. Chau, “Hexagon-based search pattern for fast block motion estimation,” IEEE Transactions on Circuits and Systems for Video Technology, Vol. 12, No. 5, Pages:349-355, 2002.
[27] C. Zhu, W. S. Qi and W. Ser, “Predictive fine granularity successive elimination for fast optimal block-matching motion estimation,” IEEE Transactions on Image Processing, Vol. 14, No. 2, Pages:213-221, 2005.