IJRIT International Journal of Research in Information Technology, Volume 2, Issue 4, April 2014, Pg: 394- 399

International Journal of Research in Information Technology (IJRIT) www.ijrit.com

ISSN 2001-5569

A Review on Motion Estimation and Compensation in Video Compression Abhay Suri1 1 M.Tech Final Year Student, Deptt. Of ECE, RIEIT, Railmajra, Punjab, India [email protected]

Abstract In order to fulfill the requirement of limited channel and of growing video demand like streaming media delivery on internet, and digital library, video compression is necessary and video compression has emerged as an effective technique to reduce spatial and temporal redundancy in video sequence. Temporal redundancy reduction deals with motion estimation and motion compensation. Among the different motion estimation algorithms block matching is the most common used technique. The spatial redundancy is removed by applying the DCT and the wavelet transformations. This paper is a review of block matching algorithms in temporal domain and the some transformations used in the spatial domain for video compression.

Keywords: Block matching algorithms, Motion Estimation, Video Compression.

1. Introduction With rapid advances in multimedia communication and due to those applications for digital video like Video telephony, streaming media delivery on internet, CD, DVD Cellular media, educational purpose etc. requires large storage space. Video Compression is necessary to eliminate picture redundancy, allowing video information to be transmitted and stored in a compact and efficient manner. Why can video be compressed? The reason is that video contains much spatial and temporal redundancy. In a single frame, nearby pixels are often correlated with each other. This is called spatial redundancy, or the intraframe correlation. Another one is temporal redundancy, which means adjacent frames are highly correlated, or called the interframe correlation. Therefore, our goal is to efficiently reduce spatial and temporal redundancy to achieve video compression.

2. Removal of Temporal Redundancy In order to remove the temporal redundancy of the video we have to perform the following steps:

2.1 Motion Estimation: At first, we divide current frame into non-overlapping 16x16 macro blocks. For each macroblock, find the best matching block in a reference frame. That is to say, motion estimation of a macroblock involves finding 16 x 16 blocks in the search area in a reference frame that closely matches the current macroblock. The reference frame is a previously-encoded frame from the sequence and may be before or after the current frame in display order. The search area in the reference frame is centered on the current macroblock position.

Abhay Suri, IJRIT

394

IJRIT International Journal of Research in Information Technology, Volume 2, Issue 4, April 2014, Pg: 394- 399

Fig.1 Motion Estimation

2.2 Motion Compensation: When the best matching block is found in the reference frame by motion estimation, we subtract the best matching block from the current macroblock to produce a residual macroblock. Within the encoder, the residual is encoded and decoded and added to the matching region to form a reconstructed macroblock which is stored as a reference for further motion-compensated prediction.

2.1.1 The Block Matching Algorithms Used for Motion Estimation for Video Compression are: (a) (b) (c) (d)

Exhaustive Search (ES) Three Step Search (TSS) New Three Step Search (NTSS) Simple and Efficient Search (SES)

(e) Four Step Search (4SS) (f) Diamond Search (DS) (g) Adaptive Rood Pattern Search (ARPS)

(a) Exhaustive Search (ES): This algorithm, also known as Full Search, is the most computationally expensive block matching algorithm of all. This algorithm calculates the cost function at each possible location in the search window. As a result of which it finds the best possible match and gives the highest PSNR amongst any block matching algorithm. Fast block matching algorithms try to achieve the same PSNR doing as little computation as possible. The obvious disadvantage to ES is that the larger the search window gets the more computations it requires. (b) Three Step Search (TSS): This is one of the earliest attempts at fast block matching algorithms and dates back to mid 1980s. It starts with the search location at the centre and sets the ‘step size’ S = 4, for a usual search parameter value of 7. It then searches at eight locations +/- S pixels around location (0, 0). From these nine locations searched so far it picks the one giving least cost and makes it the new search origin. It then sets the new step size S = S/2, and repeats similar search for two more iterations until S = 1. At that point it finds the location with the least cost function and the macro block at that location is the best match. The calculated motion vector is then saved for transmission. It gives a flat reduction in computation by a factor of 9. So that for p = 7, ES will compute cost for 225 macro blocks whereas TSS computes cost for 25 macro blocks. The idea behind TSS is that the error surface due to motion in every macro block is unimodal. A unimodal surface is a bowl shaped surface such that the weights generated by the cost function increase monotonically from the global minimum.

