Overview: motion estimation. Differential motion estimation

Similar documents
Overview: motion-compensated coding

Motion estimation for video compression

Displacement estimation

IN the early 1980 s, video compression made the leap from

Redundancy and Correlation: Temporal

Module 7 VIDEO CODING AND MOTION ESTIMATION

Decoded. Frame. Decoded. Frame. Warped. Frame. Warped. Frame. current frame

Multimedia Systems Video II (Video Coding) Mahdi Amiri April 2012 Sharif University of Technology

Efficient Method for Half-Pixel Block Motion Estimation Using Block Differentials

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

Rate Distortion Optimization in Video Compression

Using animation to motivate motion

Motion Estimation for Video Coding Standards

LONG-TERM MEMORY PREDICTION USING AFFINE MOTION COMPENSATION

Block Matching 11.1 NONOVERLAPPED, EQUALLY SPACED, FIXED SIZE, SMALL RECTANGULAR BLOCK MATCHING

An Improved H.26L Coder Using Lagrangian Coder Control. Summary

Model-Aided Coding: A New Approach to Incorporate Facial Animation into Motion-Compensated Video Coding

Dense Image-based Motion Estimation Algorithms & Optical Flow

Optical Flow Estimation with CUDA. Mikhail Smirnov

Video encoders have always been one of the resource

Wavelet-Based Video Compression Using Long-Term Memory Motion-Compensated Prediction and Context-Based Adaptive Arithmetic Coding

VIDEO COMPRESSION STANDARDS

BLOCK MATCHING-BASED MOTION COMPENSATION WITH ARBITRARY ACCURACY USING ADAPTIVE INTERPOLATION FILTERS

Comparative Study of Partial Closed-loop Versus Open-loop Motion Estimation for Coding of HDTV

Interframe coding A video scene captured as a sequence of frames can be efficiently coded by estimating and compensating for motion between frames pri

Coding of Coefficients of two-dimensional non-separable Adaptive Wiener Interpolation Filter

10.2 Video Compression with Motion Compensation 10.4 H H.263

Predictive Interpolation for Registration

Compression of Stereo Images using a Huffman-Zip Scheme

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

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

Local Image Registration: An Adaptive Filtering Framework

Chapter 10. Basic Video Compression Techniques Introduction to Video Compression 10.2 Video Compression with Motion Compensation

An Adaptive Cross Search Algorithm for Block Matching Motion Estimation

ELEC Dr Reji Mathew Electrical Engineering UNSW

MOTION COMPENSATION IN BLOCK DCT CODING BASED ON PERSPECTIVE WARPING

LIST OF TABLES. Table 5.1 Specification of mapping of idx to cij for zig-zag scan 46. Table 5.2 Macroblock types 46

Model-Aided Coding: A New Approach to Incorporate Facial Animation into Motion-Compensated Video Coding

The Scope of Picture and Video Coding Standardization

LECTURE VIII: BASIC VIDEO COMPRESSION TECHNIQUE DR. OUIEM BCHIR

Global Flow Estimation. Lecture 9

CAMED: Complexity Adaptive Motion Estimation & Mode Decision for H.264 Video

Global Flow Estimation. Lecture 9

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

Compression of Light Field Images using Projective 2-D Warping method and Block matching

1740 IEEE TRANSACTIONS ON IMAGE PROCESSING, VOL. 19, NO. 7, JULY /$ IEEE

Introduction to Video Compression

Matching. Compare region of image to region of image. Today, simplest kind of matching. Intensities similar.

A Comparative Study & Analysis of Image Restoration by Non Blind Technique

Xiaoqing Zhu, Sangeun Han and Bernd Girod Information Systems Laboratory Department of Electrical Engineering Stanford University

Toward Optimal Pixel Decimation Patterns for Block Matching in Motion Estimation

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

Enhanced Hexagon with Early Termination Algorithm for Motion estimation

Mesh Based Interpolative Coding (MBIC)

Distributed Video Coding

