But First: Multi-View Projective Geometry

Similar documents
Today. Stereo (two view) reconstruction. Multiview geometry. Today. Multiview geometry. Computational Photography

Epipolar Geometry Prof. D. Stricker. With slides from A. Zisserman, S. Lazebnik, Seitz

Image Transfer Methods. Satya Prakash Mallick Jan 28 th, 2003

Lecture 9: Epipolar Geometry

Unit 3 Multiple View Geometry

Computer Vision Lecture 17

Computer Vision Lecture 17

Computer Vision Projective Geometry and Calibration. Pinhole cameras

Epipolar Geometry and Stereo Vision

Geometry of Multiple views

1 Projective Geometry

Reminder: Lecture 20: The Eight-Point Algorithm. Essential/Fundamental Matrix. E/F Matrix Summary. Computing F. Computing F from Point Matches

calibrated coordinates Linear transformation pixel coordinates

Lecture 6 Stereo Systems Multi-view geometry

Stereo and Epipolar geometry

Epipolar Geometry and Stereo Vision

Camera Geometry II. COS 429 Princeton University

N-Views (1) Homographies and Projection

Stereo Vision. MAN-522 Computer Vision

Two-view geometry Computer Vision Spring 2018, Lecture 10

Multiple View Geometry

Recap: Features and filters. Recap: Grouping & fitting. Now: Multiple views 10/29/2008. Epipolar geometry & stereo vision. Why multiple views?

Two-View Geometry (Course 23, Lecture D)

Stereo II CSE 576. Ali Farhadi. Several slides from Larry Zitnick and Steve Seitz

Structure from motion

Lecture 5 Epipolar Geometry

Epipolar Geometry class 11

CS231M Mobile Computer Vision Structure from motion

Scene Modeling for a Single View

Multiple Views Geometry

CS 2770: Intro to Computer Vision. Multiple Views. Prof. Adriana Kovashka University of Pittsburgh March 14, 2017

Lecture 6 Stereo Systems Multi- view geometry Professor Silvio Savarese Computational Vision and Geometry Lab Silvio Savarese Lecture 6-24-Jan-15

Scene Modeling for a Single View

Mathematics of a Multiple Omni-Directional System

3D Photography: Epipolar geometry

Week 2: Two-View Geometry. Padua Summer 08 Frank Dellaert

Stereo. 11/02/2012 CS129, Brown James Hays. Slides by Kristen Grauman

Recovering structure from a single view Pinhole perspective projection

Cameras and Stereo CSE 455. Linda Shapiro

Stereo CSE 576. Ali Farhadi. Several slides from Larry Zitnick and Steve Seitz

Lecture 10: Multi-view geometry

3D Reconstruction from Scene Knowledge

Lecture 14: Basic Multi-View Geometry

Camera Calibration. Schedule. Jesus J Caban. Note: You have until next Monday to let me know. ! Today:! Camera calibration

Index. 3D reconstruction, point algorithm, point algorithm, point algorithm, point algorithm, 253

CS 664 Slides #9 Multi-Camera Geometry. Prof. Dan Huttenlocher Fall 2003

Single View Geometry. Camera model & Orientation + Position estimation. What am I?

55:148 Digital Image Processing Chapter 11 3D Vision, Geometry

Automatic Estimation of Epipolar Geometry

Index. 3D reconstruction, point algorithm, point algorithm, point algorithm, point algorithm, 263

Structure from motion

Epipolar geometry. x x

Multi-view geometry problems

Lecture 9 & 10: Stereo Vision

Lecture'9'&'10:'' Stereo'Vision'

BIL Computer Vision Apr 16, 2014

Computer Vision I - Algorithms and Applications: Multi-View 3D reconstruction

Epipolar Geometry CSE P576. Dr. Matthew Brown

3D reconstruction class 11

Structure from Motion. Prof. Marco Marcon

Scene Modeling for a Single View

Structure from Motion

Structure from Motion and Multi- view Geometry. Last lecture

Scene Modeling for a Single View

Epipolar Geometry and the Essential Matrix

Feature Transfer and Matching in Disparate Stereo Views through the use of Plane Homographies

Undergrad HTAs / TAs. Help me make the course better! HTA deadline today (! sorry) TA deadline March 21 st, opens March 15th

Part I: Single and Two View Geometry Internal camera parameters

Multi-view stereo. Many slides adapted from S. Seitz

Multiple View Geometry. Frank Dellaert

There are many cues in monocular vision which suggests that vision in stereo starts very early from two similar 2D images. Lets see a few...

Final Exam Study Guide CSE/EE 486 Fall 2007