(c) New Three Step Search(NTSS): NTSS[10] improves on TSS results by providing a centre biased searching scheme and having provisions for half way stop to reduce computational cost. It was one of the first widely accepted fast algorithms and frequently used for implementing earlier standards like MPEG 1 and H.261. The TSS uses a uniformly allocated checking pattern for motion detection and is prone to missing small motions. The NTSS process is illustrated graphically. In the first step 16 points are checked in addition to the search origin for lowest weight using a cost function. Of these additional search locations, 8 are a distance of S = 4 away (similar to TSS) and the other 8 are at S = 1 away from the search origin. If the lowest cost is at the origin then the search is stopped right here and the motion vector is set as (0, 0). If the lowest weight is at any one of the 8 locations at S = 1, then we change the origin of the search to that point and check for weights adjacent to it. Depending on which point it is we might end up checking 5 points or 3 points. The location that gives the lowest weight is the closest match and motion vector is set to that location. On the other hand if the lowest weight after the first step was one of the 8 locations at S = 4, then we follow the normal TSS procedure. Hence although this process might need a minimum of 17 points to check every macro block, it also has the worst-case scenario of 33 locations to check.

Abhay Suri, IJRIT

395

IJRIT International Journal of Research in Information Technology, Volume 2, Issue 4, April 2014, Pg: 394- 399

Fig.2 New Three Step Search block matching

(d) Simple and Efficient Search (SES): SES[8] is another extension to TSS and exploits the assumption of unimodal error surface. The main idea behind the algorithm is that for a unimodal surface there cannot be two minimums in opposite directions and hence the 8 point fixed pattern search of TSS can be changed to incorporate this and save on computations. The algorithm still has three steps like TSS, but the innovation is that each step has further two phases. The search area is divided into four quadrants and the algorithm checks three locations A, B and C as shown in Figure Y. A is at the origin and B and C are S = 4 locations away from A in orthogonal directions. Depending on certain weight distribution amongst the three the second phase selects few additional points. The rules for determining a search quadrant for seconds phase are as follows: If MAD(A) ≥ MAD(B) and MAD(A) ≥ MAD(C), select (b); If MAD(A) ≥ MAD(B) and MAD(A) ≤ MAD(C), select (c); If MAD(A) < MAD(B) and MAD(A) < MAD(C), select (d); If MAD(A) < MAD(B) and MAD(A) ≥ MAD(C), select (e);

Fig.3 Simple and Efficient Search (e) Four Step Search (4SS): Similar to NTSS, 4SS[9] also employs centre biased searching and has a halfway stop provision. 4SS sets a fixed pattern size of S = 2 for the first step, no matter what the search parameter p value is. Thus it looks at 9 locations in a 5x5 window. If the least weight is found at the centre of search window the search jumps to fourth step. If the least weight is at one of the eight locations except the centre, then we make it the search origin and move to the second step. The search window is still maintained as 5x5 pixels wide. Depending on where the least weight location was, we might end up checking weights at 3 locations or 5 locations. The patterns are shown in. Once again if the least weight location is at the centre of the 5x5 search window we jump to fourth step or else we move on to third step. The third is exactly the same as the second step. IN the fourth step the window size is dropped to 3x3, i.e. S = 1. The location with the least weight is the best matching block and the motion vector is set to point o that location. A sample procedure is shown in figure.

Abhay Suri, IJRIT

396

IJRIT International Journal of Research in Information Technology, Volume 2, Issue 4, April 2014, Pg: 394- 399

Fig.4 The Four Step Search Procedure. The motion vector is (3, -7).

