3D photography Marc Pollefeys Fall 2004 / Comp 290-089 Tue & Thu 9:30-10:45

Slides:



Advertisements
Similar presentations
Projective 3D geometry class 4
Advertisements

Epipolar Geometry.
Computer Vision, Robert Pless
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
Conics DLT alg HZ 4.1 Rectification HZ 2.7 Hierarchy of maps Invariants HZ 2.4 Projective transform HZ 2.3 Behaviour at infinity Primitives pt/line/conic.
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
Recovering metric and affine properties from images
Camera Models A camera is a mapping between the 3D world and a 2D image The principal camera of interest is central projection.
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
3D reconstruction class 11
Projective 2D geometry (cont’) course 3
Used slides/content with permission from
Projective geometry- 2D Acknowledgements Marc Pollefeys: for allowing the use of his excellent slides on this topic
Epipolar geometry. (i)Correspondence geometry: Given an image point x in the first view, how does this constrain the position of the corresponding point.
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
Multiple View Geometry Marc Pollefeys University of North Carolina at Chapel Hill Modified by Philippos Mordohai.
Many slides and illustrations from J. Ponce
Camera model Relation between pixels and rays in space ?
Multiple View Geometry
Multiple View Geometry
Projective 2D geometry Appunti basati sulla parte iniziale del testo
Projective 3D geometry. Singular Value Decomposition.
Homogeneous coordinates
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
Single-view geometry Odilon Redon, Cyclops, 1914.
The Image Formation Pipeline
3D Urban Modeling Marc Pollefeys Jan-Michael Frahm, Philippos Mordohai Fall 2006 / Comp Tue & Thu 14:00-15:15.
Camera models and calibration Read tutorial chapter 2 and 3.1 Szeliski’s book pp
Projective 2D geometry course 2 Multiple View Geometry Comp Marc Pollefeys.
Computer Vision Calibration Marc Pollefeys COMP 256 Read F&P Chapter 2 Some slides/illustrations from Ponce, Hartley & Zisserman.
Project Geometry Jiecai He (Jake)
Projective 2D geometry course 2 Multiple View Geometry Comp Marc Pollefeys.
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.
875: Recent Advances in Geometric Computer Vision & Recognition Jan-Michael Frahm Fall 2011.
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.
Pole/polar consider projective geometry again we may want to compute the tangents of a curve that pass through a point (e.g., visibility) let C be a conic.
Projective Geometry. Projection Vanishing lines m and n.
Objects at infinity used in calibration
Projective 3D geometry class 4
Geometric Camera Models
Day x: Infinity DLT alg HZ 4.1 Rectification HZ 2.7 Hierarchy of maps Invariants HZ 2.4 Projective transform HZ 2.3 Behaviour at infinity Primitives pt/line/conic.
Two-view geometry Epipolar geometry F-matrix comp. 3D reconstruction
Computer Vision cmput 499/615
1 Chapter 2: Geometric Camera Models Objective: Formulate the geometrical relationships between image and scene measurements Scene: a 3-D function, g(x,y,z)
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.
Computer vision: models, learning and inference M Ahad Multiple Cameras
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.
1 Overview Introduction to projective geometry 1 view geometry (calibration, …) 2-view geometry (stereo, motion, …) 3- and N-view geometry Autocalibration.
Single-view geometry Odilon Redon, Cyclops, 1914.
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.
Calibration ECE 847: Digital Image Processing Stan Birchfield Clemson University.
Epipolar geometry.
CS Visual Recognition Projective Geometry Projective Geometry is a mathematical framework describing image formation by perspective camera. Under.
3D reconstruction class 11
Presentation transcript:

3D photography Marc Pollefeys Fall 2004 / Comp Tue & Thu 9:30-10:45

Material On-line “shape-from-video” tutorial: Slides, notes, papers and references see course webpage (later):

Learning approach In the first part of the class the main 3D photography approaches will be covered in detail. A few programming assignments will be given to support this. In the second part of the class students will present and discuss relevant papers to explore the state-of-the-art. Small groups of students or individual students will build 3D photography systems as course projects. Grade distribution Assignments: 25% Paper presentation and class participation: 25% Course project: 50%

Papers and discussion Will cover recent state of the art Each student will present paper, discussion List on website (later), own suggestions Some shared class sessions with Leonard’s Data-Driven Modeling in Computer Graphics

Course project: Build your own 3D scanner! (or something like that) Example: Bouguet ICCV’98 Students can work in group or alone Start thinking of your project today!

3D photography course schedule (tentative) Aug 24, 26(no course) Aug.31,Sep.2(no course) Sep. 7, 9(no course) Sep. 14, 16Camera Model and GeometryCamera Calibration (assignment 1) Feb. 21, 23Single-view metrologyFeature tracking/matching (assignment 2) Feb. 28, 30Triangulation and reconstruction Epipolar geometry (assignment 3) Oct. 5, 7StereoStructured-light Oct. 12, 14Structure-from-motion I(fall break) Oct. 19, 21Structure-from-motion IIAdvanced calibration Oct. 26, 28Shape-from-SilhouettesSpace-carving Nov. 2, 4Shape-from-X3D modeling and texturing Nov. 9, 11papers & discussion Nov. 16, 18papers & discussion Nov. 23, 25papers & discussion(Thanksgiving) Nov.30,Dec.2Project demonstrationsproject demonstrations

Projective Geometry and Camera model Class 2 points, lines, planes conics and quadrics transformations camera model Read tutorial chapter 2 and 3.1

