Image Alignment by Image Averaging David Hong NCSSM, IE364 2008.

Slides:



Advertisements
Similar presentations
David Hansen and James Michelussi
Advertisements

Dynamic Occlusion Analysis in Optical Flow Fields
Motion Estimation I What affects the induced image motion? Camera motion Object motion Scene structure.
Low Complexity Keypoint Recognition and Pose Estimation Vincent Lepetit.
Computer Vision Optical Flow
Motion Tracking. Image Processing and Computer Vision: 82 Introduction Finding how objects have moved in an image sequence Movement in space Movement.
COMP322/S2000/L181 Pre-processing: Smooth a Binary Image After binarization of a grey level image, the resulting binary image may have zero’s (white) and.
Motion Estimation I What affects the induced image motion? Camera motion Object motion Scene structure.
Feature tracking. Identify features and track them over video –Small difference between frames –potential large difference overall Standard approach:
Optical Flow Methods 2007/8/9.
Probabilistic video stabilization using Kalman filtering and mosaicking.
Segmentation Divide the image into segments. Each segment:
Announcements Project1 artifact reminder counts towards your grade Demos this Thursday, 12-2:30 sign up! Extra office hours this week David (T 12-1, W/F.
Computing motion between images
Optical Flow Brightness Constancy The Aperture problem Regularization Lucas-Kanade Coarse-to-fine Parametric motion models Direct depth SSD tracking.
Announcements Project 1 test the turn-in procedure this week (make sure your folder’s there) grading session next Thursday 2:30-5pm –10 minute slot to.
Optical Flow Brightness Constancy The Aperture problem Regularization Lucas-Kanade Coarse-to-fine Parametric motion models Direct depth SSD tracking.
Motion Computing in Image Analysis
Modeling Fluid Phenomena -Vinay Bondhugula (25 th & 27 th April 2006)
Motion Estimation Today’s Readings Trucco & Verri, 8.3 – 8.4 (skip 8.3.3, read only top half of p. 199) Numerical Recipes (Newton-Raphson), 9.4 (first.
Motion Field and Optical Flow. Outline Motion Field and Optical Flow Definition, Example, Relation Optical Flow Constraint Equation Assumptions & Derivation,
COMP 290 Computer Vision - Spring Motion II - Estimation of Motion field / 3-D construction from motion Yongjik Kim.
3D Rigid/Nonrigid RegistrationRegistration 1)Known features, correspondences, transformation model – feature basedfeature based 2)Specific motion type,
Matching Compare region of image to region of image. –We talked about this for stereo. –Important for motion. Epipolar constraint unknown. But motion small.
Normalised Least Mean-Square Adaptive Filtering
A plane-plus-parallax algorithm Basic Model: When FOV is not very large and the camera motion has a small rotation, the 2D displacement (u,v) of an image.
Digital Camera and Computer Vision Laboratory Department of Computer Science and Information Engineering National Taiwan University, Taipei, Taiwan, R.O.C.
Optical Flow Donald Tanguay June 12, Outline Description of optical flow General techniques Specific methods –Horn and Schunck (regularization)
Nonlinear Programming.  A nonlinear program (NLP) is similar to a linear program in that it is composed of an objective function, general constraints,
Artificial Intelligence Techniques Multilayer Perceptrons.
Scientific Writing Abstract Writing. Why ? Most important part of the paper Number of Readers ! Make people read your work. Sell your work. Make your.
Motion Segmentation By Hadas Shahar (and John Y.A.Wang, and Edward H. Adelson, and Wikipedia and YouTube) 1.
Visual motion Many slides adapted from S. Seitz, R. Szeliski, M. Pollefeys.
Using the Local Phase of the Magnitude of the Local Structure Tensor for Image Registration Anders Eklund, Daniel Forsberg, Mats Andersson, Hans Knutsson.
Determining Planar Translation and Rotation by Optical Flow David Hong NCSSM, Mini-term 2008.
Uses of Motion 3D shape reconstruction Segment objects based on motion cues Recognize events and activities Improve video quality Track objects Correct.
Prof. dr. A. Achterberg, Astronomical Dept., IMAPP, Radboud Universiteit.
An Efficient Search Strategy for Block Motion Estimation Using Image Features Digital Video Processing 1 Term Project Feng Li Michael Su Xiaofeng Fan.
December 9, 2014Computer Vision Lecture 23: Motion Analysis 1 Now we will talk about… Motion Analysis.
1 University of Texas at Austin Machine Learning Group 图像与视频处理 计算机学院 Motion Detection and Estimation.
Computer Vision Spring ,-685 Instructor: S. Narasimhan Wean 5403 T-R 3:00pm – 4:20pm Lecture #16.
CS654: Digital Image Analysis Lecture 25: Hough Transform Slide credits: Guillermo Sapiro, Mubarak Shah, Derek Hoiem.
MODULE 1 In classical mechanics we define a STATE as “The specification of the position and velocity of all the particles present, at some time, and the.
Image Registration with Hierarchical B-Splines Z. Xie and G. Farin.
Joint Tracking of Features and Edges STAN BIRCHFIELD AND SHRINIVAS PUNDLIK CLEMSON UNIVERSITY ABSTRACT LUCAS-KANADE AND HORN-SCHUNCK JOINT TRACKING OF.
Optical Flow. Distribution of apparent velocities of movement of brightness pattern in an image.
Motion Estimation Today’s Readings Trucco & Verri, 8.3 – 8.4 (skip 8.3.3, read only top half of p. 199) Newton's method Wikpedia page
Motion Estimation I What affects the induced image motion?
1 Methods in Image Analysis – Lecture 3 Fourier CMU Robotics Institute U. Pitt Bioengineering 2630 Spring Term, 2004 George Stetten, M.D., Ph.D.
1 Imaging Techniques for Flow and Motion Measurement Lecture 10 Lichuan Gui University of Mississippi 2011 Direct Correlation & MQD Method.
Particle Image Velocimetry Demo Outline (For reference) ‏ Topic NumberTopic NamePage Type 1Flow of PIVAnimated page.
Motion Estimation Today’s Readings Trucco & Verri, 8.3 – 8.4 (skip 8.3.3, read only top half of p. 199) Newton's method Wikpedia page
Motion / Optical Flow II Estimation of Motion Field Avneesh Sud.
Representing Moving Images with Layers J. Y. Wang and E. H. Adelson MIT Media Lab.
Motion Segmentation at Any Speed Shrinivas J. Pundlik Department of Electrical and Computer Engineering, Clemson University, Clemson, SC.
Using Neumann Series to Solve Inverse Problems in Imaging Christopher Kumar Anand.
Amir Yavariabdi Introduction to the Calculus of Variations and Optical Flow.
MOTION Model. Road Map Motion Model Non Parametric Motion Field : Algorithms 1.Optical flow field estimation. 2.Block based motion estimation. 3.Pel –recursive.
DIGITAL SIGNAL PROCESSING
Motion and Optical Flow
Ch. 5 – Applications of Derivatives
Outline Announcement Local operations (continued) Linear filters
Range Imaging Through Triangulation
Representing Moving Images with Layers
Representing Moving Images with Layers
Filtering Things to take away from this lecture An image as a function
Image and Video Processing
Announcements Questions on the project? New turn-in info online
Coupled Horn-Schunck and Lukas-Kanade for image processing
Intensity Transformation
Presentation transcript:

Image Alignment by Image Averaging David Hong NCSSM, IE

Example Problem 1

Example Problem 2

Example Problem 3

Problem (Formal Statement)

Motivation Many Applications: – Special Effects (Movie) – Video Compression – Pattern Recognition – Image Stabilization (Digital Cameras) – Dead-reckoning (Mobile Robotics)

State of the Art Optical Flow Lucas-Kanade (1985) Optical Flow with Smoothness Constraint Horn-Schunck (1980) Phase Correlation

X Y u(x,y,t) U(X,Y) x y Lucas-Kanade

Then the floor-coordinate is (X 0,Y 0 ) and the sensor-coordinate is (x,y) at time t. Let us consider a point on the plane. From there, we can see:

Lucas-Kanade Differentiating on time gives us:

Lucas-Kanade Expressing (x,y) in terms of (X 0,Y 0 ) and the sensor position (X s,Y s,Θ s ) gives us:

Lucas-Kanade Putting the two together, we get: This is underdetermined!

Algorithm u u’

Improvement by Iteration u u’ u’’ u’’’

Improvement by Iteration u’ u u’’ u’(x’,y’) u’’(x’’,y’’)

Improvement by Iteration

u’ Places u’ is defined Place we need to evaluate u’ (x’, y’) (x’ 0, y’ 0 ) (x’ 1, y’ 0 ) (x’ 0, y’ 1 )(x’ 1, y’ 1 )

Improvement by Iteration

u’ u u’’ u’ not defined!

Improvement by Iteration u’ u’’ u’’ was not evaluated here Valid Region

Improvement by Iteration Places we need to evaluate u’ (i -1,0 ’, j -1,0 ’ ) (i 0,-1 ’, j 0,-1 ’ ) (i 0,1 ’, j 0,1 ’ ) (i 1,0 ’, j 1,0 ’ )

Performance of Algorithm Good Surface:Bad Surface: Algorithm Fails!

Performance of Algorithm Surface:

Performance of Algorithm Surface:

Performance of Algorithm Surface:

Assumptions Made The Error Function is locally quadratic The floor is linear

Weaknesses Many Iterations – Inherent to Technique “Fooled” by symmetry (Aliasing problem) – Inherent to Problem

Strengths Accurate Improvement by Iteration Finds Error Function Root by Newton’s

yuyu v(x v,y v ) u(x u,y u ) xvxv yvyv Phase Correlation xuxu

We consider the image to be like a 2-D wave. Then, displacement is simply a “phase shift” Rotation can similarly be found So, we “correlate” the “phases”

Phase Correlation

Weaknesses Inaccurate on first iteration Boundary Problem (Repetion Assumption) High complexity – FFT is “O(nlogn)”

Strengths Elegant Makes a big leap Works well on images with pattern Separates displacement and rotation (DFT)

yuyu v(x v,y v ) u(x u,y u ) xvxv yvyv Image Averaging xuxu

Find a “Center-of-Mass” of each image Track the motion of the center-of-mass

Weaknesses Boundary Problem (Average Point Moves) Average is affected by small discretization issues

Strengths Elegant Makes a big leap Very fast – Complexity of O(n) Yields itself well to Improvement by Iteration – Using same technique as in Lucas-Kanade

Handling the Weaknesses Here we decide to take an alternative approach Separate displacements from rotation Do this using FFT (as in Phase Correlation)

Handling the Weaknesses We handle rotation first – Post-FFT, only rotation remains

Handling the Weaknesses

Weaknesses We introduce an FFT ( O(nlogn) operation) However, only requires 2 – Phase correlation requires up to 3 or 4

Future Work Make Image Alignment Rigorous – Use complex numbers to notate displacement Smoothness Constraint Pre-processing the image Condition for Convergence

Thank You!