(f) Diamond Search (DS): DS[6] algorithm is exactly the same as 4SS, but the search point pattern is changed from a square to a diamond, and there is no limit on the number of steps that the algorithm can take.DS uses two different types of fixed patterns, one is Large Diamond Search Pattern (LDSP) and the other is Small Diamond Search Pattern (SDSP). These two patterns and the DS procedure are illustrated in. Just like in FSS, the first step uses LDSP and if the least weight is at the centre location we jump to fourth step. The consequent steps, except the last step, are also similar and use LDSP, but the number of points where cost function is checked are either 3 or 5 and are illustrated in second and third steps of procedure. The last step uses SDSP around the new search origin and the location with the least weight is the best match. As the search pattern is neither too small nor too big and the fact that there is no limit to the number of steps, this algorithm can find global minimum very accurately. The end result should see a PSNR close to that of ES while computational expense should be significantly less.

Fig.5 Diamond Search procedure

(g) Adaptive Rood Pattern Search: ARPS[5] algorithm makes use of the fact that the general motion in a frame is usually coherent, i.e. if the macro blocks around the current macro block moved in a particular direction then there is a high probability that the current macro block will also have a similar motion vector. This algorithm uses the motion vector of the macro block to its immediate left to predict its own motion vector. An example is shown in fig. The predicted motion vector points to (3, -2). In addition to checking the location pointed by the predicted motion vector, it also checks at a rood pattern distributed points, as shown in Fig , where they are at a step size of S = Max (|X|, |Y|). X and Y are the x-coordinate and y-coordinate of the predicted motion vector. This rood pattern search is always the first step. It directly puts the search in an area where there is a high probability of finding a good matching block. The point that has the least weight becomes the origin for subsequent search steps, and the search pattern is changed to SDSP. The procedure keeps on doing SDSP until least weighted point is found to be at the centre of the SDSP. A further small improvement in the algorithm can be to check for Zero Motion Prejudgment, using which the search is stopped half way if the least weighted point is already at the centre of the rood pattern.

Abhay Suri, IJRIT

397

IJRIT International Journal of Research in Information Technology, Volume 2, Issue 4, April 2014, Pg: 394- 399

Fig.6 Adaptive Root Pattern

3. Removal of spatial redundancy: In spatial redundancies reduction, the wavelet transform has been shown to give better results than the DCT based schemes. The wavelet based scheme not only eliminates the visual artifacts due to DCT coding, but also allows for a multi resolution approach. In other words, the bit stream can be partially decoded in order to reconstruct a low resolution image. The DWT has several advantages of multi-resolution analysis and sub band decomposition, which has been successfully used in image processing. The motion estimation and compensation directly applied on the coefficients resulting from the discrete wavelet transform, rather than on natural images. It will reduce the number of computations for the motion estimation.

Advantages of Block Based Motion Compensation: 1. It achieves good and robust performance for compression. 2. It is straightforward and computationally tractable. 3. It fits well with rectangular video frames and with block-based image transforms (e.g. DCT, HWT). 4. Every resulting motion vector is easy to represent by one MV per block, and it is also useful for compression. 5. The algorithm is simple, and easy for VLSI implementations.

4. Related Work P. Baglietto, M. Maresca, A. Migliaro and M. Migliardi.[11] on proposed an approach to the parallel implementation of the Full Search Block Matching Algorithm which is suitable for implementation on massively parallel architectures ranging from large scale SIMD computers to dedicated processor arrays realized in ASICs in video compression devices. . P W M Tsang and W T Lee [7] A novel motion compensation scheme is proposed in this paper. The adaptive searching technique that have been utilized in still image approximation is adopted in the proposed scheme to achieve high compression capability and low complexity. Shyi-Chyi Cheng.[4] proposed an object-based coding method for very low bit-rate channels, using a method based on motion estimation with a block-based moment-preserving edge detector. In most existing object-based coding methods, only the global motion components are transmitted. However, the global motion prediction error is large, even after motion compensation using the discrete cosine transform (DCT), when images contain rapid moving objects and noise. R. A. Manap, S. S. S. Ranjit, A. A. Basari and B. H. Ahmad [3] an algorithm called Hexagon-Diamond Search (HDS) is proposed for ME where the algorithm and several fast BMAs, namely Three Step Search (TSS), New Three Step Search (NTSS), Four Step Search (4SS) as well as Diamond Search (DS), are first selected to be implemented onto various type of standard test video sequence using MATLAB before their performances are compared and analyzed in terms of peak signal-to-noise ratio (PSNR), number of search points needed as well as their computational complexity. Zhengya Xu, Hong Ren Wu and Xinghuo Yu[2] A fast spatiotemporal statistical information based motion estimation technique is proposed in this paper. It uses the spatiotemporal correlation in the image sequence to detect and to estimate global motion, based which a block matching approach is applied for more accurate motion estimation.

