Module 05 Motion Analysis / Overview. Advanced Video Analysis and Imaging (5LSH0), Module 05. Motion Applications / Video Coding (1)
|
|
- Janel Williamson
- 6 years ago
- Views:
Transcription
1 1 Module 05 Motion Analysis / Overview 2 Advanced Video Analysis and Imaging (5LSH0), Module 05 Visual Feature Extraction II: Motion Analysis Peter H.N. de With and Dirk Farin ( p.h.n.de.with@tue.nl ) A. Applications and understanding Example applications What is motion? B. Block-based motion estimation as used in MPEG-1/2 and H.264 video coding C. Parametric motion: from affine motion to 3-D projection as used in MPEG-4 sprite coding (background object) Introduction to elementary geometrical transforms. Mod 05 Feature Extraction II: Motion Analysis A. Example Applications and Understanding of Motion 3 Motion Applications / Video Coding (1) High correlation between temporally successive frames. Use motion-compensation to align same image content. Copy image content from previous images into current image to get a prediction image. Code residual image (difference between prediction and current image). 4 1
2 Motion Applications / Video Coding (2) 5 Motion Applicat s / Image registration (1) 6 Residual images without and with motion compensation Remember hybrid coding architecture from 5LSE0! Two images are captured from the same object at different times (e.g., satellite crossing the same area). Changes between images should be identified (changes are visible in residual image). input frame difference to last frame motion-compensated difference to last frame Images must be geometrically aligned. Motion Applicat s / Image registration (2) Medical application, e.g., display the position of blood vessels. Two X-ray images are taken: 1 background image, 1 image after injection of contrast fluid. Difference image shows only blood vessels. Key: the two images have to be aligned since the patient will move. 7 Motion Applic s / Motion segmentation (1) Main problem of segmentation problem is that computer has no semantic understanding. Which areas belong together? [replace with video] 8 2
3 Motion Applic s / Motion segmentation (2) 9 Motion Appl. s / Structure from Motion (1) Estimate the 3-D structure of objects from their motion 10 [FLOWERGARDEN VIDEO] J. Wang and E. Adelson, Representing Moving Images with Layers, IEEE Trans. Image Proc., Vol 3, No. 5, pp , Sep Marc Pollefeys Motion Applicat s / Image morphing (1) 11 Motion Applicat s / Image morphing (2) 12 sequence 1 sequence 2 [BLACK and WHITE video] 3
4 Motion Applicat s / Image morphing (3) sequence 1 13 Motion Applicat s / Image morphing (4) User defines manually important features in the images. Computer interpolates smoothly between these positions. 14 sequence 2 T. Beier: Feature-Based Image Metamorphosis. Computer Graphics (SIGGRAPH), Vol. 26, No. 2, July 1992 Mod 05 Feature Extraction II: Motion Analysis 15 Understanding motion / Motion types 16 Object motion vs. Apparent motion Object motion: real motion, not always visible in the image (rotating sphere). Motion Understanding and Description Apparent motion: observed motion, not always corresponding to real object motion (specular light reflections) Whenever we say motion, we mean apparent motion. Key: we only have the image/video available, not the truth! 4
5 Understanding / Motion field definition (1) Motion field describes movement of a position (x,y) in a first image to a position (x',y')=m(x,y) in a second image 17 Understanding / Motion field definition (2) Each parameterization for m(x,y) can represent a subclass of motions out of all possible motion-fields 18 Properties of motion-models: invertible How should the function m(x,y) be defined? composable Motion Description (1) / Dense motion (pixel-based) Define m(x,y) as a look-up table. Motion of every pixel recorded independently. good for analysis non-rigid motion (e.g., fluids) not good for video coding since coding of the motion-field is expensive Composable (ignoring discretization issues), but generally not invertible. Estimation with optical flow algorithms. B. Horn and B. Schunck: Determining Optical Flow. Artificial Intelligence, Vol. 17, pages , Motion Description (2) / Parametric motion Describe motion field with a small number of parameters. motion induced by camera movement rigid object motion Affine: Quadratic: Projective: Invertibility and composability depend on model. Projective motion will be discussed elsewhere. 20 5
6 Motion Description (3) / Parametric motion Translatorial motion: Scaling only: Rotation only: All together: Affine: Invertible (if {a ij } nonsingular) and composable. 21 Mot. Description (4) / Block-based motion Pixel-based flow fields are complex Parametric motion can only describe a limited set of motions. Subdivide image into blocks and describe motion of each block independently. Use simple motion-model for each block (e.g. translation). Compromise between ability to describe general motion-fields, efficiency to code motion Easy motion estimation. Used in MPEG video coding Motion Description (5) / Mesh-based motion Subdivide image with mesh (e.g., triangular faces). define motion of control points motion within face is interpolated from motion of control points Supports concept of general motion-fields Efficient to code motion information Invertible, (but not easily composable) Problem of Motion Estimation Basic assumption: brightness constancy constraint brightness of corresponding pixels in images I t and I t+1 are equal. Find motion parameters θ that minimize energy in motioncompensated residual image: Number of parameters depends on motion model Can be simple: translation of subimage with 2 parameters only Can be complex: pixel-based motion with 2 parameters per pixel! 24 6
7 Motion Estimation / Measurement Problems Aperture problem How far in neighborhood? 25 Mod 05 Feature Extraction II: Motion Analysis 26 Repetitive patterns To which location? B. Block-based Motion Occlusions Motion of covered/uncovered areas? Block-Based Motion / Principle Partition image into small blocks B (e.g., 16x16) Each block is moved with a simple translation. Translation of a block is specified with motion vector (dx,dy). 27 Block-based motion / Description vector 1 Subdivide image into regular blocks. Search matching block in previous frame. 28 Common misunderstanding: Motion-vector defines where a block in the predicted frame comes from, not where it will move! (Important since it is not invertible.) Block-based motion is not invertible and not composable. 7
8 Block-based motion / Description vector 2 Complex motion is approximated 29 Block-Based Motion / Examples (1) Panning motion 30 reference frame prediction frame Notice zero-vectors in homogeneous areas Block-Based Motion / Examples (2) Fast motion, displacement larger than search-range. 31 Block-Based Motion / Estimation Principle Since blocks get independent parameters, they can also be estimated independently. Find (dx,dy) by minimizing the residual image energy (Mean Square Error): 32 or the Sum of Absolute Differences: Notice vectors along line 8
9 Estimation Error forms Surface 33 Block-based motion Algorithm 1: Full Search (FS) 34 Define a search window Compute E(dx,dy) for every possible dx,dy. Select dx,dy that gives minimum E(dx,dy). Finds optimal solution (not necessarily true motion). Computation intensive! Block-Based Motion / Comparison of FS Results 35 Block-Based Motion / Distribution of Motion-Vectors 36 full search foreman sequence stefan sequence 9
10 Block-based motion Algorithm 2 (1) One-Dimensional Full Search (1DFS) Idea: most motion is pure horizontal or vertical. 37 Block-based motion Algorithm 2 (2) One-Dimensional Full Search (1DFS) 38 Step 1: search pure horizontal motion. Step 2: search pure vertical motion (from best hor. motion). Step 3 & 4: repeat first two steps with half search range from new position. Block-based motion Algorithm 2 (3) One-Dimensional Full Search (1DFS) 39 Block-based motion Algorithm 2 (4) One-Dimensional Full Search (1DFS) 40 Algorithm can also be understood as iterative optimization over an alternating subset of the parameters. Works best if error E is decomposable as E(dx,dy)=f(dx)*g(dy) ( f and g unknown of course) Error isolines: Since searching for x,y together is too complex, hence: keep y fixed, search x, then keep x fixed, search y,... fast convergence case slow convergence case 10
11 Block-Based Motion / Comparison of FS and 1DFS Results 41 Block-based motion Algorithm 3 (1) Gradient Descent (GD) 42 Idea: error function is smooth. Explore neighborhood around current position. Proceed into direction of decreasing error. full search 1-D full search Block-based motion Algorithm 3 (2) Gradient descent (GD) Start at (0,0), compute E in 3x3 neighborhood. 43 Block-based motion Algorithm 3 (3) Gradient descent (GD) 44 If minimum E is in the center, a local minimum has been found => end the search, else: take new minimum as new search center and iterate. Fast for small motions Gets trapped in local minima (especially in textured regions) 11
12 Block-Based Motion / Comparison of FS and GD Results 45 Block-based motion Algorithm 4: Three Step Search (TSS) 46 Idea: error function is smooth. Search on a coarse scale first and then refine to higher accuracy. full search gradient descent Step 1 Step 2 Step 3 Block-Based Motion Comparison of FS and TSS Results 47 Block-based motion Algorithm 5: Predictive Search (1) 48 Idea: motion of neighboring blocks is similar. full search three-step search Start search not at (0,0), but at a vector position computed from the prediction vectors. Often, a median vector is computed: 12
13 Block-based motion Algorithm 5: Predictive Search (2) Predictor lock problem: Along motion discontinuities, the prediction is wrong (e.g., between foreground/background regions). Additionally to prediction vector, also test zero-vector. 49 Block-based motion Algorithm 6 (practical): MVfast - (1) Idea: combination of several techniques. Classify the motion-type depending on previously computed vectors into three classes (low, medium, large). Compute maximum magnitude M of the prediction vectors. Classify according to => low => medium => large and use a different estimation algorithm for each class. 50 Block-based motion Algorithm 6 (practical): MVfast - (2) 51 Block-based motion Algorithm 6 (practical): MVfast - (3) 52 For the area at: Low motion speed Medium motion speed start search at (0,0) and carry out gradient-descent seach with small diamond pattern Start GD search at (0,0), but use large diamond pattern. Search pattern GD-step to the left best match in corner => proceed best match at edge => proceed best match in center => refine and stop 13
14 Block-based motion Algorithm 6 (practical): MVfast - (4) Large motion speed Also use large diamond pattern. Start GD search at median prediction vector position. 53 Block-based motion Algorithm 7: Successive Elimination Search (1) Idea: establish lower bound on the SAD error. Do not test positions that cannot have a lower error. We start with the triangle inequality: Setting gives or 54 f() first image g() second image x,y coordinate in first image x',y' corresponding position in second image Block-based motion Algorithm 7: Successive Elimination Search (2) 55 Block-based motion Algorithm 7: Successive Elimination Search (3) 56 This gives a lower bound for the SAD error Sum over blocks can be computed efficiently by first computing cumulative sums With being the best match so far, we do not have to compute the SAD if Now compute sum over arbitrary area simply as mean value over f mean value over g 14
15 Block-based motion Algorithm 7: Successive Elimination Search (4) 57 Block-based motion Algorithm 7: Successive Elimination Search (5) 58 Cumulative sums can be computed efficiently with an iterative summation scheme Pass 1: A tighter bound leads to more exclusions. Better bound by subdividing block into smaller blocks. Pass 2: More subdivisions lead to tighter bound, but increase the complexity for the exclusion test. Optimum for 16x16 blocks are 4 sub-blocks. Block-based motion Algorithm 7: Successive Elimination Search (6) SAD Computation can be stopped when it exceeds 59 Block-based motion Algorithm 7: Successive Elimination Search (7) Let us denote our error approximation as 60 No large gain if naive summation is used. Better: start with difference of block means and successively approximate the block SAD. The difference between the SAD (E) and our approximation e is (for e<0, the case e>0 is similar): Hence, we can successively approximate the SAD: 15
16 Block-based motion Algorithm 7: Successive Elimination Search (8) Preferred search order. Start with vector that probably gives good SAD bound. 61 Summary of block-based ME algorithms Full-Search: enumeration of all parameter values. 1D-FS: alternate the (x, y) parameters to search. Gradient-Descent: assumes smooth error function without local minima. Three-step-search: search from coarse to fine sampling. Predictive: use context information to start with a better approximation. MVFast: classify the expected problem and use an adapted search algorithm for each class. Successive elimination: exclude parts of search space. 62 Block-Based Motion: Comparison of Results 63 Block-based motion Extensions: sub-pel accuracy (1) 64 full search three-step search 1-D full search gradient descent Object motion is not always a multiple of integer shifts. More accurate motion-estimation requires sub-pixel resolution. MPEG-1/2: half-pel Pixel value at half-pel positions obtained with bi-linear interpolation. MPEG-4 / H.264: quarter pel Half-pel positions using a 8-tap interpolation filter. Quarter-pel position using bi-linear interpolation from half-pel positions. 16
17 Block-based motion Extensions: sub-pel accuracy (2) Error at sub-pel positions is generally lower, as the image is smoothed and noise is filtered Hence, first search on full-pel resolution and then add a half-pel refinement step. 65 Block-based motion Extensions: multiple references (1) Compute motion-vector to several frames and combine the predictions. 66 Block-based motion - Extensions: multiple references vs. accuracy (2) What is better: multiple ref ces (N) or increase accuracy? 67 Block-based motion - Extensions: Variable block size (H.264) Fixed block-size does not adapt to image content. If two objects are visible in one block, their motion cannot be represented with just one motion vector. 68 B. Girod: Why B-Pictures Work: A Theory of Multi-Hypothesis Motion- Compensated Prediction. Int. Conf. on Image Proc., Oct H.264 block sub-divisions 17
18 Block-b. motion / Concluding Remarks Block-motion is a simple approach, but still the most frequently-used technique for video-coding (even for wavelet coders). can approximate any motion easy estimation Block motion can also be used as first step to estimate parametric motion from these vectors. The presented estimation principles can be reused for many other tasks than motion estimation. Parametric Motion Estim. approaches real motion better. 69 Mod 05 Feature Extraction II: Motion Analysis C. Parametric Motion: from affine motion to 3D 70 Parametric Motion / Motivation 71 Parametric motion / System aspects 72 MPEG-4 camera motion compensation. Motion in the image is usually composed of camera motion, rigid object motion, and non-rigid object motion. Camera motion model required to build background sprite. [ insert MPEG-4 stefan sequence 2 ] The camera and rigid objects cannot move arbitrarily. Their motion can be described with some parameters derived from the geometrical setup. We will describe the observed image motion in terms of the 3-D object motion (we do not know what happened..). 18
19 Affine 2D Coordinate Transform (1) 73 Affine 2D Coordinate Transform (2) 74 Express coordinate frame (x,y) in coordinate frame (x',y'). In motion estimation: (x,y) could be the coordinate in the last frame, and (x',y') the corresponding coordinate in the current frame. Special (simple) case 1: translation only A is identity matrix I Affine 2D Coordinate Transform (3) 75 Affine 2D Coordinate Transform (4) 76 Special case 2: scaling only Special case 3: rotation only scaling in x direction scaling in y direction constraint 1: size stays constant constraint 2: coordinate axes are perpendicular Isotropic scaling (rigid motion) A is an orthonormal matrix (rotation matrix R) 19
20 Affine 2D Coordinate Transform (5) 77 Affine 2D Coordinate Transform (6) 78 Rotation matrix for rotation by an angle α Image skew (horizontal) rotation by -α Affine 2D Coordinate Transform (7) 79 Affine 2D Coordinate Transform (8) 80 Concatenation of transforms Computing the inverse of gives gives (the mathematical trick will make this much easier, too) Inverse is possible if A is nonsingular. (Shortly we will introduce a trick to make this much easier) Set of nonsingular affine transforms constitutes a group. 20
21 Affine 2D Coordinate Transform (9) 81 Affine 2D Coordinate Transform (10) 82 Here the trick: augment each point-coordinate with a dummy '1': Concatenation is now very easy (A i are 3x3 matrices) Now, write affine transform as simple matrix multiplication: And the inverse transform is simply the 3x3 matrix inverse. This useful trick will reappear later... Affine 2D Coordinate Transform Example: Transform Sequence (1) What is the transformation between these two images? 83 Affine 2D Coordinate Transform Example: Transform Sequence (2) Break the transformation into sequence of elementary steps. 84 shift to origin rotate shift back 21
22 Affine 2D Coordinate Transform Example: Transform Sequence (3) 85 Affine 3D Coordinate Transform (1) 86 Successive steps: Straight-forward extension to affine 3-D motion Combined transform: Multiplied together: Affine transform / Rotation in 3D Space (1) Elementary rotation matrices: around z-axis around y-axis around x-axis 87 Affine transform / Rotation in 3D Space (2) Euler's rotation theorem: Every 3D rotation can be decomposed into a sequence of three rotations around predefined axes. 88 For example, choose rotation sequence Note: points on rotation axis do not move. The inverse is the transpose: First rotate around z-axis, then x-axis, and finally y-axis. We can describe all 3D rotations by three angles α,β,γ. Rotations are NOT commutative! 22
23 Affine transform / Rotation in 3D Space (3) Inverse of a general 3-D rotation R Decompose R into a sequence of elementary transforms. It follows that 89 Affine transform / Rotation in 3D Space (4) illustration of the rotation sequence 90 and Consequently, the inverse of R is R is orthonormal and Affine transform / Rotation in 3D Space (5) Gimbal lock position. For α=90 degrees, the y and z axes align! Rotation around y can be canceled by rotation around z. Specifying rotation with Euler angles is not unique! 90 degrees same effect 91 3D to 2D Perspective Projection (1) Projection of a 3-D point onto a 2-D image plane simplified pin-hole camera model pin-hole is optical center of the camera for mathematical simplicity (less minus signs), image is in front of pin-hole instead of behind -- focal length f is distance of image plane to optical center 92 23
24 3D to 2D Perspective Projection (2) 93 3D to 2D Perspective Projection (3) 94 Projection of a 3-D point onto a 2-D image plane the intercept theorem gives Problem: projection is a non-linear operation, complicating the mathematical formulation. all points on the ray from the origin to p are Solution: do not use Euclidean geometry. projected to p' References (Block-Matching) 95 References (other) 96 J. Mitchell, W. Pennebaker. MPEG Video Compession Standard, Chapter 13: Motion Estimation. Kluwer. TSS: T. Koga, K. Iinuma, A. Hirano, Y. Iijima, and T. Ishiguro, Motion-compensated interframe coding for video conferencing. Proc. NTC 81, pp. C , Dec TSS: R. Li, B. Zeng, M. Liou. A New Three-Step Search Algorithm for Block Motion Estimation. IEEE Trans. Circuits Systems Video Technology, Vol. 4, No. 4, Aug GS: L. Liu, E. Feig: A Block-Based Gradient Descent Search Algorithm for Block Motion Estimation in Video Coding, IEEE Trans. Circ. Sys. Video Techn., Vol. 6, No. 4, DFS: M. Chen, L. Chen, T. Chiueh: One-Dimensional Full Search Motion Estimation Algorithm For Video Coding, IEEE Trans. CSVT, Vol. 4, No. 5, Oct SEA: M. Brünig, B. Menser: Fast Full Search Block Matching using Subblocks and Successive Approximation of the Error Measure. SPIE Image and Video Comm. & Proc., Vol. 3974, pp , PMVFAST: A. Tourapis. O. Au, M. Liou: Predictive Motion Vector Field Adaptive Search Technique (PMVFAST) Enhancing Block Based Motion Estimation, SPIE VCIP, Vol. 4210, pp , C. Stiller, J. Konrad. Estimating Motion In Image Sequences: a tutorial on modeling and computation of 2D motion. IEEE Signal. Proc. Magazine, Vol. 16, pp , July B. Horn and B. Schunck: Determining Optical Flow. Artificial Intelligence, Vol. 17, pp , 1981 B. Girod: Why B-Pictures Work: A Theory of Multi-Hypothesis Motion-Compensated Prediction. Int. Conf. on Image Proc., Oct J. Wang and E. Adelson: Representing Moving Images with Layers. IEEE Trans. on Image Processing, Vol. 3, No. 5, pp , Sep T. Beier: Feature-Based Image Metamorphosis. Computer Graphics (SIGGRAPH), Vol. 26, No. 2, July
Motion estimation for video compression
Motion estimation for video compression Blockmatching Search strategies for block matching Block comparison speedups Hierarchical blockmatching Sub-pixel accuracy Motion estimation no. 1 Block-matching
More informationDisplacement estimation
Displacement estimation Displacement estimation by block matching" l Search strategies" l Subpixel estimation" Gradient-based displacement estimation ( optical flow )" l Lukas-Kanade" l Multi-scale coarse-to-fine"
More informationModule 7 VIDEO CODING AND MOTION ESTIMATION
Module 7 VIDEO CODING AND MOTION ESTIMATION Lesson 22 Other fast search motion estimation algorithms At the end of this lesson, the students should be able to: 1. Provide an overview of the following fast
More informationIN RECENT years, multimedia application has become more
578 IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS FOR VIDEO TECHNOLOGY, VOL. 17, NO. 5, MAY 2007 A Fast Algorithm and Its VLSI Architecture for Fractional Motion Estimation for H.264/MPEG-4 AVC Video Coding
More informationChapter 3 Image Registration. Chapter 3 Image Registration
Chapter 3 Image Registration Distributed Algorithms for Introduction (1) Definition: Image Registration Input: 2 images of the same scene but taken from different perspectives Goal: Identify transformation
More informationOptic Flow and Basics Towards Horn-Schunck 1
Optic Flow and Basics Towards Horn-Schunck 1 Lecture 7 See Section 4.1 and Beginning of 4.2 in Reinhard Klette: Concise Computer Vision Springer-Verlag, London, 2014 1 See last slide for copyright information.
More informationAn Adaptive Cross Search Algorithm for Block Matching Motion Estimation
An Adaptive Cross Search Algorithm for Block Matching Motion Estimation Jiancong Luo', Ishfaq Ahmad' and Xzhang Luo' 1 Department of Computer Science and Engineering, University of Texas at Arlington,
More informationFeature Tracking and Optical Flow
Feature Tracking and Optical Flow Prof. D. Stricker Doz. G. Bleser Many slides adapted from James Hays, Derek Hoeim, Lana Lazebnik, Silvio Saverse, who 1 in turn adapted slides from Steve Seitz, Rick Szeliski,
More informationCOMPUTER VISION > OPTICAL FLOW UTRECHT UNIVERSITY RONALD POPPE
COMPUTER VISION 2017-2018 > OPTICAL FLOW UTRECHT UNIVERSITY RONALD POPPE OUTLINE Optical flow Lucas-Kanade Horn-Schunck Applications of optical flow Optical flow tracking Histograms of oriented flow Assignment
More informationLecture 16: Computer Vision
CS4442/9542b: Artificial Intelligence II Prof. Olga Veksler Lecture 16: Computer Vision Motion Slides are from Steve Seitz (UW), David Jacobs (UMD) Outline Motion Estimation Motion Field Optical Flow Field
More informationLecture 16: Computer Vision
CS442/542b: Artificial ntelligence Prof. Olga Veksler Lecture 16: Computer Vision Motion Slides are from Steve Seitz (UW), David Jacobs (UMD) Outline Motion Estimation Motion Field Optical Flow Field Methods
More informationFeature Tracking and Optical Flow
Feature Tracking and Optical Flow Prof. D. Stricker Doz. G. Bleser Many slides adapted from James Hays, Derek Hoeim, Lana Lazebnik, Silvio Saverse, who in turn adapted slides from Steve Seitz, Rick Szeliski,
More informationMotion. 1 Introduction. 2 Optical Flow. Sohaib A Khan. 2.1 Brightness Constancy Equation
Motion Sohaib A Khan 1 Introduction So far, we have dealing with single images of a static scene taken by a fixed camera. Here we will deal with sequence of images taken at different time intervals. Motion
More informationVisual Recognition: Image Formation
Visual Recognition: Image Formation Raquel Urtasun TTI Chicago Jan 5, 2012 Raquel Urtasun (TTI-C) Visual Recognition Jan 5, 2012 1 / 61 Today s lecture... Fundamentals of image formation You should know
More informationRedundancy and Correlation: Temporal
Redundancy and Correlation: Temporal Mother and Daughter CIF 352 x 288 Frame 60 Frame 61 Time Copyright 2007 by Lina J. Karam 1 Motion Estimation and Compensation Video is a sequence of frames (images)
More informationEE795: Computer Vision and Intelligent Systems
EE795: Computer Vision and Intelligent Systems Spring 2012 TTh 17:30-18:45 FDH 204 Lecture 14 130307 http://www.ee.unlv.edu/~b1morris/ecg795/ 2 Outline Review Stereo Dense Motion Estimation Translational
More information2D rendering takes a photo of the 2D scene with a virtual camera that selects an axis aligned rectangle from the scene. The photograph is placed into
2D rendering takes a photo of the 2D scene with a virtual camera that selects an axis aligned rectangle from the scene. The photograph is placed into the viewport of the current application window. A pixel
More informationMotion Estimation. There are three main types (or applications) of motion estimation:
Members: D91922016 朱威達 R93922010 林聖凱 R93922044 謝俊瑋 Motion Estimation There are three main types (or applications) of motion estimation: Parametric motion (image alignment) The main idea of parametric motion
More informationDense Image-based Motion Estimation Algorithms & Optical Flow
Dense mage-based Motion Estimation Algorithms & Optical Flow Video A video is a sequence of frames captured at different times The video data is a function of v time (t) v space (x,y) ntroduction to motion
More informationEECS 556 Image Processing W 09
EECS 556 Image Processing W 09 Motion estimation Global vs. Local Motion Block Motion Estimation Optical Flow Estimation (normal equation) Man slides of this lecture are courtes of prof Milanfar (UCSC)
More informationMotion Estimation for Video Coding Standards
Motion Estimation for Video Coding Standards Prof. Ja-Ling Wu Department of Computer Science and Information Engineering National Taiwan University Introduction of Motion Estimation The goal of video compression
More informationMatching. Compare region of image to region of image. Today, simplest kind of matching. Intensities similar.
Matching Compare region of image to region of image. We talked about this for stereo. Important for motion. Epipolar constraint unknown. But motion small. Recognition Find object in image. Recognize object.
More information5LSH0 Advanced Topics Video & Analysis
1 Multiview 3D video / Outline 2 Advanced Topics Multimedia Video (5LSH0), Module 02 3D Geometry, 3D Multiview Video Coding & Rendering Peter H.N. de With, Sveta Zinger & Y. Morvan ( p.h.n.de.with@tue.nl
More informationIndex. 3D reconstruction, point algorithm, point algorithm, point algorithm, point algorithm, 263
Index 3D reconstruction, 125 5+1-point algorithm, 284 5-point algorithm, 270 7-point algorithm, 265 8-point algorithm, 263 affine point, 45 affine transformation, 57 affine transformation group, 57 affine
More informationIndex. 3D reconstruction, point algorithm, point algorithm, point algorithm, point algorithm, 253
Index 3D reconstruction, 123 5+1-point algorithm, 274 5-point algorithm, 260 7-point algorithm, 255 8-point algorithm, 253 affine point, 43 affine transformation, 55 affine transformation group, 55 affine
More informationFast Motion Estimation for Shape Coding in MPEG-4
358 IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS FOR VIDEO TECHNOLOGY, VOL. 13, NO. 4, APRIL 2003 Fast Motion Estimation for Shape Coding in MPEG-4 Donghoon Yu, Sung Kyu Jang, and Jong Beom Ra Abstract Effective
More informationVisual Tracking (1) Feature Point Tracking and Block Matching
Intelligent Control Systems Visual Tracking (1) Feature Point Tracking and Block Matching Shingo Kagami Graduate School of Information Sciences, Tohoku University swk(at)ic.is.tohoku.ac.jp http://www.ic.is.tohoku.ac.jp/ja/swk/
More informationVisual Tracking (1) Tracking of Feature Points and Planar Rigid Objects
Intelligent Control Systems Visual Tracking (1) Tracking of Feature Points and Planar Rigid Objects Shingo Kagami Graduate School of Information Sciences, Tohoku University swk(at)ic.is.tohoku.ac.jp http://www.ic.is.tohoku.ac.jp/ja/swk/
More informationRange Imaging Through Triangulation. Range Imaging Through Triangulation. Range Imaging Through Triangulation. Range Imaging Through Triangulation
Obviously, this is a very slow process and not suitable for dynamic scenes. To speed things up, we can use a laser that projects a vertical line of light onto the scene. This laser rotates around its vertical
More informationEfficient Block Matching Algorithm for Motion Estimation
Efficient Block Matching Algorithm for Motion Estimation Zong Chen International Science Inde Computer and Information Engineering waset.org/publication/1581 Abstract Motion estimation is a key problem
More informationGeometric Transformations
Geometric Transformations CS 4620 Lecture 9 2017 Steve Marschner 1 A little quick math background Notation for sets, functions, mappings Linear and affine transformations Matrices Matrix-vector multiplication
More informationVector Algebra Transformations. Lecture 4
Vector Algebra Transformations Lecture 4 Cornell CS4620 Fall 2008 Lecture 4 2008 Steve Marschner 1 Geometry A part of mathematics concerned with questions of size, shape, and relative positions of figures
More informationExpress Letters. A Simple and Efficient Search Algorithm for Block-Matching Motion Estimation. Jianhua Lu and Ming L. Liou
IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS FOR VIDEO TECHNOLOGY, VOL. 7, NO. 2, APRIL 1997 429 Express Letters A Simple and Efficient Search Algorithm for Block-Matching Motion Estimation Jianhua Lu and
More informationPrediction-based Directional Search for Fast Block-Matching Motion Estimation
Prediction-based Directional Search for Fast Block-Matching Motion Estimation Binh P. Nguyen School of Information and Communication Technology, Hanoi University of Technology, Vietnam binhnp@it-hut.edu.vn
More information2D/3D Geometric Transformations and Scene Graphs
2D/3D Geometric Transformations and Scene Graphs Week 4 Acknowledgement: The course slides are adapted from the slides prepared by Steve Marschner of Cornell University 1 A little quick math background
More informationDD2423 Image Analysis and Computer Vision IMAGE FORMATION. Computational Vision and Active Perception School of Computer Science and Communication
DD2423 Image Analysis and Computer Vision IMAGE FORMATION Mårten Björkman Computational Vision and Active Perception School of Computer Science and Communication November 8, 2013 1 Image formation Goal:
More informationCOSC579: Scene Geometry. Jeremy Bolton, PhD Assistant Teaching Professor
COSC579: Scene Geometry Jeremy Bolton, PhD Assistant Teaching Professor Overview Linear Algebra Review Homogeneous vs non-homogeneous representations Projections and Transformations Scene Geometry The
More informationMath background. 2D Geometric Transformations. Implicit representations. Explicit representations. Read: CS 4620 Lecture 6
Math background 2D Geometric Transformations CS 4620 Lecture 6 Read: Chapter 2: Miscellaneous Math Chapter 5: Linear Algebra Notation for sets, functions, mappings Linear transformations Matrices Matrix-vector
More informationCapturing, Modeling, Rendering 3D Structures
Computer Vision Approach Capturing, Modeling, Rendering 3D Structures Calculate pixel correspondences and extract geometry Not robust Difficult to acquire illumination effects, e.g. specular highlights
More informationPredictive Motion Vector Field Adaptive Search Technique (PMVFAST) - Enhancing Block Based Motion Estimation
Predictive Motion Vector Field Adaptive Search Technique (PMVFAST) - Enhancing Bloc Based Motion Estimation Alexis M. Tourapis 1, Oscar C. Au, Ming L. Liou Department of Electrical and Electronic Engineering,
More informationUsing Subspace Constraints to Improve Feature Tracking Presented by Bryan Poling. Based on work by Bryan Poling, Gilad Lerman, and Arthur Szlam
Presented by Based on work by, Gilad Lerman, and Arthur Szlam What is Tracking? Broad Definition Tracking, or Object tracking, is a general term for following some thing through multiple frames of a video
More informationELEC Dr Reji Mathew Electrical Engineering UNSW
ELEC 4622 Dr Reji Mathew Electrical Engineering UNSW Review of Motion Modelling and Estimation Introduction to Motion Modelling & Estimation Forward Motion Backward Motion Block Motion Estimation Motion
More informationPeripheral drift illusion
Peripheral drift illusion Does it work on other animals? Computer Vision Motion and Optical Flow Many slides adapted from J. Hays, S. Seitz, R. Szeliski, M. Pollefeys, K. Grauman and others Video A video
More informationFobe Algorithm for Video Processing Applications
Fobe Algorithm for Video Processing Applications Christo Ananth 1, A.Sujitha Nandhini 2, A.Subha Shree 3, S.V.Ramyaa 4, J.Princess 5 Assistant Professor, Dept. Of ECE, Francis Xavier Engineering College,
More informationDigital Image Stabilization and Its Integration with Video Encoder
Digital Image Stabilization and Its Integration with Video Encoder Yu-Chun Peng, Hung-An Chang, Homer H. Chen Graduate Institute of Communication Engineering National Taiwan University Taipei, Taiwan {b889189,
More informationSURVEY OF LOCAL AND GLOBAL OPTICAL FLOW WITH COARSE TO FINE METHOD
SURVEY OF LOCAL AND GLOBAL OPTICAL FLOW WITH COARSE TO FINE METHOD M.E-II, Department of Computer Engineering, PICT, Pune ABSTRACT: Optical flow as an image processing technique finds its applications
More informationOptical flow and tracking
EECS 442 Computer vision Optical flow and tracking Intro Optical flow and feature tracking Lucas-Kanade algorithm Motion segmentation Segments of this lectures are courtesy of Profs S. Lazebnik S. Seitz,
More informationA New Fast Motion Estimation Algorithm. - Literature Survey. Instructor: Brian L. Evans. Authors: Yue Chen, Yu Wang, Ying Lu.
A New Fast Motion Estimation Algorithm - Literature Survey Instructor: Brian L. Evans Authors: Yue Chen, Yu Wang, Ying Lu Date: 10/19/1998 A New Fast Motion Estimation Algorithm 1. Abstract Video compression
More informationMotion Analysis. Motion analysis. Now we will talk about. Differential Motion Analysis. Motion analysis. Difference Pictures
Now we will talk about Motion Analysis Motion analysis Motion analysis is dealing with three main groups of motionrelated problems: Motion detection Moving object detection and location. Derivation of
More informationThe Lucas & Kanade Algorithm
The Lucas & Kanade Algorithm Instructor - Simon Lucey 16-423 - Designing Computer Vision Apps Today Registration, Registration, Registration. Linearizing Registration. Lucas & Kanade Algorithm. 3 Biggest
More informationStructure from Motion. Prof. Marco Marcon
Structure from Motion Prof. Marco Marcon Summing-up 2 Stereo is the most powerful clue for determining the structure of a scene Another important clue is the relative motion between the scene and (mono)
More informationMotion Estimation (II) Ce Liu Microsoft Research New England
Motion Estimation (II) Ce Liu celiu@microsoft.com Microsoft Research New England Last time Motion perception Motion representation Parametric motion: Lucas-Kanade T I x du dv = I x I T x I y I x T I y
More informationComputer Vision Projective Geometry and Calibration. Pinhole cameras
Computer Vision Projective Geometry and Calibration Professor Hager http://www.cs.jhu.edu/~hager Jason Corso http://www.cs.jhu.edu/~jcorso. Pinhole cameras Abstract camera model - box with a small hole
More informationOverview: motion estimation. Differential motion estimation
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
More informationMarcel Worring Intelligent Sensory Information Systems
Marcel Worring worring@science.uva.nl Intelligent Sensory Information Systems University of Amsterdam Information and Communication Technology archives of documentaries, film, or training material, video
More informationA Novel Hexagonal Search Algorithm for Fast Block Matching Motion Estimation
EURASIP Journal on Applied Signal Processing :6, 9 6 c Hindawi Publishing Corporation A Novel Hexagonal Search Algorithm for Fast Block Matching Motion Estimation Anastasios Hamosfakidis Department of
More informationMoving Object Segmentation Method Based on Motion Information Classification by X-means and Spatial Region Segmentation
IJCSNS International Journal of Computer Science and Network Security, VOL.13 No.11, November 2013 1 Moving Object Segmentation Method Based on Motion Information Classification by X-means and Spatial
More informationCS-465 Computer Vision
CS-465 Computer Vision Nazar Khan PUCIT 9. Optic Flow Optic Flow Nazar Khan Computer Vision 2 / 25 Optic Flow Nazar Khan Computer Vision 3 / 25 Optic Flow Where does pixel (x, y) in frame z move to in
More informationWhat have we leaned so far?
What have we leaned so far? Camera structure Eye structure Project 1: High Dynamic Range Imaging What have we learned so far? Image Filtering Image Warping Camera Projection Model Project 2: Panoramic
More informationMETRIC PLANE RECTIFICATION USING SYMMETRIC VANISHING POINTS
METRIC PLANE RECTIFICATION USING SYMMETRIC VANISHING POINTS M. Lefler, H. Hel-Or Dept. of CS, University of Haifa, Israel Y. Hel-Or School of CS, IDC, Herzliya, Israel ABSTRACT Video analysis often requires
More informationMultimedia Systems Video II (Video Coding) Mahdi Amiri April 2012 Sharif University of Technology
Course Presentation Multimedia Systems Video II (Video Coding) Mahdi Amiri April 2012 Sharif University of Technology Video Coding Correlation in Video Sequence Spatial correlation Similar pixels seem
More informationToday. Today. Introduction. Matrices. Matrices. Computergrafik. Transformations & matrices Introduction Matrices
Computergrafik Matthias Zwicker Universität Bern Herbst 2008 Today Transformations & matrices Introduction Matrices Homogeneous Affine transformations Concatenating transformations Change of Common coordinate
More informationPerspective Projection Describes Image Formation Berthold K.P. Horn
Perspective Projection Describes Image Formation Berthold K.P. Horn Wheel Alignment: Camber, Caster, Toe-In, SAI, Camber: angle between axle and horizontal plane. Toe: angle between projection of axle
More informationGeometric transformations assign a point to a point, so it is a point valued function of points. Geometric transformation may destroy the equation
Geometric transformations assign a point to a point, so it is a point valued function of points. Geometric transformation may destroy the equation and the type of an object. Even simple scaling turns a
More informationIntroduction to Computer Vision
Introduction to Computer Vision Michael J. Black Oct 2009 Motion estimation Goals Motion estimation Affine flow Optimization Large motions Why affine? Monday dense, smooth motion and regularization. Robust
More informationCS354 Computer Graphics Rotations and Quaternions
Slide Credit: Don Fussell CS354 Computer Graphics Rotations and Quaternions Qixing Huang April 4th 2018 Orientation Position and Orientation The position of an object can be represented as a translation
More informationCS 565 Computer Vision. Nazar Khan PUCIT Lectures 15 and 16: Optic Flow
CS 565 Computer Vision Nazar Khan PUCIT Lectures 15 and 16: Optic Flow Introduction Basic Problem given: image sequence f(x, y, z), where (x, y) specifies the location and z denotes time wanted: displacement
More informationImage Compression for Mobile Devices using Prediction and Direct Coding Approach
Image Compression for Mobile Devices using Prediction and Direct Coding Approach Joshua Rajah Devadason M.E. scholar, CIT Coimbatore, India Mr. T. Ramraj Assistant Professor, CIT Coimbatore, India Abstract
More informationRectification and Distortion Correction
Rectification and Distortion Correction Hagen Spies March 12, 2003 Computer Vision Laboratory Department of Electrical Engineering Linköping University, Sweden Contents Distortion Correction Rectification
More informationHand-Eye Calibration from Image Derivatives
Hand-Eye Calibration from Image Derivatives Abstract In this paper it is shown how to perform hand-eye calibration using only the normal flow field and knowledge about the motion of the hand. The proposed
More informationModel Based Perspective Inversion
Model Based Perspective Inversion A. D. Worrall, K. D. Baker & G. D. Sullivan Intelligent Systems Group, Department of Computer Science, University of Reading, RG6 2AX, UK. Anthony.Worrall@reading.ac.uk
More information3D Geometry and Camera Calibration
3D Geometry and Camera Calibration 3D Coordinate Systems Right-handed vs. left-handed x x y z z y 2D Coordinate Systems 3D Geometry Basics y axis up vs. y axis down Origin at center vs. corner Will often
More informationLocal Image Registration: An Adaptive Filtering Framework
Local Image Registration: An Adaptive Filtering Framework Gulcin Caner a,a.murattekalp a,b, Gaurav Sharma a and Wendi Heinzelman a a Electrical and Computer Engineering Dept.,University of Rochester, Rochester,
More information3D Transformations. CS 4620 Lecture Kavita Bala w/ prior instructor Steve Marschner. Cornell CS4620 Fall 2015 Lecture 11
3D Transformations CS 4620 Lecture 11 1 Announcements A2 due tomorrow Demos on Monday Please sign up for a slot Post on piazza 2 Translation 3 Scaling 4 Rotation about z axis 5 Rotation about x axis 6
More informationIntroduction to Medical Imaging (5XSA0) Module 5
Introduction to Medical Imaging (5XSA0) Module 5 Segmentation Jungong Han, Dirk Farin, Sveta Zinger ( s.zinger@tue.nl ) 1 Outline Introduction Color Segmentation region-growing region-merging watershed
More informationOverview. Video. Overview 4/7/2008. Optical flow. Why estimate motion? Motion estimation: Optical flow. Motion Magnification Colorization.
Overview Video Optical flow Motion Magnification Colorization Lecture 9 Optical flow Motion Magnification Colorization Overview Optical flow Combination of slides from Rick Szeliski, Steve Seitz, Alyosha
More informationCS 4495 Computer Vision Motion and Optic Flow
CS 4495 Computer Vision Aaron Bobick School of Interactive Computing Administrivia PS4 is out, due Sunday Oct 27 th. All relevant lectures posted Details about Problem Set: You may *not* use built in Harris
More informationA Sum Square Error based Successive Elimination Algorithm for Block Motion Estimation
A Sum Square Error based Successive Elimination Algorithm for Block Motion Estimation J.J. Francis and G. de Jager Department of Electrical Engineering, University of Cape Town Rondebosch, 7700, South
More informationComparison between Motion Analysis and Stereo
MOTION ESTIMATION The slides are from several sources through James Hays (Brown); Silvio Savarese (U. of Michigan); Octavia Camps (Northeastern); including their own slides. Comparison between Motion Analysis
More informationCS664 Lecture #18: Motion
CS664 Lecture #18: Motion Announcements Most paper choices were fine Please be sure to email me for approval, if you haven t already This is intended to help you, especially with the final project Use
More informationMidterm Exam Solutions
Midterm Exam Solutions Computer Vision (J. Košecká) October 27, 2009 HONOR SYSTEM: This examination is strictly individual. You are not allowed to talk, discuss, exchange solutions, etc., with other fellow
More informationStereo imaging ideal geometry
Stereo imaging ideal geometry (X,Y,Z) Z f (x L,y L ) f (x R,y R ) Optical axes are parallel Optical axes separated by baseline, b. Line connecting lens centers is perpendicular to the optical axis, and
More informationBroad field that includes low-level operations as well as complex high-level algorithms
Image processing About Broad field that includes low-level operations as well as complex high-level algorithms Low-level image processing Computer vision Computational photography Several procedures and
More informationStereo Vision. MAN-522 Computer Vision
Stereo Vision MAN-522 Computer Vision What is the goal of stereo vision? The recovery of the 3D structure of a scene using two or more images of the 3D scene, each acquired from a different viewpoint in
More informationStereo and Epipolar geometry
Previously Image Primitives (feature points, lines, contours) Today: Stereo and Epipolar geometry How to match primitives between two (multiple) views) Goals: 3D reconstruction, recognition Jana Kosecka
More informationFinally: Motion and tracking. Motion 4/20/2011. CS 376 Lecture 24 Motion 1. Video. Uses of motion. Motion parallax. Motion field
Finally: Motion and tracking Tracking objects, video analysis, low level motion Motion Wed, April 20 Kristen Grauman UT-Austin Many slides adapted from S. Seitz, R. Szeliski, M. Pollefeys, and S. Lazebnik
More informationAN ADJUSTABLE BLOCK MOTION ESTIMATION ALGORITHM BY MULTIPATH SEARCH
AN ADJUSTABLE BLOCK MOTION ESTIMATION ALGORITHM BY MULTIPATH SEARCH Thou-Ho (Chou-Ho) Chen Department of Electronic Engineering, National Kaohsiung University of Applied Sciences thouho@cc.kuas.edu.tw
More informationHomogeneous Coordinates. Lecture18: Camera Models. Representation of Line and Point in 2D. Cross Product. Overall scaling is NOT important.
Homogeneous Coordinates Overall scaling is NOT important. CSED44:Introduction to Computer Vision (207F) Lecture8: Camera Models Bohyung Han CSE, POSTECH bhhan@postech.ac.kr (",, ) ()", ), )) ) 0 It is
More informationMosaics. Today s Readings
Mosaics VR Seattle: http://www.vrseattle.com/ Full screen panoramas (cubic): http://www.panoramas.dk/ Mars: http://www.panoramas.dk/fullscreen3/f2_mars97.html Today s Readings Szeliski and Shum paper (sections
More informationVC 11/12 T11 Optical Flow
VC 11/12 T11 Optical Flow Mestrado em Ciência de Computadores Mestrado Integrado em Engenharia de Redes e Sistemas Informáticos Miguel Tavares Coimbra Outline Optical Flow Constraint Equation Aperture
More informationCS 445 / 645 Introduction to Computer Graphics. Lecture 21 Representing Rotations
CS 445 / 645 Introduction to Computer Graphics Lecture 21 Representing Rotations Parameterizing Rotations Straightforward in 2D A scalar, θ, represents rotation in plane More complicated in 3D Three scalars
More informationMET71 COMPUTER AIDED DESIGN
UNIT - II BRESENHAM S ALGORITHM BRESENHAM S LINE ALGORITHM Bresenham s algorithm enables the selection of optimum raster locations to represent a straight line. In this algorithm either pixels along X
More informationAnnouncements. Mosaics. Image Mosaics. How to do it? Basic Procedure Take a sequence of images from the same position =
Announcements Project 2 out today panorama signup help session at end of class Today mosaic recap blending Mosaics Full screen panoramas (cubic): http://www.panoramas.dk/ Mars: http://www.panoramas.dk/fullscreen3/f2_mars97.html
More informationMotion and Optical Flow. Slides from Ce Liu, Steve Seitz, Larry Zitnick, Ali Farhadi
Motion and Optical Flow Slides from Ce Liu, Steve Seitz, Larry Zitnick, Ali Farhadi We live in a moving world Perceiving, understanding and predicting motion is an important part of our daily lives Motion
More informationVisual motion. Many slides adapted from S. Seitz, R. Szeliski, M. Pollefeys
Visual motion Man slides adapted from S. Seitz, R. Szeliski, M. Pollefes Motion and perceptual organization Sometimes, motion is the onl cue Motion and perceptual organization Sometimes, motion is the
More informationEXAM SOLUTIONS. Image Processing and Computer Vision Course 2D1421 Monday, 13 th of March 2006,
School of Computer Science and Communication, KTH Danica Kragic EXAM SOLUTIONS Image Processing and Computer Vision Course 2D1421 Monday, 13 th of March 2006, 14.00 19.00 Grade table 0-25 U 26-35 3 36-45
More informationVisual Tracking. Image Processing Laboratory Dipartimento di Matematica e Informatica Università degli studi di Catania.
Image Processing Laboratory Dipartimento di Matematica e Informatica Università degli studi di Catania 1 What is visual tracking? estimation of the target location over time 2 applications Six main areas:
More informationThis blog addresses the question: how do we determine the intersection of two circles in the Cartesian plane?
Intersecting Circles This blog addresses the question: how do we determine the intersection of two circles in the Cartesian plane? This is a problem that a programmer might have to solve, for example,
More informationToday s lecture. Image Alignment and Stitching. Readings. Motion models
Today s lecture Image Alignment and Stitching Computer Vision CSE576, Spring 2005 Richard Szeliski Image alignment and stitching motion models cylindrical and spherical warping point-based alignment global
More informationcalibrated coordinates Linear transformation pixel coordinates
1 calibrated coordinates Linear transformation pixel coordinates 2 Calibration with a rig Uncalibrated epipolar geometry Ambiguities in image formation Stratified reconstruction Autocalibration with partial
More information