IJCSI International Journal of Computer Science Issues, Vol. 9, Issue 4, No 2, July 2012 ISSN (Online):

Similar documents
Enhanced Hexagon with Early Termination Algorithm for Motion estimation

AN ADJUSTABLE BLOCK MOTION ESTIMATION ALGORITHM BY MULTIPATH SEARCH

Fobe Algorithm for Video Processing Applications

Fast Motion Estimation for Shape Coding in MPEG-4

Module 7 VIDEO CODING AND MOTION ESTIMATION

A New Fast Motion Estimation Algorithm. - Literature Survey. Instructor: Brian L. Evans. Authors: Yue Chen, Yu Wang, Ying Lu.

Tunnelling-based Search Algorithm for Block-Matching Motion Estimation

Enhanced Hexagonal Search for Fast Block Motion Estimation

Low Discrepancy Sequences Applied in Block Matching Motion Estimation Algorithms

Motion Vector Estimation Search using Hexagon-Diamond Pattern for Video Sequences, Grid Point and Block-Based

An Adaptive Cross Search Algorithm for Block Matching Motion Estimation

Prediction-based Directional Search for Fast Block-Matching Motion Estimation

International Journal of Advance Engineering and Research Development

Directional Cross Diamond Search Algorithm for Fast Block Motion Estimation

IN RECENT years, multimedia application has become more

International Journal of Scientific & Engineering Research, Volume 5, Issue 7, July ISSN

Semi-Hierarchical Based Motion Estimation Algorithm for the Dirac Video Encoder

A FAST SEARCH BLOCK-BASED MOTION ESTIMATION ALGORITHM FOR COMPRESSION OF MOTION PICTURES

Redundancy and Correlation: Temporal

Adaptive Square-Diamond Search(ASDS) Algorithm for Fast Block Matching Motion Estimation

COMPARATIVE ANALYSIS OF BLOCK MATCHING ALGORITHMS FOR VIDEO COMPRESSION

A Novel Hexagonal Search Algorithm for Fast Block Matching Motion Estimation

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

Express Letters. A Simple and Efficient Search Algorithm for Block-Matching Motion Estimation. Jianhua Lu and Ming L. Liou

Predictive Motion Vector Field Adaptive Search Technique (PMVFAST) - Enhancing Block Based Motion Estimation

Motion estimation for video compression

Fast Block-Matching Motion Estimation Using Modified Diamond Search Algorithm

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

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

Joint Adaptive Block Matching Search (JABMS) Algorithm

An Efficient Motion Estimation Schemes for Application Targeting High Quality HEVC Schemes

A VLSI Architecture for H.264/AVC Variable Block Size Motion Estimation

Linear Hashtable Method Predicted Hexagonal Search Algorithm with Spatial Related Criterion

Video Image Sequence Super Resolution using Optical Flow Motion Estimation

FRAME-RATE UP-CONVERSION USING TRANSMITTED TRUE MOTION VECTORS

IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS FOR VIDEO TECHNOLOGY, VOL. 20, NO. 11, NOVEMBER

Predictive 3D search algorithm for multi-frame motion estimation Lim, Hong Yin; Kassim, A.A.; de With, P.H.N.

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

Research Article Block-Matching Translational and Rotational Motion Compensated Prediction Using Interpolated Reference Frame

A Study on Structural Similarity Based Interframe Video Coding

A High Quality/Low Computational Cost Technique for Block Matching Motion Estimation

Fast frame memory access method for H.264/AVC

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

DIGITAL video compression is essential for the reduction. Two-Bit Transform for Binary Block Motion Estimation

A Study on Block Matching Algorithms for Motion Estimation

A Sum Square Error based Successive Elimination Algorithm for Block Motion Estimation

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

FAST MOTION ESTIMATION WITH DUAL SEARCH WINDOW FOR STEREO 3D VIDEO ENCODING

Simplified Block Matching Algorithm for Fast Motion Estimation in Video Compression

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

Computation-Scalable Multi-Path Motion Estimation Algorithm

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

Research Article Flexible Triangle Search Algorithm for Block-Based Motion Estimation

VIDEO streaming applications over the Internet are gaining. Brief Papers

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

A Comparative Approach for Block Matching Algorithms used for Motion Estimation