Abhay Suri, IJRIT

398

IJRIT International Journal of Research in Information Technology, Volume 2, Issue 4, April 2014, Pg: 394- 399

Andrew D. Bagdanov, Marco Bertini[1] Alberto Del Bimbo, Lorenzo Seidenari proposed an algorithm to adaptive video coding for video surveillance applications. Using a combination of low-level features with low computational cost, we show how it is possible to control the quality of video compression so that semantically meaningful elements of the scene are encoded with higher fidelity, while background elements are allocated fewer bits in the transmitted representation. Our approach is based on adaptive smoothing of individual video frames so that image features highly correlated to semantically interesting objects are preserved. Using only low-level image features on individual frames, this adaptive smoothing can be seamlessly inserted into a video coding pipeline as a pre-processing state.

5. Conclusion This paper presents a survey of various types of video compression techniques in temporal and spatial domain. The block matching algorithms are most efficient and popular way of motion estimation. The motion estimation is the way of determining the motion of two or more frames of the video sequences. In this paper various block matching algorithms have been compared. In spatial domain or intra coding the DCT or wavelet approaches are implemented to remove the redundancies of the video sequences.

6. References [1] Bagdanov, Marco Bertini, Alberto Del Bimbo, Lorenzo Seidenari, “Adaptive Video Compression for Video Surveillance Applications”, IEEE, 2011. [2] ] Zhengya Xu, Hong Ren Wu and Xinghuo Yu, “Spatial and Temporal Statistical Information Based Motion Estimation”, IEEE 2010. [3] ] R. A. Manap, S. S. S. Ranjit, A. A. Basari and B. H. Ahmad “An Performance Analysis of HexagonDiamond Search Algorithm for Motion Estimation”, in 2nd International Conference on Computer Engineering and Technology, IEEE, Vol 3, 978-1-4244-6349-7 2010. [4] Shyi-Chyi Cheng, “Visual Pattern Matching in Motion Estimation for Object-Based Very Low Bit-Rate Coding Using Moment-Preserving Edge Detection”, IEEE, Transactions On Multimedia, Vol. 7, No. 2, April 2005. [5] Yao Nie, and Kai-Kuang Ma, “Adaptive Rood Pattern Search for Fast Block-Matching Motion Estimation”, IEEE Trans. Image Processing, vol 11, no. 12, pp. 1442-1448, December 2002. [6] Shan Zhu, and Kai-Kuang Ma, “ A New Diamond Search Algorithm for Fast Block-Matching Motion Estimation”, IEEE Trans. Image Processing, vol 9, no. 2, pp. 287-290, February 2000. [7] P W M Tsang and W T Lee, “Extremely Low Bit-Rate Video Image Prediction Using Adaptive Searching”, Image Processing And Its Applications, Conference Publication No. 465, IEEE 1999. [8] Sanjay Jianhua Lu, and Ming L. Liou, “A Simple and Efficent Search Algorithm for Block-Matching Motion Estimation”, IEEE Trans.Circuits And Systems For Video Technology, vol 7, no. 2, pp. 429-433, April 1997. [9] Jin Lai-Man Po, and Wing-Chung Ma, “A Novel Four-Step Search Algorithm for Fast Block Motion Estimation”, IEEE Trans. Circuits And Systems For Video Technology, vol 6, no. 3, pp. 313-317, June 1996. [10] Renxiang Li, Bing Zeng, and Ming L. Liou, “A New Three-Step Search Algorithm for Block Motion Estimation”, IEEE Trans. Circuits And Systems For Video Technology, vol. 4, no. 4, pp. 438-442, August 1994. [11] P. Baglietto, M. Maresca, A. Migliaro and M. Migliardi, “Parallel Implementation of the Full Search Block Matching Algorithm for Motion Estimation”, International Conference on Application-Specific Array Processors, IEEE 1063-6862, 1955.

