Image Alignment and Mosaicing

Similar documents
Image Alignment and Mosaicing Feature Tracking and the Kalman Filter

Image Stitching II. Linda Shapiro EE/CSE 576

Image Stitching II. Linda Shapiro CSE 455

Image Filtering. Slides, adapted from. Steve Seitz and Rick Szeliski, U.Washington

INTEREST POINTS AT DIFFERENT SCALES

Iterative Image Registration: Lucas & Kanade Revisited. Kentaro Toyama Vision Technology Group Microsoft Research

Multiresolution image processing

Multiscale Image Transforms

Templates, Image Pyramids, and Filter Banks

Motion Estimation (I)

The Frequency Domain, without tears. Many slides borrowed from Steve Seitz

ECE Digital Image Processing and Introduction to Computer Vision

Motion Estimation (I) Ce Liu Microsoft Research New England

Motion estimation. Digital Visual Effects Yung-Yu Chuang. with slides by Michael Black and P. Anandan

Edges and Scale. Image Features. Detecting edges. Origin of Edges. Solution: smooth first. Effects of noise

Lecture 4.3 Estimating homographies from feature correspondences. Thomas Opsahl

Optical Flow, Motion Segmentation, Feature Tracking

6.869 Advances in Computer Vision. Prof. Bill Freeman March 1, 2005

Elaborazione delle Immagini Informazione multimediale - Immagini. Raffaella Lanzarotti

6.869 Advances in Computer Vision. Bill Freeman, Antonio Torralba and Phillip Isola MIT Oct. 3, 2018

Introduction to motion correspondence

Optical flow. Subhransu Maji. CMPSCI 670: Computer Vision. October 20, 2016

Wavelet Decomposition in Laplacian Pyramid for Image Fusion

Image Filtering, Edges and Image Representation

Detection of Artificial Satellites in Images Acquired in Track Rate Mode.

Lecture 8: Interest Point Detection. Saad J Bedros

Optical Flow, KLT Feature Tracker.

Lecture 12. Local Feature Detection. Matching with Invariant Features. Why extract features? Why extract features? Why extract features?

Lecture 7: Finding Features (part 2/2)

Lecture 7: Finding Features (part 2/2)

COMP344 Digital Image Processing Fall 2007 Final Examination

SIFT: SCALE INVARIANT FEATURE TRANSFORM BY DAVID LOWE

Scale-space image processing

Invariant local features. Invariant Local Features. Classes of transformations. (Good) invariant local features. Case study: panorama stitching

Laplacian Filters. Sobel Filters. Laplacian Filters. Laplacian Filters. Laplacian Filters. Laplacian Filters

Feature extraction: Corners and blobs

Edge Detection. Computer Vision P. Schrater Spring 2003

TRACKING and DETECTION in COMPUTER VISION Filtering and edge detection

Video and Motion Analysis Computer Vision Carnegie Mellon University (Kris Kitani)

CS 3710: Visual Recognition Describing Images with Features. Adriana Kovashka Department of Computer Science January 8, 2015

Global parametric image alignment via high-order approximation

Computer Vision I. Announcements

Machine vision. Summary # 4. The mask for Laplacian is given

Edge Detection PSY 5018H: Math Models Hum Behavior, Prof. Paul Schrater, Spring 2005

Missing Data Interpolation with Gaussian Pyramids

Multiresolution schemes

Digital Image Processing

Multimedia Databases. Wolf-Tilo Balke Philipp Wille Institut für Informationssysteme Technische Universität Braunschweig

Multiresolution schemes

Multimedia Databases. Previous Lecture. 4.1 Multiresolution Analysis. 4 Shape-based Features. 4.1 Multiresolution Analysis

Filtering and Edge Detection

Interest Operators. All lectures are from posted research papers. Harris Corner Detector: the first and most basic interest operator

Machine vision, spring 2018 Summary 4

Wavelets and Multiresolution Processing

Reprinted from Proceedings of the Pattern Recognition and Information Processing Conference (pp ), Dallas, TX (1981).

Multimedia Databases. 4 Shape-based Features. 4.1 Multiresolution Analysis. 4.1 Multiresolution Analysis. 4.1 Multiresolution Analysis

Lecture 13: Tracking mo3on features op3cal flow