Video Compression System for Online Usage Using DCT 1 S.B. Midhun Kumar, 2 Mr.A.Jayakumar M.E 1 UG Student, 2 Associate Professor

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

FOR compressed video, due to motion prediction and

High Efficient Intra Coding Algorithm for H.265/HVC

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

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

MultiFrame Fast Search Motion Estimation and VLSI Architecture

Video Capturing And Long-Distance Display System Based On Improved H.264

CONTENT ADAPTIVE SCREEN IMAGE SCALING

Reduced Frame Quantization in Video Coding

AN AUTOMATED ALGORITHM FOR APPROXIMATION OF TEMPORAL VIDEO DATA USING LINEAR BEZIER FITTING

implementation using GPU architecture is implemented only from the viewpoint of frame level parallel encoding [6]. However, it is obvious that the mot

POWER CONSUMPTION AND MEMORY AWARE VLSI ARCHITECTURE FOR MOTION ESTIMATION

A Survey on Early Determination of Zero Quantized Coefficients in Video Coding

Overview: motion estimation. Differential motion estimation

Transactions Briefs. An Adaptive Search Length Algorithm for Block Matching Motion Estimation

Low Bitrate Video Communications

IBM Research Report. Inter Mode Selection for H.264/AVC Using Time-Efficient Learning-Theoretic Algorithms

EE 5359 MULTIMEDIA PROCESSING SPRING Final Report IMPLEMENTATION AND ANALYSIS OF DIRECTIONAL DISCRETE COSINE TRANSFORM IN H.

I J S A A. VLSI Implementation for Basic ARPS Algorithm for Video Compression

Efficient Block Matching Algorithm for Motion Estimation

A Study on Multi-Screen Sharing System Using H.264/AVC Encoder

A 3-D Virtual SPIHT for Scalable Very Low Bit-Rate Embedded Video Compression

An Efficient Mode Selection Algorithm for H.264

Open Research Online The Open University s repository of research publications and other research outputs

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

High Performance Hardware Architectures for A Hexagon-Based Motion Estimation Algorithm

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

A High Sensitive and Fast Motion Estimation for One Bit Transformation Using SSD

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

A Modified Hardware-Efficient H.264/AVC Motion Estimation Using Adaptive Computation Aware Algorithm

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

Toward Optimal Pixel Decimation Patterns for Block Matching in Motion Estimation

An Empirical Study of Block Matching Techniques for the Detection of Moving Objects. Abstract

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

Algorithms and DSP Implementation of H.264/AVC

Multiresolution motion compensation coding for video compression

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

Area Efficient SAD Architecture for Block Based Video Compression Standards

An Efficient Saliency Based Lossless Video Compression Based On Block-By-Block Basis Method

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

International Journal of Scientific & Engineering Research, Volume 5, Issue 2, February ISSN

Computation-Aware Motion Estimation Algorithm Based On QoE Control

THE HIGH definition (HD) and ultra HD videos have

Transcription:

www.ijcsi.org 394 An Improvement of Unsymmetrical-Cross Multi-H Hexagon-grid Search algorith m Vu Thanh Nguyen (1), Tran Xuan Chien (2), Phan Cong Canh (3) Software Engineeringg Department, University of Information Technology Ho Chi Minh City, Vietnam Abstract In this paper, we present an new algorithm based on Unsymmetrical-cross Multi-Hexagon-grid Search (UMHexagonS) algorithm Fast Directional Gradient Descent Search (FDGDS). The experiment results show that this new algorithm can reduce motion estimation time with just a very minor bit rate increase almost same image quality. Keywords Video compression, block matching, improvement, motion estimation, video coding, UMHexagonS. I. INTRODUCTION Block matching motion estimation in video compression is a technique used to find best matching image block in previous frame from im age block in current frame. The best matching block is found by using certain similarity measurement, such as su m of absolute ( SAD) or mean of square error (MSE). However, commonly used because of its simplicity efficiency. Obviously, simplest method is full search algorithm that exhaustively searches all points in t he search window to find best matching cidate. However, it requires lots of computational operation is not feasiblee in most of video application. For years, researchers have proposed many hybrid algorithms ([1]-[9]) to tackle problem of full search, each adapt different search point patterns, trying to reduce motion estimation time without affecting much video quality bit rate. These algorithms, however, can easily be trapped in local minimumm point, especially in video with rapid motion scenes. In H.264 Reference Software, UMHexagonS ([10]) is adapted as main search algorithm that is used to find best matching block in search window. This algorithm uses different kind of patterns to find best matching block, it has early termination strategy to reduce search time. This algorithm works very well with both slow fast motion video sequences. It runs quite fast gives accurate motion vectors, good rate-distortion performance, nearly same as full search algorithm. Though performance of UMHexagonS is good, it could be improved a little bit more. Lai-Man Po introduces a new algorithm called Fast Directional Gradient Descent Search (FDGDS) ([11]). This new algorithm runs faster than UMHexagonS. However, it increases bit rate of compressed video, especially video sequences with rapid motion scenes. By integrating FDGDS into UMHexagonS applying new search pattern, we can improve UMHexagonS algorithm. The experiment results show that our improvement can speed up motion estimation time about 10% to 30% without much loss o f video quality rate-distortion performance. The paper is organized as follow: In section II, UMHexagonS FDGDS are pr esented. Next, we will describe two improvements will be employed in UMHexagonS algorithm. Finally, experiment resultss are presented to demonstrate efficient of proposed algorithm. II. UMHEXAGONS AND FDGDS ALGORITHM A. UMHexagonS Algorithm This algorithm consists of many steps, each step uses different search pattern: unsymmetrical-cross search, s mall rectangular full search, uneven multi-hexagon-grid search, extended hexagon based search, diamond search. In Fig. 1, a demonstration of search procedure in UMHexagonS is presented with search range equals 16 initial search point is (0, 0). The U MHexagonS algorithm also has early termination strategy to reduce estimation time. Fig. 2 shows each step in UMHexagonS where early termination is used. Fig.1. Search process of UMHexagonS algorithm, W = 16 There are four methods employed in UMHexagonS algorithm for prediction. They are median prediction, up layer prediction, corresponding block prediction neighboring reference picture prediction. All se methods early termination are described in ([10]).

www.ijcsi.org 395 Start Initial search point prediction smalll very big Unsymmetrical cross search Fig. 3 Example of OTS algorithm small very big Small rectan gular full search Uneven multi h exagon grid search Extended hexagon iterated search Diamond iterated search Finish Fig. 2 Flow chart of UMHexagonS algorithm B. FDGDS Algorithm The FDGDS algorithm is based on one-at-a-time search (OTS). In OTS, search is continued in one particular direction until minimum point along that direction is found. In Fig.3, an example of first OTS-based block matching algorithm ([1]) is shown. First, OTS is pe rformed on horizontal direction, t hen OTS is performed on vertical direction from minimum point found on horizontal direction. FDGDS uses OTS strategy on eight directions around center to s earch for minimum point. The algorithm is as follows: Step 1: Calculate block distortion measurement (BDM) of search window center set value as CURRENT_MIN Step 2: For each of eight directions of point with CURRENT_MIN: (a) perform point-to-point directional OTS; (b) set minimumm BDM found in current direction as a DIRECTIONAL MIN; (c) if DIRECTIONAL_MIN is found, calculate relative rate distortion (RDR) for current direction. If RDR < T, update CURRENT_MIN with this DIRECTIONAL_MIN repeat Step 2 (i.e., skip remaining directional searches). Step 3: If no point with DIRECTIONAL MIN is found, go to Step 5; Orwise go to Step 4. Step 4: DIRECTIONAL_MINs are compared. The l owest one is set as CURRENT_MIN. This is th e end of a search round. Go to Step 2 with u pdated CURRENT_MIN its corresponding position. Step 5: The algorithm is completed. Return with final motion vector pointing to position with CURRENT_MIN. The RDR for a certain direction is calculated as follow: _ _ According to ([11]), threshold value T equals to 0.5 is often used because it will keep balance between motion estimation time video quality. Fig.5 demonstrates example of FDGDS algorithm. The FDGDS algorithm is shown to be more efficient than UMHexagonS algorithm in motion estimation time. However, bit rate o f video sequences also increase, especially video sequences with rapid motion scenes.