MAPI Computer Vision. Multiple View Geometry

C / 35. C18 Computer Vision. David Murray. dwm/courses/4cv.

From Reference Frames to Reference Planes: Multi-View Parallax Geometry and Applications

CS231A Midterm Review. Friday 5/6/2016

arxiv: v1 [cs.cv] 28 Sep 2018

Structure from motion

Last lecture. Passive Stereo Spacetime Stereo

Projective 2D Geometry

Multiple View Geometry in Computer Vision Second Edition

The Geometry of Multiple Images The Laws That Govern the Formation of Multiple Images of a Scene and Some of Thcir Applications

Structure from Motion. Introduction to Computer Vision CSE 152 Lecture 10

6.819 / 6.869: Advances in Computer Vision Antonio Torralba and Bill Freeman. Lecture 11 Geometry, Camera Calibration, and Stereo.

Image warping and stitching

A linear algorithm for Camera Self-Calibration, Motion and Structure Recovery for Multi-Planar Scenes from Two Perspective Images

Pinhole Camera Model 10/05/17. Computational Photography Derek Hoiem, University of Illinois

3D Geometric Computer Vision. Martin Jagersand Univ. Alberta Edmonton, Alberta, Canada

Single-view metrology

Recap from Previous Lecture

Perception and Action using Multilinear Forms

Geometric camera models and calibration

A Factorization Method for Structure from Planar Motion

Image warping and stitching

Image-Based Rendering Methods

Computer Vision Projective Geometry and Calibration. Pinhole cameras

3D Reconstruction from Two Views

Dense 3D Reconstruction. Christiano Gava

Stereo Epipolar Geometry for General Cameras. Sanja Fidler CSC420: Intro to Image Understanding 1 / 33

CS231A Course Notes 4: Stereo Systems and Structure from Motion

Transcription:

View Morphing (Seitz & Dyer, SIGGRAPH 96) Virtual Camera Photograph Morphed View View interpolation (ala McMillan) but no depth no camera information Photograph But First: Multi-View Projective Geometry Last time (single view geometry) Vanishing Points Points at Infinity Vanishing Lines The Cross-Ratio Today (multi-view geometry) Point-line duality Epipolar geometry The Fundamental Matri All quantities on these slides are in homogeneous coordinates ecept when specified otherwise

The Projective Plane Why do we need homogeneous coordinates? represent points at infinity, homographies, perspective projection, multi-view relationships What is the geometric intuition? The projective plane f (,,) focal point (f,fy,f) (,y,) image plane (projective) Cartesian plane Each point (,y) on the plane is represented by a ray s(,y,) Cartesian coordinates (,y,z) (/z, y/z) Projective Lines A point is a ray in projective space How would we represent a line? image plane A line is a plane of rays all rays (,y,z) satisfying: a + by + cz in vector notation : z [ a b c] y l T p A line is also represented as a homogeneous -vector l 2

Point and Line Duality A line l is a homogeneous -vector (a ray) It is to every point (ray) p on the line: l T p l p p 2 l 2 l p What is the line l spanned by points p and p 2? l is to p and p 2 l p p 2 l is the plane normal What is the intersection of two lines l and l 2? p is to l and l 2 p l l 2 Points and lines are dual in projective space every property of points also applies to lines (e.g., cross-ratio) Homographies of Points and Lines We ve seen lots of names for these Planar perspective transformations Homographies Teture-mapping transformations Collineations Computed by matri multiplication To transform a point: p Hp To transform a line: l T p l T p l T p l T H - Hp l T H - p l T l T H - lines are transformed by (H - ) T

4 D Projective Geometry These concepts generalize naturally to D Homogeneous coordinates Projective D points have four coords: X (X,Y,Z,W) Duality A plane Π is also represented by a 4-vector Points and planes are dual in D: Π T P Projective transformations Represented by 44 matrices T: P TP, Π (T - ) T Π Cross-ratio of planes However Can t use cross-products in 4D. We need new tools Grassman-Cayley Algebra» generalization of cross product, allows interactions between points, lines, and planes via meet and join operators Won t get into this stuff today D to 2D: Perspective Projection Matri Projection: p Z Y X s sy s It s useful to decompose into T R project A y y f t s t s T I R + Then we can write the projection as:

Multi-View Projective Geometry scene point focal point image plane How to relate point positions in different views? Central question in image-based rendering Projective geometry gives us some powerful tools constraints between two or more images equations to transfer points from one image to another Epipolar Geometry What does one view tell us about another? Point positions in 2 nd view must lie along a known line epipolar line epipolar plane epipolar line epipoles Epipolar Constraint Etremely useful for stereo matching Reduces problem to D search along conjugate epipolar lines Also useful for view interpolation... 5