Homogeneous coordinates Homogeneous representation of 2D points and lines equivalence class of vectors, any vector is representative Set of all equivalence classes in R 3  (0,0,0) T forms P 2 The point x lies on the line l if and only if Homogeneous coordinates Inhomogeneous coordinates but only 2DOF Note that scale is unimportant for incidence relation

Points from lines and vice-versa Intersections of lines The intersection of two lines and is Line joining two points The line through two points and is Example Note: with

Ideal points and the line at infinity Intersections of parallel lines Example Ideal points Line at infinity tangent vector normal direction Note that in P 2 there is no distinction between ideal points and others

3D points and planes Homogeneous representation of 3D points and planes The point X lies on the plane π if and only if The plane π goes through the point X if and only if

Planes from points (solve as right nullspace of )

Points from planes (solve as right nullspace of ) Representing a plane by its span

Lines Example: X -axis (4dof) Representing a line by its span Dual representation (Alternative: Plücker representation, details see e.g. H&Z)

Points, lines and planes

Plücker coordinates Elegant representation for 3D lines (Plücker internal constraint) (two lines intersect) (for more details see e.g. H&Z) (with A and B points)

Conics Curve described by 2 nd -degree equation in the plane or homogenized or in matrix form with 5DOF:

Five points define a conic For each point the conic passes through or stacking constraints yields

Tangent lines to conics The line l tangent to C at point x on C is given by l=Cx l x C

Dual conics A line tangent to the conic C satisfies Dual conics = line conics = conic envelopes In general ( C full rank):

Degenerate conics A conic is degenerate if matrix C is not of full rank e.g. two lines (rank 2) e.g. repeated line (rank 1) Degenerate line conics: 2 points (rank 2), double point (rank1) Note that for degenerate conics

Quadrics and dual quadrics ( Q : 4x4 symmetric matrix) 9 d.o.f. in general 9 points define quadric det Q=0 ↔ degenerate quadric tangent plane relation to quadric (non-degenerate)

2D projective transformations A projectivity is an invertible mapping h from P 2 to itself such that three points x 1,x 2,x 3 lie on the same line if and only if h(x 1 ),h(x 2 ),h(x 3 ) do. Definition: A mapping h : P 2  P 2 is a projectivity if and only if there exist a non-singular 3x3 matrix H such that for any point in P 2 reprented by a vector x it is true that h(x)=Hx Theorem: Definition: Projective transformation or 8DOF projectivity=collineation=projective transformation=homography

Transformation of 2D points, lines and conics Transformation for lines Transformation for conics Transformation for dual conics For a point transformation

Fixed points and lines (eigenvectors H =fixed points) (eigenvectors H - T =fixed lines) ( 1 = 2  pointwise fixed line)

Hierarchy of 2D transformations Projective 8dof Affine 6dof Similarity 4dof Euclidean 3dof Concurrency, collinearity, order of contact (intersection, tangency, inflection, etc.), cross ratio Parallellism, ratio of areas, ratio of lengths on parallel lines (e.g midpoints), linear combinations of vectors (centroids). The line at infinity l ∞ Ratios of lengths, angles. The circular points I,J lengths, areas. invariants transformed squares

The line at infinity The line at infinity l  is a fixed line under a projective transformation H if and only if H is an affinity Note: not fixed pointwise

Affine properties from images projection rectification

Affine rectification v1v1 v2v2 l1l1 l2l2 l4l4 l3l3 l∞l∞

The circular points The circular points I, J are fixed points under the projective transformation H iff H is a similarity

The circular points “circular points” l∞l∞ Algebraically, encodes orthogonal directions

Conic dual to the circular points The dual conic is fixed conic under the projective transformation H iff H is a similarity Note: has 4DOF l ∞ is the nullvector l∞l∞

Angles Euclidean: Projective: (orthogonal)

Transformation of 3D points, planes and quadrics Transformation for lines Transformation for conics Transformation for dual conics For a point transformation(cfr. 2D equivalent)

Hierarchy of 3D transformations Projective 15dof Affine 12dof Similarity 7dof Euclidean 6dof Intersection and tangency Parallellism of planes, Volume ratios, centroids, The plane at infinity π ∞ Angles, ratios of length The absolute conic Ω ∞ Volume

The plane at infinity The plane at infinity π  is a fixed plane under a projective transformation H iff H is an affinity 1.canical position 2.contains directions 3.two planes are parallel  line of intersection in π ∞ 4.line // line (or plane)  point of intersection in π ∞

The absolute conic The absolute conic Ω ∞ is a fixed conic under the projective transformation H iff H is a similarity The absolute conic Ω ∞ is a (point) conic on π . In a metric frame: or conic for directions: (with no real points) 1.Ω ∞ is only fixed as a set 2.Circle intersect Ω ∞ in two circular points 3.Spheres intersect π ∞ in Ω ∞

The absolute conic Euclidean : Projective: (orthogonality=conjugacy) plane normal

The absolute dual quadric The absolute conic Ω * ∞ is a fixed conic under the projective transformation H iff H is a similarity 1.8 dof 2.plane at infinity π ∞ is the nullvector of Ω ∞ 3.Angles:

Camera model Relation between pixels and rays in space ?

Pinhole camera

Pinhole camera model linear projection in homogeneous coordinates!

Pinhole camera model

Principal point offset principal point

Principal point offset calibration matrix

Camera rotation and translation ~

CCD camera

General projective camera non-singular 11 dof (5+3+3) intrinsic camera parameters extrinsic camera parameters

Radial distortion Due to spherical lenses (cheap) Model: R R straight lines are not straight anymore

Camera model Relation between pixels and rays in space ?

Projector model Relation between pixels and rays in space (dual of camera) (main geometric difference is vertical principal point offset to reduce keystone effect) ?

Affine cameras

Next class: Camera calibration