Efficient Block Based Motion Estimation

Lec 08 Video Signal Processing I

Leow Wee Kheng CS4243 Computer Vision and Pattern Recognition. Motion Tracking. CS4243 Motion Tracking 1

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

Fast Motion Estimation on Graphics Hardware for H.264 Video Encoding

Module 7 VIDEO CODING AND MOTION ESTIMATION

Final report on coding algorithms for mobile 3DTV. Gerhard Tech Karsten Müller Philipp Merkle Heribert Brust Lina Jin

Laboratoire d'informatique, de Robotique et de Microélectronique de Montpellier Montpellier Cedex 5 France

Improving Intra Pixel prediction for H.264 video coding

IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS FOR VIDEO TECHNOLOGY, VOL. 9, NO. 7, OCTOBER

IN RECENT years, multimedia application has become more

Mariya Zhariy. Uttendorf Introduction to Optical Flow. Mariya Zhariy. Introduction. Determining. Optical Flow. Results. Motivation Definition

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

Tunnelling-based Search Algorithm for Block-Matching Motion Estimation

The Lucas & Kanade Algorithm

Frequency Band Coding Mode Selection for Key Frames of Wyner-Ziv Video Coding

Digital Video Processing

Motion-Compensated Wavelet Video Coding Using Adaptive Mode Selection. Fan Zhai Thrasyvoulos N. Pappas

Reduced Frame Quantization in Video Coding

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

An Efficient Mode Selection Algorithm for H.264

Rate-distortion Optimized Streaming of Compressed Light Fields with Multiple Representations

ERROR-ROBUST INTER/INTRA MACROBLOCK MODE SELECTION USING ISOLATED REGIONS

CS 260: Seminar in Computer Science: Multimedia Networking

Introduction to Video Encoding

Compression of VQM Features for Low Bit-Rate Video Quality Monitoring

ADVANCED TECHNIQUES FOR HIGH FIDELITY VIDEO CODING. Qi Zhang

New Techniques for Improved Video Coding

11.2 MOTION ESTIMATION AND MOTION COMPENSATION

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

Motion. 1 Introduction. 2 Optical Flow. Sohaib A Khan. 2.1 Brightness Constancy Equation

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

An Optimized Template Matching Approach to Intra Coding in Video/Image Compression

IEEE TRANSACTIONS ON IMAGE PROCESSING, VOL. 6, NO. 11, NOVEMBER

Aiyar, Mani Laxman. Keywords: MPEG4, H.264, HEVC, HDTV, DVB, FIR.

University of Florida CISE department Gator Engineering. Clustering Part 5

This blog addresses the question: how do we determine the intersection of two circles in the Cartesian plane?

Rate-distortion Optimized Streaming of Compressed Light Fields with Multiple Representations

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

Digital Image Stabilization and Its Integration with Video Encoder

Fast Block-Matching Motion Estimation Using Modified Diamond Search Algorithm

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

Restricted Affine Motion Compensation in Video Coding using Particle Filtering

A Low Bit-Rate Video Codec Based on Two-Dimensional Mesh Motion Compensation with Adaptive Interpolation

EECS 556 Image Processing W 09

Transcription:

Overview: motion estimation Differential methods Fast algorithms for Sub-pel accuracy Rate-constrained motion estimation Bernd Girod: EE368b Image Video Compression Motion Estimation no. 1 Differential motion estimation Assume small displacements : FD(x, y) (d x,d y ) S(x, y) d x x S(x, y) d y y frame-to-frame difference horizontal, vertical gradient of image signal S Aperture problem: 1 equation, but unknowns per pixel. At least (in practice: several) coupled observations required. Linearization inaccurate for displacements > 0.5 pel multigrid methods, iteration Bernd Girod: EE368b Image Video Compression Motion Estimation no. 1

