Image alignment Image from

Slides:



Advertisements
Similar presentations
Image Registration  Mapping of Evolution. Registration Goals Assume the correspondences are known Find such f() and g() such that the images are best.
Advertisements

Single-view geometry Odilon Redon, Cyclops, 1914.
Lecture 11: Two-view geometry
Two-View Geometry CS Sastry and Yang
Mapping: Scaling Rotation Translation Warp
Lecture 8: Stereo.
Image alignment Image from
776 Computer Vision Jared Heinly Spring 2014 (slides borrowed from Jan-Michael Frahm, Svetlana Lazebnik, and others)
Camera calibration and epipolar geometry
Geometric Transformations CSE P 576 Larry Zitnick
Mosaics con’t CSE 455, Winter 2010 February 10, 2010.
Single-view metrology
Image alignment.
Direct Methods for Visual Scene Reconstruction Paper by Richard Szeliski & Sing Bing Kang Presented by Kristin Branson November 7, 2002.
Epipolar geometry. (i)Correspondence geometry: Given an image point x in the first view, how does this constrain the position of the corresponding point.
Uncalibrated Geometry & Stratification Sastry and Yang
Lecture 7: Image Alignment and Panoramas CS6670: Computer Vision Noah Snavely What’s inside your fridge?
Automatic Panoramic Image Stitching using Local Features Matthew Brown and David Lowe, University of British Columbia.
3D reconstruction of cameras and structure x i = PX i x’ i = P’X i.
Lecture 9: Image alignment CS4670: Computer Vision Noah Snavely
Image Stitching and Panoramas
Single-view geometry Odilon Redon, Cyclops, 1914.
The Pinhole Camera Model
Camera parameters Extrinisic parameters define location and orientation of camera reference frame with respect to world frame Intrinsic parameters define.
Lecture 10: Robust fitting CS4670: Computer Vision Noah Snavely.
Instance-level recognition I. - Camera geometry and image alignment Josef Sivic INRIA, WILLOW, ENS/INRIA/CNRS UMR 8548 Laboratoire.
776 Computer Vision Jan-Michael Frahm, Enrique Dunn Spring 2013.
Computer vision: models, learning and inference
Image Stitching Ali Farhadi CSE 455
Image alignment.
CSC 589 Lecture 22 Image Alignment and least square methods Bei Xiao American University April 13.
Lecture 12: Image alignment CS4670/5760: Computer Vision Kavita Bala
Epipolar geometry The fundamental matrix and the tensor
1 Preview At least two views are required to access the depth of a scene point and in turn to reconstruct scene structure Multiple views can be obtained.
Homogeneous Coordinates (Projective Space) Let be a point in Euclidean space Change to homogeneous coordinates: Defined up to scale: Can go back to non-homogeneous.
Imaging Geometry for the Pinhole Camera Outline: Motivation |The pinhole camera.
Fitting & Matching Lecture 4 – Prof. Bregler Slides from: S. Lazebnik, S. Seitz, M. Pollefeys, A. Effros.
Metrology 1.Perspective distortion. 2.Depth is lost.
Computer Vision : CISC 4/689 Going Back a little Cameras.ppt.
Single-view geometry Odilon Redon, Cyclops, 1914.
Feature Matching. Feature Space Outlier Rejection.
Reconnaissance d’objets et vision artificielle Jean Ponce Equipe-projet WILLOW ENS/INRIA/CNRS UMR 8548 Laboratoire.
ELE 488 Fall 2006 Image Processing and Transmission ( )
Camera Model Calibration
776 Computer Vision Jan-Michael Frahm Spring 2012.
Camera Calibration Course web page: vision.cis.udel.edu/cv March 24, 2003  Lecture 17.
Hough Transform CS 691 E Spring Outline Hough transform Homography Reading: FP Chapter 15.1 (text) Some slides from Lazebnik.
Lecture 10: Image alignment CS4670/5760: Computer Vision Noah Snavely
776 Computer Vision Jan-Michael Frahm Spring 2012.
Lecture 16: Image alignment
Fitting a transformation: feature-based alignment
Homogeneous Coordinates (Projective Space)
Homography From Wikipedia In the field of computer vision, any
Epipolar geometry.
Image Stitching Slides from Rick Szeliski, Steve Seitz, Derek Hoiem, Ira Kemelmacher, Ali Farhadi.
Geometric Transformations
Geometric Transformations
The Brightness Constraint
Geometric Transformations
2D transformations (a.k.a. warping)
Geometric Transformations
Lecture 8: Image alignment
Single-view geometry Odilon Redon, Cyclops, 1914.
Lecture 8: Image alignment
Geometric Transformations
Calibration and homographies
Image Stitching Linda Shapiro ECE/CSE 576.
Lecture 11: Image alignment, Part 2
Geometric Transformations
Image Stitching Linda Shapiro ECE P 596.
Presentation transcript:

Image alignment Image from

A look into the past

A look into the past Leningrad during the blockade

Bing streetside images maps-application-streetside-photos.aspx

Image alignment: Applications Panorama stitching Recognition of object instances

Image alignment: Challenges Small degree of overlap Occlusion, clutter Intensity changes

Image alignment Two families of approaches: Direct (pixel-based) alignment –Search for alignment where most pixels agree Feature-based alignment –Search for alignment where extracted features agree –Can be verified using pixel-based alignment

Alignment as fitting Previous lectures: fitting a model to features in one image Find model M that minimizes M xixi

Alignment as fitting Previous lectures: fitting a model to features in one image Alignment: fitting a model to a transformation between pairs of features (matches) in two images Find model M that minimizes Find transformation T that minimizes M xixi T xixi xixi '

2D transformation models Similarity (translation, scale, rotation) Affine Projective (homography)

Let’s start with affine transformations Simple fitting procedure (linear least squares) Approximates viewpoint changes for roughly planar objects and roughly orthographic cameras Can be used to initialize fitting for more complex models

Fitting an affine transformation Assume we know the correspondences, how do we get the transformation?

Fitting an affine transformation Linear system with six unknowns Each match gives us two linearly independent equations: need at least three to solve for the transformation parameters

Fitting a plane projective transformation Homography: plane projective transformation (transformation taking a quad to another arbitrary quad)

Homography The transformation between two views of a planar surface The transformation between images from two cameras that share the same center

Application: Panorama stitching Source: Hartley & Zisserman

Fitting a homography Recall: homogeneous coordinates Converting to homogeneous image coordinates Converting from homogeneous image coordinates

Fitting a homography Recall: homogeneous coordinates Equation for homography: Converting to homogeneous image coordinates Converting from homogeneous image coordinates

Fitting a homography Equation for homography: 3 equations, only 2 linearly independent

Direct linear transform H has 8 degrees of freedom (9 parameters, but scale is arbitrary) One match gives us two linearly independent equations Four matches needed for a minimal solution (null space of 8x9 matrix) More than four: homogeneous least squares