Homography. Dr. Gerhard Roth

Similar documents
2-View Geometry. Mark Fiala Ryerson University

Geometric Camera Parameters

Epipolar Geometry. Readings: See Sections 10.1 and 15.6 of Forsyth and Ponce. Right Image. Left Image. e(p ) Epipolar Lines. e(q ) q R.

Least-Squares Intersection of Lines

Wii Remote Calibration Using the Sensor Bar

Lecture 2: Homogeneous Coordinates, Lines and Conics

Epipolar Geometry and Visual Servoing

3D Scanner using Line Laser. 1. Introduction. 2. Theory

Solution Guide III-C. 3D Vision. Building Vision for Business. MVTec Software GmbH

EXPERIMENTAL EVALUATION OF RELATIVE POSE ESTIMATION ALGORITHMS

Real-Time Automated Simulation Generation Based on CAD Modeling and Motion Capture

Build Panoramas on Android Phones

Introduction Epipolar Geometry Calibration Methods Further Readings. Stereo Camera Calibration

[1] Diagonal factorization

Camera geometry and image alignment

x = + x 2 + x

Applied Linear Algebra

Ultra-High Resolution Digital Mosaics

by the matrix A results in a vector which is a reflection of the given

Projection Center Calibration for a Co-located Projector Camera System

When the fluid velocity is zero, called the hydrostatic condition, the pressure variation is due only to the weight of the fluid.

SYNTHESIZING FREE-VIEWPOINT IMAGES FROM MULTIPLE VIEW VIDEOS IN SOCCER STADIUM

THE problem of visual servoing guiding a robot using

INTRODUCTION TO RENDERING TECHNIQUES

The Geometry of Perspective Projection

Relating Vanishing Points to Catadioptric Camera Calibration

Blender addons ESRI Shapefile import/export and georeferenced raster import

Summary: Transformations. Lecture 14 Parameter Estimation Readings T&V Sec Parameter Estimation: Fitting Geometric Models

Solving Simultaneous Equations and Matrices

MAT 200, Midterm Exam Solution. a. (5 points) Compute the determinant of the matrix A =

An Efficient Solution to the Five-Point Relative Pose Problem

An Iterative Image Registration Technique with an Application to Stereo Vision

Handbook of Robotics. Chapter 22 - Range Sensors

Compositing a 3D character over video footage in Maya Jean-Marc Gauthier, Spring 2008

Review Jeopardy. Blue vs. Orange. Review Jeopardy

Computer vision. 3D Stereo camera Bumblebee. 25 August 2014

Multiple View Geometry in Computer Vision

Orthogonal Projections

TRUCKCAM FACTORY SYSTEMS AXLE ALIGNMENT

9 MATRICES AND TRANSFORMATIONS

LINEAR ALGEBRA. September 23, 2010

Determining Polar Axis Alignment Accuracy

Automatic Labeling of Lane Markings for Autonomous Vehicles

Chapter 17. Orthogonal Matrices and Symmetries of Space

3-D Scene Data Recovery using Omnidirectional Multibaseline Stereo

Scanning Photogrammetry for Measuring Large Targets in Close Range

521493S Computer Graphics. Exercise 2 & course schedule change

B4 Computational Geometry

Basic CAD/CAM. CHAPTER 5: Geometric Transformation

Contents OVERVIEW WORKFLOW PROBLEM. SOLUTION. FEATURE. BENEFIT 4 5 EASY STEPS TO CALIBRATE YOUR LENSES 5

Solutions Lab. AXIS Barcode Reader Beta 0.3

Eigenvalues and Eigenvectors

Geometry of Vectors. 1 Cartesian Coordinates. Carlo Tomasi

Projective Geometry. Projective Geometry

Optical Tracking Using Projective Invariant Marker Pattern Properties

DINAMIC AND STATIC CENTRE OF PRESSURE MEASUREMENT ON THE FORCEPLATE. F. R. Soha, I. A. Szabó, M. Budai. Abstract

Synthetic Sensing: Proximity / Distance Sensors

LINEAR ALGEBRA W W L CHEN

Lecture 2: Geometric Image Transformations

Subspace Analysis and Optimization for AAM Based Face Alignment

Terrain Traversability Analysis using Organized Point Cloud, Superpixel Surface Normals-based segmentation and PCA-based Classification

The purposes of this experiment are to test Faraday's Law qualitatively and to test Lenz's Law.

Lecture 5: Singular Value Decomposition SVD (1)

TWO-DIMENSIONAL TRANSFORMATION

Feature Tracking and Optical Flow

The Rocket Steam Locomotive - Animation

How To Analyze Ball Blur On A Ball Image

Rotation Matrices and Homogeneous Transformations

Introduction to Seismology Spring 2008

Fig.1. The DAWN spacecraft

Bildverarbeitung und Mustererkennung Image Processing and Pattern Recognition