Principle of search range in previous frame S k 1 Subdivide every image into square s. Find one displacement vector for each. Within a search range, find a best match that minimizes an error measure. Intelligent search strategies can reduce computation. of current frame S k Bernd Girod: EE368b Image Video Compression Motion Estimation no. 3 : error measure Mean squared error (sum of squared errors) SSE(d x, d y ) = S k (x, y) S k 1 (x + d x, y + d y ) Sum of absolute differences [ ] SAD(d x, d y ) = S k (x, y) S k 1 (x + d x, y + d y ) Approximately same performance SAD less complex for some architectures Bernd Girod: EE368b Image Video Compression Motion Estimation no. 4

: search strategies I Full search All possible displacements within the search range are compared. Computationally expensive Highly regular, parallelizable d y d x Bernd Girod: EE368b Image Video Compression Motion Estimation no. 5 : search strategies II D logarithmic search (Jain + Jain, 1981) Iterative comparison of error measure values at 5 neighboring points Logarithmic refinement of the search pattern if best match is in the center of the 5- point pattern center of search pattern touches the border of the search range 3 5 4 5 5 5 5 3 3 d y 4 d x Bernd Girod: EE368b Image Video Compression Motion Estimation no. 6 3

: search strategies III Computational complexity Example: max. horizontal, vertical displacement = 6, integer-pel accuracy: comparisons a b D logarithmic full search 18 169 1 169 a - for special vector (,6) b - worst case Bernd Girod: EE368b Image Video Compression Motion Estimation no. 7 comparison speed-ups Triangle inequalities for SAD SSE Strategy: S k S k 1 S k S k 1 = S k S k 1 S k S k 1 1 N Compute partial sums for s in current previous frame Compare s based on partial sums Omit full comparison, if partial sums indicate worse error measure than previous best result Performance: > 0x speed-up of full search reported by employing (Lin + Tai, IEEE Tr. Commun., May 97) Sum over 16x16 Row wise projection Column wise projection S k S k 1 number of terms in sum Bernd Girod: EE368b Image Video Compression Motion Estimation no. 8 = 1 N S k S k 1 4

Hierarchical Displacement vector field current frame previous frame Bernd Girod: EE368b Image Video Compression Motion Estimation no. 9 Sub-pel accuracy Displacement vector field with sub-pel accuracy Displacement vector field with integer-pel accuracy Interpolation current frame previous frame Bernd Girod: EE368b Image Video Compression Motion Estimation no. 10 5

Rate-constrained motion estimation I motion vector D rate R m bit-rate R prediction error rate R e displacement error variance optimum trade-off: D R m = D R e Bernd Girod: EE368b Image Video Compression Motion Estimation no. 11 Rate-constrained motion estimation II How to find best motion vector subject to rate constraint? Lagrangian cost function: solve unconstrained problem rather than constrained problem min( D + λr m ) error measure motion vector rate Interpret motion search as ECVQ problem. Bernd Girod: EE368b Image Video Compression Motion Estimation no. 1 6

Rate-constrained Motion Estimation in H.63 Reference Model TMN-10 40 0 PSNR [db] 38 36 34 3 30 8 w/ rate-constrained motion estimation w/o rate-constrained motion estimation (TMN-9) Partial bit-rate [kbps] 15 10 5 w/ rate-constrained motion estimation w/o rate-constrained motion estimation (TMN-9) 6 0 50 100 150 00 Bit Rate [kbps] 0 0 50 100 150 00 Bit Rate [kbps] Simulation details: Foreman, QCIF, SKIP= Q=4,5,7,10,15,5 Annexes D+F Bernd Girod: EE368b Image Video Compression Motion Estimation no. 13 Summary: motion estimation Differential methods calculate displacement from spatial temporal differences in the image signal. Aperture problem: measurement window required. Differential methods require several iterations. computes error measure for cidate displacements finds best match. Speed up by search methods by clever application of triangle inequality. Hierarchical employs resolution pyramid. with sub-pel accuracy by interpolation of the image signal. Rate-constrained motion estimation using Lagrangian cost function. Bernd Girod: EE368b Image Video Compression Motion Estimation no. 14 7