Generating panorama using translational movement model.

Slides:



Advertisements
Similar presentations
CSCE 643 Computer Vision: Lucas-Kanade Registration
Advertisements

Motion.
Computer Vision Optical Flow
Automatic Image Alignment (direct) : Computational Photography Alexei Efros, CMU, Fall 2006 with a lot of slides stolen from Steve Seitz and Rick.
Motion Estimation I What affects the induced image motion? Camera motion Object motion Scene structure.
Announcements Quiz Thursday Quiz Review Tomorrow: AV Williams 4424, 4pm. Practice Quiz handout.
Optical Flow Methods 2007/8/9.
Direct Methods for Visual Scene Reconstruction Paper by Richard Szeliski & Sing Bing Kang Presented by Kristin Branson November 7, 2002.
CSCE 641 Computer Graphics: Image Registration Jinxiang Chai.
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.
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.
Caltech, Oct Lihi Zelnik-Manor
Image Stitching and Panoramas
Visual motion Many slides adapted from S. Seitz, R. Szeliski, M. Pollefeys.
CSCE 641 Computer Graphics: Image Mosaicing Jinxiang Chai.
Optical Flow Estimation
Lecture 19: Optical flow CS6670: Computer Vision Noah Snavely
Visual motion Many slides adapted from S. Seitz, R. Szeliski, M. Pollefeys.
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.
Matching Compare region of image to region of image. –We talked about this for stereo. –Important for motion. Epipolar constraint unknown. But motion small.
Computational Photography: Image Registration Jinxiang Chai.
Optical Flow Digital Photography CSE558, Spring 2003 Richard Szeliski (notes cribbed from P. Anandan)
Announcements Project1 due Tuesday. Motion Estimation Today’s Readings Trucco & Verri, 8.3 – 8.4 (skip 8.3.3, read only top half of p. 199) Supplemental:
CSCE 641 Computer Graphics: Image Registration Jinxiang Chai.
Announcements Project 1 artifact voting Project 2 out today (help session at end of class)
3D Computer Vision and Video Computing 3D Vision Topic 8 of Part 2 Visual Motion (II) CSC I6716 Spring 2004 Zhigang Zhu, NAC 8/203A
Announcements Midterm due Friday, beginning of lecture Guest lecture on Friday: Antonio Criminisi, Microsoft Research.
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.
Feature Tracking and Optical Flow
Optical Flow Donald Tanguay June 12, Outline Description of optical flow General techniques Specific methods –Horn and Schunck (regularization)
Motion estimation Digital Visual Effects Yung-Yu Chuang with slides by Michael Black and P. Anandan.
Computer Vision, Robert Pless Lecture 11 our goal is to understand the process of multi-camera vision. Last time, we studies the “Essential” and “Fundamental”
Image stitching Digital Visual Effects Yung-Yu Chuang with slides by Richard Szeliski, Steve Seitz, Matthew Brown and Vaclav Hlavac.
Motion Segmentation By Hadas Shahar (and John Y.A.Wang, and Edward H. Adelson, and Wikipedia and YouTube) 1.
CSE 185 Introduction to Computer Vision Feature Tracking and Optical Flow.
Computer Vision Spring ,-685 Instructor: S. Narasimhan Wean 5403 T-R 3:00pm – 4:20pm Lecture #16.
Optical Flow. Distribution of apparent velocities of movement of brightness pattern in an image.
Miguel Tavares Coimbra
O PTICAL F LOW & L AYERED M OTION Prepared by: Lidya Tonkonogi Mu’in Rizik 1.
Making Panoramas. Input: Output: … Input:  A set of images taken from the same optical center.  For this project, the images will also have the same.
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?
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
Representing Moving Images with Layers J. Y. Wang and E. H. Adelson MIT Media Lab.
Motion estimation Digital Visual Effects, Spring 2006 Yung-Yu Chuang 2005/4/12 with slides by Michael Black and P. Anandan.
Optical flow and keypoint tracking Many slides adapted from S. Seitz, R. Szeliski, M. Pollefeys.
Lucas-Kanade Image Alignment Iain Matthews. Paper Reading Simon Baker and Iain Matthews, Lucas-Kanade 20 years on: A Unifying Framework, Part 1
Photoconsistency constraint C2 q C1 p l = 2 l = 3 Depth labels If this 3D point is visible in both cameras, pixels p and q should have similar intensities.
Announcements Final is Thursday, March 18, 10:30-12:20 –MGH 287 Sample final out today.
1 Motion Estimation Readings: Ch 9: plus papers change detection optical flow analysis Lucas-Kanade method with pyramid structure Ming Ye’s improved.
Image Stitching Computer Vision CS 691E Some slides from Richard Szeliski.
Motion estimation Parametric motion (image alignment) Tracking Optical flow.
Motion estimation Digital Visual Effects, Spring 2005 Yung-Yu Chuang 2005/3/23 with slides by Michael Black and P. Anandan.
Feature Tracking and Optical Flow
CPSC 641: Image Registration
Estimating Parametric and Layered Motion
Announcements Final is Thursday, March 20, 10:30-12:20pm
Motion and Optical Flow
Digital Visual Effects Yung-Yu Chuang
Representing Moving Images with Layers
Announcements Project 2 out today (help session at end of class)
Representing Moving Images with Layers
Motion Estimation Today’s Readings
Image Stitching Computer Vision CS 678
Announcements more panorama slots available now
Announcements Questions on the project? New turn-in info online
Announcements more panorama slots available now
Optical flow Computer Vision Spring 2019, Lecture 21
Filtering An image as a function Digital vs. continuous images
Optical flow and keypoint tracking
Presentation transcript:

Generating panorama using translational movement model

Algorithms for stitching images into seamless photo-mosaics are among the oldest and most widely used in computer vision. Image stitching algorithms create the high-resolution photo-mosaics used to produce today’s digital maps and satellite photos.

Before we can register and align images, we need to establish the mathematical relationships that map pixel coordinates from one image to another. A variety of such parametric motion models are possible, from simple 2D transforms, to planar perspective models, 3D camera rotations, lens distortions, and mapping to non-planar (e.g., cylindrical) surfaces. translation affine perspective3D rotation In this work we assume a 2D translation between 2 consecutive images.

Computing Translation Assumption: Constant Brightness Given images I 1 and I 2, we can find the translation (u,v) that will minimize the squared error  I1I1 I2I2 u v

Brightness Constancy Equation First order Taylor Expansion Simplify notations: Divide by dt and denote:

Lucas Kanade (1981) Goal: Minimize Method: Least-Squares

7 Drawback of the method Iterative Lucas-Kanade Algorithm 1.Estimate velocity solving Lucas-Kanade equations 2.Warp I(t+1) towards I(t) using the estimated flow field 3.Repeat until convergence Based on first order approximation, therefore works well only for small motion.

Multi-Scale Flow Estimation image I t-1 image I Gaussian pyramid of image I t Gaussian pyramid of image I t+1 image I t+1 image I t u=10 pixels u=5 pixels u=2.5 pixels u=1.25 pixels

Multi-Scale Flow Estimation image I t-1 image I Gaussian pyramid of image I t Gaussian pyramid of image I t+1 image I t+1 image I t run Lucas-Kanade warp & upsample......

Image Stabilization We warp the input images to cancel the vertical and sub pixel horizontal components of the motion. For example: If the motion between two successive images was u = 5.3 and v = 1.3, the motion between them after the warping will be u = 5 and v = 0. I1I1 I2I2 u v I2I2 u I1I1

Image Stitching – Naïve Way I1I1 overlap I2I2

Image Stitching – Graph Cuts W(u,v) =||A(u)-B(u)|| 2 +||A(v)-B(v)|| 2 +,where u,v are neighboring pixels in the overlap region.

References B.D. Lucas and T. Kanade “An Iterative Image Registration Technique with an Application to Stereo Vision” IJCAI '81 pp S. Baker and I. Matthews “Lucas-Kanade 20 Years On: A Unifying Framework” IJCV, Vol. 56, No. 3, March, 2004, pp Kwatra, V., Schödl, A., Essa, I., Turk, G., & Bobick “Graphcut Textures: Image and Video Synthesis Using Graph Cuts” In ACM Transactions on Graphics (ToG) (Vol. 22, No. 3, pp ). ACM. Szeliski, Richard. “Graphcut Textures: Image and Video Synthesis Using Graph Cuts”. Springer, 2010.‏