Using Photorealistic RenderMan for High-Quality Direct Volume Rendering

Linear algebra and the geometry of quadratic equations. Similarity transformations and orthogonal matrices

Vectors Math 122 Calculus III D Joyce, Fall 2012

Using Many Cameras as One

3D Tranformations. CS 4620 Lecture 6. Cornell CS4620 Fall 2013 Lecture Steve Marschner (with previous instructors James/Bala)

Elasticity Theory Basics

Nonlinear Iterative Partial Least Squares Method

Monash University Clayton s School of Information Technology CSE3313 Computer Graphics Sample Exam Questions 2007

Geometric Optics Converging Lenses and Mirrors Physics Lab IV

MATH APPLIED MATRIX THEORY

Questions: Does it always take the same amount of force to lift a load? Where should you press to lift a load with the least amount of force?

Similar matrices and Jordan form

Realtime 3D Computer Graphics Virtual Reality

Essential Mathematics for Computer Graphics fast

Endoscope Optics. Chapter Introduction

Geometry: Unit 1 Vocabulary TERM DEFINITION GEOMETRIC FIGURE. Cannot be defined by using other figures.

Physics 202 Problems - Week 8 Worked Problems Chapter 25: 7, 23, 36, 62, 72

Group Theory and Chemistry

ACE: After Effects CS6

Transcription:

Homography Dr. Gerhard Roth

Epipolar Geometry P P l P r Epipolar Plane p l Epipolar Lines p r O l e l e r O r Epipoles P r = R(P l T)

Homography Consider a point x = (u,v,1) in one image and x =(u,v,1) in another image A homography is a 3 by 3 matrix M M = m m m 11 21 31 m m m 12 22 32 The homography relates the pixel co-ordinates in the two images if x = M x When applied to every pixel the new image is a warped version of the original image m m m 13 23 33

Homography conditions Two images are related by a homography if and only if Both images are viewing the same plane from a different angle (your assignment) Both images are taken from the same camera but from a different angle Camera is rotated about its center of projection without any translation Note that the homography relationship is independent of the scene structure It does not depend on what the cameras are looking at Relationship holds regardless of what is seen in the images

What does Essential Matrix Mean? Image plane P Epipolar Line Y 1 p p Y 2 X 2 O 1 Z 1 X 1 Focal plane Epipole O 2 Z 2

Homography for Rotation If there is no translation Home position projection equation X x = K I = 1 [ 0] KX Rotation by a matrix R projection equation x' = X x' = K R = 1 KRK [ 0] KRX -1 x P = r RP l So where K is calibration matrix -1 Where KRK is a 3by3 matrix M called a homography

Original camera view

Downward rotation via homography

Sideways rotation via homography

Homgraphy versus epipolar geometry If two cameras are translated then epipolar geometry holds It maps a point in one image to a line in the other image Actual matching point depends on the depth of that point, that is its distance from the camera As the translations -> 0 the baseline b of the two cameras also goes to zero Once it is zero epipolar geometry does not hold any longer Homgraphy holds when no translation It maps a point in one image to a point in the other image The mapping does not depend on the depth (distance) of point to the camera This makes sense because baseline z zero means ordinary stereo triangulation equations fail

Computing homography If we know rotation R and calibration K, then homography M can be computed directly x' = KRK Applying this homography to one image gives image that we would get if the camera was rotated by R Inverting M, to get M -1 is same as applying inverse rotation R -1 But if we have two rotated images but do not know the rotation then how can we compute the homography? Given a set of correspondences; pixels in left image that equal the right image Write down homography equations that must related these correpsondences x <-> x Compute the homography using the same method as we used to compute fundamental matrix or to compute the projection matrix Basically compute the eigenvector assoicated with the smallest eigenvalue of the matrix A A T -1 x

Automatic Mosaicing Input

Automatic Mosaicing - Output

Automatic Mosaicing - Output

Automatic Mosaicing - Output

Automatic Mosaicing - Output

Automatic Mosaicing - Output

Automatic Mosaicing - Output

Automatic Mosaicing - Output

Automatic Mosaicing Output

Computing mosaic Take a camera on a tripod Rotate it around the axis of projection Choose one of the images as the reference image Compute the homography that aligns all the other images relative to that image Need to find correspondences manually or automatically You get a single large image, a mosaic which looks like a high resolution image taken from that reference image This large image is called a mosaic This is the basis of Quicktime mosaics

Computing homography For your purposes important to understand When translation is null epipolar geometry fails to hold In this case you only have image rotation Can not compute depth for any point for which you have correspondences Can compute the homography matrix from The camera calibration and the know rotation or Correspondences between the two images If you just use correspondences you can make a mosaic from rotating images Actually, can make a mosaic whenever you have a homograpy relationship when you are looking at a plane and when rotating Like having a high resolution camera from a single point of view