Transfer from Epipolar Lines What does one view tell us about another? Point positions in 2 nd view must lie along a known line output image input image input image Two views determines point position in a third image But doesn t work if point is in the trifocal plane spanned by all three cameras bad case: three cameras are colinear Epipolar Algebra How do we compute epipolar lines? Can trace out lines, reproject. But that is overkill Z Y X p T p Y X Z p Rp + T R Note that p is to T p So p T T p p T T (Rp + T) p T T (Rp) 6

Simplifying: p T T (Rp) We can write a cross-product a b as a matri equation a b A b where Therefore: y z T z y z y Where E T R is the essential matri Holds whenever p and p correspond to the same scene point Properties of E Ep is the epipolar line of p; p T E is the epipolar line of p p T E p for every pair of corresponding points Ee e T E where e and e are the epipoles» E has rank <, has 5 independent parameters E tells us everything about the epipolar geometry Linear Multiview Relations The Essential Matri: p T E p First derived by Longuet-Higgins, Nature 98 also showed how to compute camera R and T matrices from E E has only 5 free parameters (three rotation angles, two transl. directions) Only applies when cameras have same internal parameters same focal length, aspect ratio, and image center The Fundamental Matri: p T F p F (A - ) T E A -, where A and A contain the internal parameters Gives epipoles, epipolar lines F (like E) is defined only up to a scale factor and has rank 2 (7 free params) Generalization of the essential matri Can t uniquely solve for R and T (or A and A ) from F Can be computed using linear methods» R. Hartley, In Defence of the 8-point Algorithm, ICCV 95 Or nonlinear methods» Xu & Zhang, Epipolar Geometry in Stereo, Motion and Object Recognition, 996 7

The Trifocal Tensor What if you have three views? Can compute pairwise fundamental matrices However there are more constraints it should be possible to resolve the trifocal problem Answer: the trifocal tensor introduced by Shashua, Hartley in 994/995 a matri T (27 parameters)» gives all constraints between views» can use to generate new views without trifocal probs. [Shai & Avidan]» linearly computable from point correspondences How about four views? five views? N views? There is a quadrifocal tensor [Faugeras & Morrain, Triggs, 995] But: all the constraints are epressed in the trifocal tensors, obtained by considering every subset of cameras View Morphing (Seitz & Dyer, SIGGRAPH 96) Virtual Camera Photograph Morphed View View interpolation (ala McMillan) but no depth no camera information Photograph 8

Uniqueness Result Given Any two images of a Lambertian scene No occlusions Result: all views along C C 2 are uniquely determined View Synthesis is solvable when Cameras are uncalibrated Dense piel correspondence is not available Shape reconstruction is impossible Uniqueness Result Relies on Monotonicity Assumption Left-to-right ordering of points is the same in both images used often to facilitate stereo matching Implies no occlusions on line between C and C 2 9

Image Morphing Photograph Morphed Image Photograph Linear Interpolation of 2D shape and color Image Morphing for View Synthesis? We want to high quality view interpolations Can image morphing do this? Goal: etend to handle changes in viewpoint Produce valid camera transitions

Special Case: Parallel Cameras Left Image Morphed Image Right Image Morphing parallel views new parallel views Projection matrices have a special form third rows of projection matrices are equal Linear image motion linear camera motion Uncalibrated Prewarping Parallel cameras have a special epipolar geometry Epipolar lines are horizontal Corresponding points have the same y coordinate in both images What fundamental matri does this correspond to? ˆF Prewarp procedure: Compute F matri given 8 or more correspondences Compute homographies H and H such that H T FH Fˆ each homography composes two rotations, a scale, and a translation Transform first image by H -, second image by H -

. Prewarp align views 2. Morph move camera. Prewarp align views 2

. Prewarp align views 2. Morph move camera. Prewarp align views 2. Morph move camera. Postwarp point camera

Face Recognition Corrected Photographs View Morphing Summary Additional Features Automatic correspondence N-view morphing Real-time implementation Pros Don t need camera positions Don t need shape/z Don t need dense correspondence Cons Limited to interpolation (although not with three views) Problems with occlusions (leads to ghosting) Prewarp can be unstable (need good F-estimator) 4

Some Applications of Projective Geometry Homogeneous coordinates in computer graphics Metrology Single view Multi-view Stereo correspondence View interpolation and transformation Camera calibration Invariants Object recognition Pose estimation Others... 5