SURF Features. Jacky Baltes Dept. of Computer Science University of Manitoba WWW:

Corners, Blobs & Descriptors. With slides from S. Lazebnik & S. Seitz, D. Lowe, A. Efros

Gradient-domain image processing

Linear Diffusion and Image Processing. Outline

Multiresolution Analysis

Uncertainty Models in Quasiconvex Optimization for Geometric Reconstruction

Edge Detection. Introduction to Computer Vision. Useful Mathematics Funcs. The bad news

The recovery of motion information from visual input is an important task for both natural

TinySR. Peter Schmidt-Nielsen. August 27, 2014

Roadmap. Introduction to image analysis (computer vision) Theory of edge detection. Applications

Lecture Notes 5: Multiresolution Analysis

The Frequency Domain : Computational Photography Alexei Efros, CMU, Fall Many slides borrowed from Steve Seitz

CS 4495 Computer Vision. Frequency and Fourier Transforms. Aaron Bobick School of Interactive Computing. Frequency and Fourier Transform

Edge Detection. CS 650: Computer Vision

Image matching. by Diva Sian. by swashford

Vlad Estivill-Castro (2016) Robots for People --- A project for intelligent integrated systems

Vision par ordinateur

CSE 473/573 Computer Vision and Image Processing (CVIP)

Modeling Multiscale Differential Pixel Statistics

Topic 7. Convolution, Filters, Correlation, Representation. Bryan Pardo, 2008, Northwestern University EECS 352: Machine Perception of Music and Audio

Advanced Features. Advanced Features: Topics. Jana Kosecka. Slides from: S. Thurn, D. Lowe, Forsyth and Ponce. Advanced features and feature matching

Announcements. Tracking. Comptuer Vision I. The Motion Field. = ω. Pure Translation. Motion Field Equation. Rigid Motion: General Case

A new class of morphological pyramids for multiresolution image analysis

The Frequency Domain. Many slides borrowed from Steve Seitz

Lecture 6: Edge Detection. CAP 5415: Computer Vision Fall 2008

Dense Optical Flow Estimation from the Monogenic Curvature Tensor

SCALE-SPACE - Theory and Applications

Frequency2: Sampling and Aliasing

What is Motion? As Visual Input: Change in the spatial distribution of light on the sensors.

Scientific Computing: An Introductory Survey

CSCI 250: Intro to Robotics. Spring Term 2017 Prof. Levy. Computer Vision: A Brief Survey

Advances in Computer Vision. Prof. Bill Freeman. Image and shape descriptors. Readings: Mikolajczyk and Schmid; Belongie et al.

Nonrobust and Robust Objective Functions

Subsampling and image pyramids

Edge Detection in Computer Vision Systems

Expectation Maximization Deconvolution Algorithm

Introduction to Computer Vision. 2D Linear Systems

Image Analysis. Feature extraction: corners and blobs

DESIGN OF MULTI-DIMENSIONAL DERIVATIVE FILTERS. Eero P. Simoncelli

Vision 3D articielle Session 2: Essential and fundamental matrices, their computation, RANSAC algorithm

6-3 Solving Systems by Elimination

CAP 5415 Computer Vision

Lecture 04 Image Filtering

Transcription:

Image Alignment and Mosaicing

Image Alignment Applications Local alignment: Tracking Stereo Global alignment: Camera jitter elimination Image enhancement Panoramic mosaicing

Image Enhancement Original Enhanced Anandan

Panoramic Mosaicing Anandan

Gigapixel panoramas & images Mapping / Tourism / WWT Medical Imaging [Szeliski]

Panoramic Mosaicing 1. Align images 2. Merge overlapping regions Anandan

Correspondence Approaches Optical flow Correlation Correlation + optical flow Any of the above, iterated (e.g. Lucas-Kanade) Any of the above, coarse-to-fine Feature matching + RANSAC

Correspondence Approaches Optical flow Correlation Correlation + optical flow Any of the above, iterated (e.g. Lucas-Kanade) Any of the above, coarse-to-fine Feature matching + RANSAC

Optical Flow for Image Registration Compute local matches Least-squares fit to motion model Problem: outliers

Outlier Rejection Robust estimation: tolerant of outliers In general, methods based on absolute value rather than square: minimize Σ x i -f, not Σ(x i -f ) 2

