Computer Vision cmput 499/615

Slides:



Advertisements
Similar presentations
Projective 3D geometry class 4
Advertisements

More on single-view geometry
Invariants (continued).
1 A camera is modeled as a map from a space pt (X,Y,Z) to a pixel (u,v) by ‘homogeneous coordinates’ have been used to ‘treat’ translations ‘multiplicatively’
3D reconstruction.
Primitives Behaviour at infinity HZ 2.2 Projective DLT alg Invariants
Recovery of affine and metric properties from images in 2D Projective space Ko Dae-Won.
Geometry 2: A taste of projective geometry Introduction to Computer Vision Ronen Basri Weizmann Institute of Science.
Robot Vision SS 2005 Matthias Rüther 1 ROBOT VISION Lesson 3: Projective Geometry Matthias Rüther Slides courtesy of Marc Pollefeys Department of Computer.
Projective Geometry- 3D
Self-calibration.
Recovering metric and affine properties from images
Recovering metric and affine properties from images
Multiple View Geometry Projective Geometry & Transformations of 2D Vladimir Nedović Intelligent Systems Lab Amsterdam (ISLA) Informatics Institute,
1 Basic geometric concepts to understand Affine, Euclidean geometries (inhomogeneous coordinates) projective geometry (homogeneous coordinates) plane at.
The 2D Projective Plane Points and Lines.
Multiple View Geometry Marc Pollefeys University of North Carolina at Chapel Hill Modified by Philippos Mordohai.
Projective 2D & 3D geometry course 2
Projective 2D geometry (cont’) course 3
Projective geometry- 2D Acknowledgements Marc Pollefeys: for allowing the use of his excellent slides on this topic
Structure from motion. Multiple-view geometry questions Scene geometry (structure): Given 2D point matches in two or more images, where are the corresponding.
Uncalibrated Geometry & Stratification Sastry and Yang
Epipolar Geometry and the Fundamental Matrix F
Projective geometry Slides from Steve Seitz and Daniel DeMenthon
Multiple View Geometry Marc Pollefeys University of North Carolina at Chapel Hill Modified by Philippos Mordohai.
3D reconstruction of cameras and structure x i = PX i x’ i = P’X i.
Multiple View Geometry
Projective 2D geometry Appunti basati sulla parte iniziale del testo
Projective 3D geometry. Singular Value Decomposition.
Multiple View Geometry Marc Pollefeys University of North Carolina at Chapel Hill Modified by Philippos Mordohai.
Projective 3D geometry. Singular Value Decomposition.
3D photography Marc Pollefeys Fall 2007
Projective Geometry and Camera model Class 2
CS223b, Jana Kosecka Rigid Body Motion and Image Formation.
3D photography Marc Pollefeys Fall 2004 / Comp Tue & Thu 9:30-10:45
Projective 2D geometry course 2 Multiple View Geometry Comp Marc Pollefeys.
Project Geometry Jiecai He (Jake)
Projective 2D geometry course 2 Multiple View Geometry Comp Marc Pollefeys.
Single-view metrology
Projective Geometry and Camera Models
Projective Geometry and Geometric Invariance in Computer Vision Babak N. Araabi Electrical and Computer Eng. Dept. University of Tehran Workshop on image.
Robot Vision SS 2008 Matthias Rüther 1 ROBOT VISION Lesson 2: Projective Geometry Matthias Rüther Slides courtesy of Marc Pollefeys Department of Computer.
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.
Autonomous Navigation for Flying Robots Lecture 2.2: 2D Geometry
Projective Geometry. Projection Vanishing lines m and n.
Projective geometry ECE 847: Digital Image Processing Stan Birchfield Clemson University.
Structure from Motion Course web page: vision.cis.udel.edu/~cv April 25, 2003  Lecture 26.
Objects at infinity used in calibration
Projective 3D geometry class 4
Geometric Camera Models
Two-view geometry Epipolar geometry F-matrix comp. 3D reconstruction
Multi-linear Systems and Invariant Theory in the Context of Computer Vision and Graphics CS329 Amnon Shashua.
Geometric Computer Vision Review and Outlook. What is Computer Vision? Three Related fieldsThree Related fields –Image Processing: Changes 2D images into.
Projective Geometry Hu Zhan Yi. Entities At Infinity The ordinary space in which we lie is Euclidean space. The parallel lines usually do not intersect.
Class 51 Multi-linear Systems and Invariant Theory in the Context of Computer Vision and Graphics Class 5: Self Calibration CS329 Stanford University Amnon.
Auto-calibration we have just calibrated using a calibration object –another calibration object is the Tsai grid of Figure 7.1 on HZ182, which can be used.
Last Two Lectures Panoramic Image Stitching
1 Overview Introduction to projective geometry 1 view geometry (calibration, …) 2-view geometry (stereo, motion, …) 3- and N-view geometry Autocalibration.
Uncalibrated reconstruction Calibration with a rig Uncalibrated epipolar geometry Ambiguities in image formation Stratified reconstruction Autocalibration.
EECS 274 Computer Vision Projective Structure from Motion.
Projective 2D geometry (cont’) course 3 Multiple View Geometry Modified from Marc Pollefeys’s slides.
Projective 2D geometry course 2 Multiple View Geometry Comp Marc Pollefeys.
CS682, Jana Kosecka Rigid Body Motion and Image Formation Jana Kosecka
Calibration ECE 847: Digital Image Processing Stan Birchfield Clemson University.
3D Reconstruction from Images
Robot Vision Control of robot motion from video
CS Visual Recognition Projective Geometry Projective Geometry is a mathematical framework describing image formation by perspective camera. Under.
3D reconstruction class 11
Uncalibrated Geometry & Stratification
Presentation transcript:

Computer Vision cmput 499/615 Lecture 8: 3D projective geometry and it’s applications Martin Jagersand

First 1D Projective line Projective Coordinates Basic projective invariant in P1: the cross ratio b a d c ac bd = ac bd inhomogeneous d b c Requires 4 points: a 3 to create a coordinate system The fourth is positioned within that system

Cross ratio Basic projective invariant in P1: the cross ratio HZ CH 2.5 Basic projective invariant in P1: the cross ratio Properties: Defines coordinates along a 1d projective line Independent of the homogeneous representation of x Valid for ideal points Invariant under homographies homogeneous

Points and planes are dual in 3d projective space. Projective 3D space Points Planes Points and planes are dual in 3d projective space. Lines: 5DOF, various parameterizations Projective transformation: 4x4 nonsingular matrix H Point transformation Plane transformation Quadrics: Q Dual: Q* 4x4 symmetric matrix Q 9 DOF (defined by 9 points in general pose)

3D points 3D point in R3 in P3 projective transformation (4x4-1=15 dof)

Planes 3D plane Transformation Euclidean representation Dual: points ↔ planes, lines ↔ lines

Planes from points Or implicitly from coplanarity condition (solve as right nullspace of ) Or implicitly from coplanarity condition

Representing a plane by by lin comb of 3 points Representing a plane by its nullspace span M All points lin comb of basis Canonical form: Given a plane nullspace span M is

Points from planes (solve as right nullspace of )

Lines Join of two points: A, B Intersection of two planes: P, Q (4dof) Example: X-axis

Points, lines and planes Join of point X and line W is plane p Intersection of line W with plane p is point X

Affine space Difficulties with a projective space: Nonintuitive notion of direction: Parallelism is not represented Infinity not distinguished No notion of “inbetweenness”: Projective lines are topologically circular Only cross-ratios are available Ratios are required for many practical tasks A B +/- Solution: find the plane at infinity! Transform the model to give ∞ its canonical coordinates 2D analogy: fix the horizon line Determining the plane at infinity upgrades the geometry from projective to affine

From projective to affine  3D 2D l Finding the plane (line, point) at infinity 2 or 3 sets of parallel lines (meeting at “infinite” points) a known ratio can also determine infinite points 1D 2 3 1x 2(1+x) =  cross ratio 1 p x 2 1 1 1 2

From projective to affine HZ 3D 2D

Kutulakos and Vallino, Calibration-Free Augmented Reality, 1998 Affine space Affine transformation 12 DOF Leaves  unchanged Invariants Ratio of lengths on a line Ratios of angles Parallelism Kutulakos and Vallino, Calibration-Free Augmented Reality, 1998

Metric space Metric transformation (similarity) Invariants 7 DOF Maps absolute conic to itself Invariants Length ratios Angles The absolute conic Without a yard stick, this is the highest level of geometric structure that can be retrieved from images

The absolute conic Absolute conic is an imaginary circle on It is the intersection of every sphere with In a metric frame On :  absolute dual quadric

From affine to metric Identify on OR identify via angles, ratios of lengths e.g. perpendicular lines Upgrade the geometry by bringing to its canonical form via an affine transformation 1D ?

Two pairs of perpendicular lines Examples 2D Two pairs of perpendicular lines 3D Affine 5 known points Metric

What good is a projective model? Represents fundamental feature interactions Used in rendering with an unconventional engine: Physical Objects! Tcol(f1,f2,f3) = f1 - f2f3 Visual Servoing f1 f2 f3 Achieving 3d tasks via 2d image control collinearity task

What good is a projective model? Represents fundamental feature interactions Used in rendering with an unconventional engine: Physical Objects! y3 1 y2 y1 Y1 2 y2 y3 Visual Servoing Achieving 3d tasks via 2d image control image collinearity constraint

A point meets a line in each of two images... Collinearity? A point meets a line in each of two images...

But it doesn’t guarantee task achievement ! Collinearity? But it doesn’t guarantee task achievement !

are ALL projectively distinguishable coordinate systems All achievable tasks... 1 1 4pt. coincidence 1 1 3pt. coincidence 1 Coincidence 2 2pt. coincidence 1 1  2pt. coincidence 1 Cross Ratio One point 1 1 Collinearity Noncoincidence Coplanarity 1 1 are ALL projectively distinguishable coordinate systems General Position General Position

Composing possible tasks Cinj Tpp point-coincidence Injective Task primitives Tcol collinearity Cwk Tpp Tcopl coplanarity Projective Tcr cross ratios (a) AND OR NOT T1 0 if T = 0 T1  T2 = T1  T2 = T1•T2 T = T2 1 otherwise Task operators

Result: Task toolkit 1 2 3 4 5 6 7 8 Tpp(x1,x5)  Tpp(x3,x7)  wrench: view 1 wrench: view 2 1 2 3 4 5 6 7 8 Tpp(x1,x5)  Tpp(x3,x7)  Twrench(x1..8) = Tcol(x4,x7,x8)  Tcol(x2,x5,x6)

Geometric strata: 3d overview Group Transformation Invariants Distortion Projective 15 DOF Cross ratio Intersection Tangency Affine 12 DOF Parallelism Relative dist in 1d Plane at infinity Metric 7 DOF Relative distances Angles Absolute conic Euclidean 6 DOF Lengths Areas Volumes 3DOF 5DOF Faugeras ‘95

Perspective and projection Euclidean geometry is not the only representation - for building models from images - for building images from models But when 3d realism is the goal, how can we effectively build and use projective affine metric representations ?