www.ijcsi.org 396 Step 3: If no point with DIRECTIONAL MIN is found, go to Step 5; orwise go to Step 4. Step 4: DIRECTIONAL_MINs are compared. The l owest one is set as CURRENT_MIN. This is th e end of a search round. Go to Step 2 with u pdated CURRENT_MIN its corresponding position. Step 5: The algorithm is completed. Return with final motion vector pointing to position with CURRENT_MIN. Fig.4.. Example of FDGDS algorithm III. PROPOSED ALGORITHM The proposed algorithm is different from original UMHexagonS algorithm in two aspects. Firstly, instead of using unsymmetrical-cross search small rectangular full search, modified FDGDS is used. Secondly, hexagon pattern in unevenn multi-hexagon-grid search is replaced with a new octagon/decagon pattern to reduce computational complexity. These two aspectss are describedd in following. A. A Modifiedd FDGDS Algorithm In UMHexagonS algorithm, unsymmetrical-cross used to find search smalll rectangular full search are minimum point from initial point. But here, instead of using se two search methods, FDGDS algorithm is used to quickly find minimum point on this step to reduce computational time. Moreover, in original algorithm, early termination has been used in between unsymmetrical-cross search small rectangularr full search. In order to take advantage of early termination, it is integrated into FDGDS. The new FDGDS with early termination used in proposed algorithm is as follows: Step 1: Calculate BDM of search window center set value as CURRENT_MIN Step 2: For each of eight directions of point with CURRENT_MIN: (a) perform point-to-poin minimumm BDM found in current direction as a DIRECTIONAL_MIN; (c) if DIRECTIONAL_MIN is f ound, try using directional OTS; (b) set early terminationn strategy. If early termination could not be performed, calculate RDR for c urrent direction. If RDR < T, update CURRENT_MIN with this DIRECTIONAL_MIN repeat Step 2 (i.e., ski p remaining directional searches). Fig.5. Hexagon pattern in UMHexagonS algorithm B. Octagon Decagon Pattern The second improvement applied into algorithm is for uneven multi-hexagon-grid search step. Currently, this step adopts hexagon pattern with 16 points shown in Fig.5 to look for minimum point in large area of search window. Li Hong-ye introduces new fast block motion estimation algorithm ([12]) that use 8-point octagon pattern instead of 16-point hexagon pattern to reduce search time. However, our simulation shows that Li Hong-ye s method can make bit rate of compressed video larger than expected on video with rapid motion scenes. Fig.6. Octagon pattern

www.ijcsi.org 397 TABLE I PERFORMANCE COMPARISON OF PROPOSED ALGORITHM WITH UMHEXAGONS ALGORITHM IN H.264 REFERENCE SOFTWARE Akiyo UMHexagonS Proposed algorithm Proposed algorithm speedupp over UMHexagon increase 39.83 39.83 413.22 413.12 9.94% - 0.024% 1.660 1.495 36.58 36.57 Foreman ME time 872.28 3.209 35.16 875.62 2.462 35.16 23.28% 0.383% Stefan 2555.98 2557.31 27.62% 0.052% 3.928 2.843 Coastguard UMHexagonS Proposed algorithm Proposed algorithm speedupp over UMHexagon increase 34.34 34.34 1880..53 1880..37 22.44% - 0.009% 4.212 3.267 36.44 36.44 Container ME time 856.08 2.120 38.26 856.05 1.779 38.26 16.08% - 0.004% News 701.00 701.05 10.60% 0.007% 2.047 1.830 Windows operating system with Intel Core i5-2410m processor. The proposed algorithm is compared with UMHexagonS algorithm in three different aspects: average, average Motion Estimation time ave rage bit rate. The experiment results are shown in Table I. Start Initial search point prediction Fig.7. Decagon pattern B Instead of using one hexagon pattern, here two different patterns are used alternatively to furr reducee computational time at this step without much bit rate increase. The first pattern is octagon with 12 points shown in Fig.5, second pattern is decagon with 12 points shown in Fig.6. In our e xperiment, using se two alternatively will help cover most points in search window, meanwhile number of search points each round is reduced from 16 to 12. When performed search at this stage, two patterns will be applied alternatively. First, octagon pattern is used, next is decagon pattern, so on. The whole search process of proposed algorithm is shown in Fig.8 IV. EXPERIMENT RESULTSS The proposed algorithm is implemented in JM Reference Software 9.6 with following configurations: frame sequence is PPPIPPP, sub-pel motion estimation is disabled, one r eference frame, Quantization Parameter value 28, RD Optimzation is turne d off. Video sequences: Akiyo, News, Coastguard, Foreman, Stefan Container are tested on first 100 frames. The reference software is running on small very big small FDGDS with early termination SAD is big Uneven multi octagon/decagon grid search Extended hexagon iterated search Diamond iterated search Finish Fig.8.. Search process of proposed algorithm