Correspondence Approaches Optical flow Correlation Correlation + optical flow Any of the above, iterated (e.g. Lucas-Kanade) Any of the above, coarse-to-fine Feature matching + RANSAC

Correlation / Search Methods Assume translation only Given images I 1, I 2 For each translation (t x, t y ) compute c( I1, I 2, t) = ψ 1 2 i j ( I ( i, j), I ( i t, j )) x t y Select translation that maximizes c Depending on window size, local or global

Cross-Correlation Statistical definition of correlation: ψ ( u, v) = uv Disadvantage: sensitive to local variations in image brightness

Normalized Cross-Correlation Normalize to eliminate brightness sensitivity: where ψ ( u, v) = ( u u )( v σ σ u v v) u = average ( u) σ u = standard deviation ( u)

Sum of Squared Differences More intuitive measure: ψ ( u, v) = ( u v) 2 Negative: higher values greater similarity Expand: 2 2 2 ( u v) = u v + 2uv

Local vs. Global Correlation with local windows not too expensive High cost if window size = whole image But computation looks like convolution FFT to the rescue!

Fourier Transform with Translation F ( f ( x + x, y + y) ) = F ( f ( x, y) ) e i( ω x+ ω y) x y

Fourier Transform with Translation Therefore, if I 1 and I 2 differ by translation, So, F -1 (F 1 /F 2 ) will have a peak at ( x, y) ( ) ( ) ) ( 2 1 ) ( 2 1 ), ( ), ( y x i y x i y x y x e F F e y x I y x I + + = = ω ω ω ω F F

Phase Correlation In practice, use cross power spectrum F F 1 F F 1 * 2 * 2 Compute inverse FFT, look for peaks [Kuglin & Hines 1975]

Phase Correlation Advantages Fast computation Low sensitivity to global brightness changes (since equally sensitive to all frequencies)

Phase Correlation Disadvantages Sensitive to white noise No robust version Translation only Extensions to rotation, scale But not local motion Not too bad in practice with small local motions

Correspondence Approaches Optical flow Correlation Correlation + optical flow Any of the above, iterated (e.g. Lucas-Kanade) Any of the above, coarse-to-fine Feature matching + RANSAC

Correlation plus Optical Flow Use e.g. phase correlation to find average translation (may be large) Use optical flow to find local motions

Correspondence Approaches Optical flow Correlation Correlation + optical flow Any of the above, iterated (e.g. Lucas-Kanade) Any of the above, coarse-to-fine Feature matching + RANSAC

Correspondence Approaches Optical flow Correlation Correlation + optical flow Any of the above, iterated (e.g. Lucas-Kanade) Any of the above, coarse-to-fine Feature matching + RANSAC

Image Pyramids Pre-filter images to collect information at different scales More efficient computation, allows larger motions

Image Pyramids Szeliski

Correspondence Approaches Optical flow Correlation Correlation + optical flow Any of the above, iterated (e.g. Lucas-Kanade) Any of the above, coarse-to-fine Feature matching + RANSAC

Matching features What do we do about the bad matches? [Szeliski]

RAndom SAmple Consensus Select one match, count inliers [Szeliski]

RAndom SAmple Consensus Select one match, count inliers [Szeliski]

Least squares fit Find average translation vector [Szeliski]

Panoramic Mosaicing 1. Align images 2. Merge overlapping regions Anandan

Blending Blend over too small a region: seams Blend over too large a region: ghosting

Multiresolution Blending Different blending regions for different levels in a pyramid [Burt & Adelson] Blend low frequencies over large regions (minimize seams due to brightness variations) Blend high frequencies over small regions (minimize ghosting)

Pyramid Creation Gaussian Pyramid Laplacian Pyramid Created from Gaussian pyramid by subtraction L i = G i expand(g i+1 ) Szeliski

Octaves in the Spatial Domain Lowpass Images Bandpass Images Szeliski

Pyramid Blending Szeliski

Minimum-Cost Cuts Instead of blending high frequencies along a straight line, blend along line of minimum differences in image intensities

Minimum-Cost Cuts Moving object, simple blending blur [Davis 98]

Minimum-Cost Cuts Minimum-cost cut no blur [Davis 98]

Poisson Image Blending Follow gradients of source subject to boundary conditions imposed by dest

Poisson Image Blending

Poisson Image Blending