1 Efficient Reference Frame Selector for H.264 Tien-Ying Kuo, Hsin-Ju Lu IEEE CSVT 2008.

Slides:



Advertisements
Similar presentations
SURE-LET for Orthonormal Wavelet-Domain Video Denoising Florian Luisier, Member, IEEE, Thierry Blu, Senior Member, IEEE, and Michael Unser, Fellow, IEEE.
Advertisements

Adviser : Ming-Yuan Shieh Student ID : M Student : Chung-Chieh Lien VIDEO OBJECT SEGMENTATION AND ITS SALIENT MOTION DETECTION USING ADAPTIVE BACKGROUND.
Ai-Mei Huang And Truong Nguyen Image processing, 2006 IEEE international conference on Motion vector processing based on residual energy information for.
1 Adaptive slice-level parallelism for H.264/AVC encoding using pre macroblock mode selection Bongsoo Jung, Byeungwoo Jeon Journal of Visual Communication.
Yung-Lin Huang, Yi-Nung Liu, and Shao-Yi Chien Media IC and System Lab Graduate Institute of Networking and Multimedia National Taiwan University Signal.
{ Fast Disparity Estimation Using Spatio- temporal Correlation of Disparity Field for Multiview Video Coding Wei Zhu, Xiang Tian, Fan Zhou and Yaowu Chen.
Limin Liu, Member, IEEE Zhen Li, Member, IEEE Edward J. Delp, Fellow, IEEE CSVT 2009.
CABAC Based Bit Estimation for Fast H.264 RD Optimization Decision
2009/04/07 Yun-Yang Ma.  Overview  What is CUDA ◦ Architecture ◦ Programming Model ◦ Memory Model  H.264 Motion Estimation on CUDA ◦ Method ◦ Experimental.
Reji Mathew and David S. Taubman CSVT  Introduction  Quad-tree representation  Quad-tree motion modeling  Motion vector prediction strategies.
Wei Zhu, Xiang Tian, Fan Zhou and Yaowu Chen IEEE TCE, 2010.
Yu-Han Chen, Tung-Chien Chen, Chuan-Yung Tsai, Sung-Fang Tsai, and Liang-Gee Chen, Fellow, IEEE IEEE CSVT
Novel Point-Oriented Inner Searches for Fast Block Motion Lai-Man Po, Chi-Wang Ting, Ka-Man Wong, and Ka-Ho Ng IEEE TRANSACTIONS ON MULTIMEDIA, VOL.9,
FAST MACROBLOCK MODE SELECTION BASED ON MOTION CONTENT CLASSIFICATION IN H.264/AVC Ming Yang, Wensheng Wang ICIP 2004.
Outline Introduction Introduction Fast Inter Prediction Mode Decision for H.264 – –Pre-encoding An Efficient Inter Mode Decision Approach for H.264 Video.
Efficient multi-frame motion estimation algorithms for MPEG-4 AVC/JVTH.264 Mei-Juan Chen, Yi-Yen Chiang, Hung- Ju Li and Ming-Chieh Chi ISCAS 2004.
Low-complexity mode decision for MVC Liquan Shen, Zhi Liu, Ping An, Ran Ma and Zhaoyang Zhang CSVT
1 Single Reference Frame Multiple Current Macroblocks Scheme for Multiple Reference IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS FOR VIDEO TECHNOLOGY Tung-Chien.
MultiHypothesis Pictures For H.26L Markus Flierl Telecommunications Laboratory University of Erlangen-Nuremberg Erlangen, Germany
An Efficient Low Bit-Rate Video-coding Algorithm Focusing on Moving Regions Kwok-Wai Wong, Kin-Man Lam, Wan-Chi Siu IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS.
Analysis, Fast Algorithm, and VLSI Architecture Design for H
Fast Mode Decision And Motion Estimation For JVT/H.264 Pen Yin, Hye – Yeon Cheong Tourapis, Alexis Michael Tourapis and Jill Boyce IEEE ICIP 2003 Sep.
Scalable Wavelet Video Coding Using Aliasing- Reduced Hierarchical Motion Compensation Xuguang Yang, Member, IEEE, and Kannan Ramchandran, Member, IEEE.
1 Efficient Multithreading Implementation of H.264 Encoder on Intel Hyper- Threading Architectures Steven Ge, Xinmin Tian, and Yen-Kuang Chen IEEE Pacific-Rim.
FAST MULTI-BLOCK SELECTION FOR H.264 VIDEO CODING Chang, A.; Wong, P.H.W.; Yeung, Y.M.; Au, O.C.; Circuits and Systems, ISCAS '04. Proceedings of.
Multi-Frame Reference in H.264/AVC 卓傳育. Outline Introduction to Multi-Frame Reference in H.264/AVC Multi-Frame Reference Problem Two papers propose to.
Motion Vector Refinement for High-Performance Transcoding Jeongnam Youn, Ming-Ting Sun, Fellow,IEEE, Chia-Wen Lin IEEE TRANSACTIONS ON MULTIMEDIA, MARCH.
Adjustable Partial Distortion Search Algorithm for Fast Block Motion Estimation Chun-Ho Cheung and Lai-Man Po Department of Electronic Engineering, City.
1 An Efficient Mode Decision Algorithm for H.264/AVC Encoding Optimization IEEE TRANSACTION ON MULTIMEDIA Hanli Wang, Student Member, IEEE, Sam Kwong,
Feature-Based Intra-/InterCoding Mode Selection for H.264/AVC C. Kim and C.-C. Jay Kuo CSVT, April 2007.
Source-Channel Prediction in Error Resilient Video Coding Hua Yang and Kenneth Rose Signal Compression Laboratory ECE Department University of California,
Xinqiao LiuRate constrained conditional replenishment1 Rate-Constrained Conditional Replenishment with Adaptive Change Detection Xinqiao Liu December 8,
An Introduction to H.264/AVC and 3D Video Coding.
Video Compression Concepts Nimrod Peleg Update: Dec
HARDEEPSINH JADEJA UTA ID: What is Transcoding The operation of converting video in one format to another format. It is the ability to take.
January 26, Nick Feamster Development of a Transcoding Algorithm from MPEG to H.263.
Liquan Shen Zhi Liu Xinpeng Zhang Wenqiang Zhao Zhaoyang Zhang An Effective CU Size Decision Method for HEVC Encoders IEEE TRANSACTIONS ON MULTIMEDIA,
Kai-Chao Yang Hierarchical Prediction Structures in H.264/AVC.
Philipp Merkle, Aljoscha Smolic Karsten Müller, Thomas Wiegand CSVT 2007.
Frame by Frame Bit Allocation for Motion-Compensated Video Michael Ringenburg May 9, 2003.
1 Data Partition for Wavefront Parallelization of H.264 Video Encoder Zhuo Zhao, Ping Liang IEEE ISCAS 2006.
Adaptive Multi-path Prediction for Error Resilient H.264 Coding Xiaosong Zhou, C.-C. Jay Kuo University of Southern California Multimedia Signal Processing.
Low-Power H.264 Video Compression Architecture for Mobile Communication Student: Tai-Jung Huang Advisor: Jar-Ferr Yang Teacher: Jenn-Jier Lien.
H.264/AVC 基於影像複雜度與提早結束之快速 階層運動估計方法 Content-Based Hierarchical Fast Motion Estimation with Early Termination in H.264/AVC 研究生:何銘哲 指導教授:蔣依吾博士 中山大學資訊工程學系.
Fast Mode Decision for H.264/AVC Based on Rate-Distortion Clustering IEEE TRANSACTIONS ON MULTIMEDIA, VOL. 14, NO. 3, JUNE 2012 Yu-Huan Sung Jia-Ching.
Sub pixel motion estimation for Wyner-Ziv side information generation Subrahmanya M V (Under the guidance of Dr. Rao and Dr.Jin-soo Kim)
Adaptive Rate Control for HEVC Visual Communications and Image Processing (VCIP), 2012 IEEE Junjun Si, Siwei Ma, Xinfeng Zhang, Wen Gao 1.
2 3 Be introduced in H.264 FRExt profile, but most H.264 profiles do not support it. Do not need motion estimation operation.
Rate-distortion Optimized Mode Selection Based on Multi-channel Realizations Markus Gärtner Davide Bertozzi Classroom Presentation 13 th March 2001.
Guillaume Laroche, Joel Jung, Beatrice Pesquet-Popescu CSVT
Fast Mode Decision Algorithm for Residual Quadtree Coding in HEVC Visual Communications and Image Processing (VCIP), 2011 IEEE.
Computational Complexity Management of a Real-Time H.264/AVC Encoder C S Kannangara, I E Richardson, and A J Miller CSVT
Fast motion estimation and mode decision for H.264 video coding in packet loss environment Li Liu, Xinhua Zhuang Computer Science Department, University.
An efficient Video Coding using Phase-matched Error from Phase Correlation Information Manoranjan Paul 1 and Golam Sorwar IEEE.
IEEE Transactions on Consumer Electronics, Vol. 58, No. 2, May 2012 Kyungmin Lim, Seongwan Kim, Jaeho Lee, Daehyun Pak and Sangyoun Lee, Member, IEEE 報告者:劉冠宇.
EE591f Digital Video Processing
Mode Decision and Fast Motion Estimation in H.264 K.-C. Yang Qionghai Dai, Dongdong Zhu and Rong Ding,”FAST MODE DECISION FOR INTER PREDICTION IN H.264,”
1/39 Motion Adaptive Search for Fast Motion Estimation 授課老師:王立洋老師 製作學生: M 蔡鐘葳.
Outline  Introduction  Observations and analysis  Proposed algorithm  Experimental results 2.
Motion tracking TEAM D, Project 11: Laura Gui - Timisoara Calin Garboni - Timisoara Peter Horvath - Szeged Peter Kovacs - Debrecen.
Fine-granular Motion Matching for Inter-view Motion Skip Mode in Multi-view Video Coding Haitao Yanh, Yilin Chang, Junyan Huo CSVT.
Fast disparity motion estimation in MVC based on range prediction Xiao Zhong Xu, Yun He ICIP 2008.
Multi-Frame Motion Estimation and Mode Decision in H.264 Codec Shauli Rozen Amit Yedidia Supervised by Dr. Shlomo Greenberg Communication Systems Engineering.
Computational Controlled Mode Selection for H.264/AVC June Computational Controlled Mode Selection for H.264/AVC Ariel Kit & Amir Nusboim Supervised.
Adaptive Block Coding Order for Intra Prediction in HEVC
Automatic Video Shot Detection from MPEG Bit Stream
Early termination for tz search in hevc motion estimation
Steven Ge, Xinmin Tian, and Yen-Kuang Chen
Research Topic Error Concealment Techniques in H.264/AVC for Wireless Video Transmission Vineeth Shetty Kolkeri EE Graduate,UTA.
Bongsoo Jung, Byeungwoo Jeon
Presentation transcript:

1 Efficient Reference Frame Selector for H.264 Tien-Ying Kuo, Hsin-Ju Lu IEEE CSVT 2008

2 Outline Introduction Introduction H.264 Inter-Coding H.264 Inter-Coding Proposed Method Proposed Method Experimental Results Experimental Results Conclusions Conclusions

3 Introduction Background Knowledge (1/4) H.264 features for inter-frame coding H.264 features for inter-frame coding Variable block size motion compensation Variable block size motion compensation Subpixel motion estimation Subpixel motion estimation Multiple reference frame motion compensation Multiple reference frame motion compensation N - 5 N - 2N - 1 Current frame N

4 Introduction Background Knowledge (2/4) Why do Multiple reference frame help predictions ? Why do Multiple reference frame help predictions ? Uncovered background Uncovered background Non-integer pixel displacement Non-integer pixel displacement Lighting change Lighting change Camera shaking Camera shaking Noises in the source signal Noises in the source signal Noise effect

5 Introduction Background Knowledge (3/4) Sampling/noise effect of MobileCalendar Sampling/noise effect of MobileCalendar Original block (N-1) Ref block(N-2) Ref block (N-1) Residual block (N-2) Residual block MSE = MSE = 32.4

6 Introduction Background Knowledge (4/4) Drawback of MRF-ME Drawback of MRF-ME High computational complexity High computational complexity In order to reduce complexity In order to reduce complexity Reduce search points Reduce search points Continuous tracking technique Continuous tracking technique Early stop criteria Early stop criteria

7 Introduction Main Purpose (1/1) A simple and effective method of selecting proper reference frames in MRF-ME. A simple and effective method of selecting proper reference frames in MRF-ME. It enables working with any existing ME algorithms. It enables working with any existing ME algorithms. Experimental results demonstrate the effectiveness of proposed algorithm. Experimental results demonstrate the effectiveness of proposed algorithm.

8 H.264 Inter-Coding Overview (1/3) Variable block size Variable block size Macroblock partition : 16*16, 16*8, 8*16, 8*8 Macroblock partition : 16*16, 16*8, 8*16, 8*8 Submacroblock partition : 8*8, 8*4, 4*8, 4*4 Submacroblock partition : 8*8, 8*4, 4*8, 4*4 16*16 16*8 8*16 8*8 8*4 4*84*4

9 H.264 Inter-Coding Overview (2/3) Reference parameter REF Reference parameter REF Signal to which frame referred Signal to which frame referred Coded only once for each submacroblock partition Coded only once for each submacroblock partition All subblock smaller than 8*8 in the same subpartition must refer to the same frame

10 H.264 Inter-Coding Overview (3/3) Rate-distortion cost of each possible partition Rate-distortion cost of each possible partition REF : Reference parameter m( REF ) : The motion vector in the reference frame p ( REF ) : The predicted motion vector from the neighbors s : Original video signal c : Coded video signal R : Rate function of motion vectors SA(T)D : SAD or SATD

Reference frame selector Reference frame selector Treating 8*8 block as a minimal unit Treating 8*8 block as a minimal unit Making the selection using a mode 8*8 motion search Making the selection using a mode 8*8 motion search 11 Proposed Method Multiple Reference Frame Selection (1/9)

Flow chart Flow chart 12 Proposed Method Multiple Reference Frame Selection (2/9) Input a MB and perform four 8*8 block motion search on reference frame t-1 Variance of four MVs of 8*8 blocks ≦ TH? Perform motion estimation on reference frame t-1 Enter 2nd stage Yes No Output results First Stage

Flow chart Flow chart 13 Proposed Method Multiple Reference Frame Selection (3/9) Perform four 8*8 block motion search of the MB on the reference frame t-i Yes No i = 2 Is i ≧ N? i + 1 Is ref-frame t-k reffered by one of the four 8*8 blocks? Drop the non-referred ref frame t-k Is k ≧ N? Perform motion estimation on each valid reference frame Output results Second Stage Yes No

First stage First stage Disjoint 16*16 macroblock into four 8*8 blocks Disjoint 16*16 macroblock into four 8*8 blocks Motion search on ref-frame t-1 and check threshold Motion search on ref-frame t-1 and check threshold 14 Proposed Method Multiple Reference Frame Selection (4/9) Current Frame t Reference frame t MVs and corresponding minimal R-D cost

Motion vectors Motion vectors R-D cost R-D cost Check x and y components of V t-1 Check x and y components of V t-1 Less than a small threshold ? Less than a small threshold ?  Encoder terminate early by designating only the  Encoder terminate early by designating only the previous frame as reference frame previous frame as reference frame 15 Proposed Method Multiple Reference Frame Selection (5/9) Early stop criteria

The design of threshold depends upon the computational capacity of the encoder The design of threshold depends upon the computational capacity of the encoder Larger threshold, lower complexity, but worse coding efficiency Larger threshold, lower complexity, but worse coding efficiency 16 Proposed Method Multiple Reference Frame Selection (6/9) Determine upper bound of the coding efficiency and the worst case of complexity

Second stage Second stage Motion search of mode 8*8 should be tested on all of the remaining reference frames Motion search of mode 8*8 should be tested on all of the remaining reference frames 17 Proposed Method Multiple Reference Frame Selection (7/9) N : The maximal number of reference frames

For a given block index i, we let k be set as For a given block index i, we let k be set as The frame selector sets the ref-frame n-k as the valid, qualified reference frame The frame selector sets the ref-frame n-k as the valid, qualified reference frame 18 Proposed Method Multiple Reference Frame Selection (8/9) Block i has the best motion vector with the lowest cost, by referring to reference frame n-k

Drop unqualified frames Drop unqualified frames 19 Proposed Method Multiple Reference Frame Selection (9/9) Current frame t Frame t-2Frame t-3Frame t-4 Frame t-5 N = 5

Verifying the effectiveness of frame selector Verifying the effectiveness of frame selector Measuring the hit rate by comparing retained frames with the actual frames used via exhaustive search method (hit rate = 88% ~ 95%) Measuring the hit rate by comparing retained frames with the actual frames used via exhaustive search method (hit rate = 88% ~ 95%) 20 Proposed Method Analysis hit rate and Frame usage(1/6)

Even with the high hit rate, we expect that frame selector can drop as many frames as possible. Even with the high hit rate, we expect that frame selector can drop as many frames as possible. The false alarm ranges from 13%~32% The false alarm ranges from 13%~32% 21 Proposed Method Analysis hit rate and Frame usage(2/6)

Reference frame usage of the proposed frame selector for various video sequence Reference frame usage of the proposed frame selector for various video sequence 22 Proposed Method Analysis hit rate and Frame usage(3/6)

Why using mode 8*8 but not other modes in frame selection? Why using mode 8*8 but not other modes in frame selection? Hit rate Hit rate False alarm False alarm Motion estimation time spending Motion estimation time spending 23 Proposed Method Analysis hit rate and Frame usage(4/6)

Analysis of hit rate and false alarm using different modes on various sequence Analysis of hit rate and false alarm using different modes on various sequence 24 Proposed Method Analysis hit rate and Frame usage(5/6)

The motion estimation time spending on a MB The motion estimation time spending on a MB Judging from the hit rate, false alarm and complexity Judging from the hit rate, false alarm and complexity 8*8 is the best choice 8*8 is the best choice 25 Proposed Method Analysis hit rate and Frame usage(6/6) Mode16*1616*88*168*88*44*84*4 Time

Reference software : JM 9.2 Reference software : JM 9.2 Intel Pentium GHz with 512MB RAM Intel Pentium GHz with 512MB RAM Encoder parameters Encoder parameters 26 Experimental Results Overview (1/2)

Using Fast Full Search (FFS) and Fast Motion Estimation (FME) in JM 9.2 Using Fast Full Search (FFS) and Fast Motion Estimation (FME) in JM 9.2 Comparing the results with a frame selection method of Li.[1] Comparing the results with a frame selection method of Li.[1] 27 Experimental Results Overview (2/2) [1] X. Li, E. Q. Li, and Y. K. Chen, “Fast multi-frame motion estimation algorithm with adaptive search strategies in H.264,”in Proc. IEEE Int. Conf. Acoust., Speech, Signal Process., May 2004, vol.3, pp.369–372.

R-D curve comparison (Foreman) R-D curve comparison (Foreman) 28 Experimental Results

R-D curve comparison (Mobile) R-D curve comparison (Mobile) 29 Experimental Results

Using BDPSNR and BDBR to measure the performance difference between the methods Using BDPSNR and BDBR to measure the performance difference between the methods Calculates average PSNR and bitrate distance between two RD curves of two method, respectively. Calculates average PSNR and bitrate distance between two RD curves of two method, respectively. 30 Experimental Results

Discussing the computational complexity Discussing the computational complexity 31 Experimental Results

Speed up of SAD and SATD calculations Speed up of SAD and SATD calculations 32 Experimental Results

Number of MBs references in each reference frame (Mobile) Number of MBs references in each reference frame (Mobile) 33 Experimental Results Experimental Results

Number of MBs references in each reference frame (Foreman) Number of MBs references in each reference frame (Foreman) 34 Experimental Results Experimental Results

An efficient reference frame selector is proposed for the h.264 encoder to deal with the complexity issue pertaining to MRFME. An efficient reference frame selector is proposed for the h.264 encoder to deal with the complexity issue pertaining to MRFME. The experimental results demonstrate that the proposed algorithm can reduce significantly the complexity of ME at the encoder end, while keeping almost the same R-D performance as FFS. The experimental results demonstrate that the proposed algorithm can reduce significantly the complexity of ME at the encoder end, while keeping almost the same R-D performance as FFS. 35 Conclusions Conclusions