Abhay Suri, IJRIT

399

A Review on A Review on Motion Estimation Motion ...

... RIEIT, Railmajra,. Punjab, India ..... (HDS) is proposed for ME where the algorithm and several fast BMAs, namely Three Step Search (TSS), New. Three Step ...

523KB Sizes 2 Downloads 270 Views

Recommend Documents

gaze direction estimation tool based on head motion ... - eurasip
The data acquisition system is a single digital camera. The main advantage of this solution is that iris position and head motion can be extracted from the same video data. Oth- er systems for gaze direction estimation usually use more sophisticated

gaze direction estimation tool based on head motion ... - eurasip
98, pp. 236-274, 2005. [2] B. Noureddin, P. Lawrence, C. Man – A Non Contact System for Tracking Gaze in a Human Computer Interface – Com- puter Vison ...

Gravitational Motion Review Workings.pdf
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. Gravitational ...

Tai Chi synthesizer: a motion synthesis framework based on key ...
presents a novel framework for synthesizing new motions based on given motion manuals .... exercise manuals, a graphical user interface based on ..... the table is considered as a node and two adjacent .... Lan C, Lai JS, Wong MK, Yu ML.Missing:

Modeling and Motion Planning for Mechanisms on a ...
inertial frame to the base frame (the platform) is represented as a “free motion” ...... International Conference on Robotics and Automation, vol. 4, pp. 3678–3683 ...

Circular Motion Review Workings.pdf
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. Circular Motion ...

A Computation Control Motion Estimation Method for ... - IEEE Xplore
Nov 5, 2010 - tion estimation (ME) adaptively under different computation or ... proposed method performs ME in a one-pass flow. Experimental.

A Fast Algorithm For Rate Optimized Motion Estimation
uous motion field reduces the bit rate for differentially encoded motion vectors. Our motion ... In [3], we propose a rate-optimized motion estimation based on a “true” motion tracker. ..... ftp://bonde.nta.no/pub/tmn/software/, June 1996. 477.

A Fast Algorithm For Rate Optimized Motion Estimation
Abstract. Motion estimation is known to be the main bottleneck in real-time encoding applications, and the search for an effective motion estimation algorithm has ...

A Review on Wireless Inductive Power for A Review on ... - IJRIT
To discuss the wireless inductive power system, a closer look at the system is .... winding width w the inductance for a ring coil inductor may vary slightly.

On-line Motion Style Transfer
their work on developing algorithms for editing the capture motion data, and syn- thesizing new .... analysis to obtain a style translation model between two motions. Style editing is also ..... Journal of graphics tools, 3(3):29–48, 1998. 21.

A Review on Wireless Inductive Power for A Review on ... - IJRIT
Wireless power provides convenience of charging mobile phones and devices. ... Since data communication has become wireless, users expect similar use ...

Age estimation of faces: a review - Dental Age Estimation
Feb 27, 2008 - The current paper reviews data on the ... service) on the basis of age. ... than the remainder of the face and a relatively small, pug-like nose and ..... For example, does wearing formal attire such as a business suit, associated with

Force, motion and energy review packet.pdf
Page 1 of 22. Page 2 of 22. Page 2 of 22. Page 3 of 22. Page 3 of 22. Main menu. Displaying Force, motion and energy review packet.pdf. Page 1 of 22.

Review on Review on Routing Tech Routing Tech ...
that particular ant agent is discarded from the network. ... concept of watchdog for every packet to detect the irregularities if any in the routes and the nodes.

Answers to Review for Motion and Newton.pdf
Answers to Review for Motion and Newton.pdf. Answers to Review for Motion and Newton.pdf. Open. Extract. Open with. Sign In. Main menu.

EFFECTS OF RIDE MOTION PERTURBATION ON THE ...
Automotive Research Center (ARC), a research partnership between the. University of ... me during these years, but I plan to spend the rest of my life trying. iv ... Chapter 4 - Study 2: Analysis of the effects of vibration frequency, magnitude, ....

Order on Facepunch Motion to Dismiss.pdf
which we'd sell on Steam, or the apple. appstore, or whatever, but once that game. makes what we've paid you so far back, you'd. get something like a 60% cut ...