www.ijcsi.org 398 It can be seen that proposed algorithm runs faster than UMHexagonS in all v ideo sequences, especially in video sequences with rapid mot ion scenes such as Coa stguard or Stefan. The bitrate of new algorithm is not much greater than original algorithm with less than 0.5% increase, it has even smaller bitrate in some videos such as Akiyo, Coastguard Container. The does not change in most of video sequences, except Foreman with 0.01dB lost. V. CONCLUSIONS In this pape r, a new algorithm based on th e FDGDS UMHexagonS algorithm is proposed. It takes advantage of fast running time from FDGDS accuracy from UMHexagonS to help reduce computational complexity while maintaining video quality bitrate. And two new search patterns, octagon decagon, are also presented to furr reduce motion estimation time. This new algorithm is shown to run fa ster than original UMHexagonS without much of PS NR lost bitrate increase. It especially works well with videos with complex motion contents. REFERENCES [1] R. Srinivasan K. R. Rao, Predictive coding based on efficient motion estimation, IEEE Trans. Commun., vol. 33, no. 8, pp. 888-896, Aug. 1985. [2] T. Koga, K. Iinuma, A. Hirano, Y. I ijima, T. Ishiguro, Motion compensated interframe coding for video conferencing, in Proc. Nat. Telecommun. Conf., New Orleans, LA, Dec. 1981, pp. G5.3.1-G5.3.5. [3] R. Li, B. Zeng, M. L. Lio, A new three-step search algorithm for vol. 4, no. 4, pp. 438-443, Aug. 1994. [4] L. M. Po W. C. Ma, A nove l four-step search algorithm for fast vol. 6, no. 3, pp. 313-317, Jun. 1996. [5] L. K. Liu E. Feig, A blo ck-based gradient descent search algorithm for block motion estimation in video coding, IEEE Trans. Circuits Syst. Video Technol., vol. 6, no. 4, pp. 419-422, Aug. 1996. [6] J. Y. Tham, S. Ranganath, M. Ranganath, A. A. Kassim, A novel unrestricted center-biased diamond search algorithm for block motion estimation, IEEE Trans. Circuits Syst. Video Technol., vol. 8, no. 4, pp. 369-377, Aug. 1998. [7] C. H. Cheung L. M. Po, A novel cross-diamond search algorithm for fast block motion estimation, IEEE Trans. Circuits Syst. Video Technol., vol. 12, no. 12, pp. 1168-1177, Dec. 2002. [8] C. Zhu, X. Lin, L. P. Chau, Hexagon-based search pattern for fast vol. 12, no. 5, pp. 349-355, May 2002. [9] C. H. Cheung L. M. Po, Novel cross-diamond-hexagonal search algorithms for fast block motion estimation, IEEE Trans. Circuits Syst. Video Technol., vol. 7, no. 1, pp. 16-22, Feb. 2005. [10] Z. B. Chen, P. Zhou, Y. He, Fast integer pel factional pel motion estimation for JVT, in Proc. 6th Meeting: JVT-F017, Awaji, Isl, Japan, 2002. [11] Lai-Man Po, Ka-Ho Ng, Kwok-Wai Cheung, Ka-Man Wong, Yusuf Md. Salah Uddin, Chi-Wang Ting, Novel Directional Gradient Descent Searches for Fast Block Motion Estimation, IEEE Trans. Circuits Syst. Video Technol., vol. 19, no. 8, August 2009. [12] Li Hong-ye, Liu Ming-jun Zhang Zhi-qiang, A New Fast Motion Estimation Algorithm Based on H.264, International Conference on Multimedia Information Networking Security, vol. 1, pp. 287-290, Nov. 2009.