Previously Two view geometry: epipolar geometry Stereo vision: 3D reconstruction epipolar lines Baseline O O’ epipolar plane.

Slides:



Advertisements
Similar presentations
Epipolar Geometry.
Advertisements

3D Geometry for Computer Graphics
Announcements. Structure-from-Motion Determining the 3-D structure of the world, and/or the motion of a camera using a sequence of images taken by a moving.
The fundamental matrix F
Invariants (continued).
Introduction to Computer Vision 3D Vision Lecture 4 Calibration CSc80000 Section 2 Spring 2005 Professor Zhigang Zhu, Rm 4439
3D reconstruction.
3D Reconstruction – Factorization Method Seong-Wook Joo KG-VISA 3/10/2004.
Computer vision: models, learning and inference
Projective Geometry- 3D
Two-View Geometry CS Sastry and Yang
Slides by Olga Sorkine, Tel Aviv University. 2 The plan today Singular Value Decomposition  Basic intuition  Formal definition  Applications.
Camera calibration and epipolar geometry
Vision, Video And Virtual Reality 3D Vision Lecture 13 Calibration CSC 59866CD Fall 2004 Zhigang Zhu, NAC 8/203A
Structure from motion.
Computer Graphics Recitation 5.
3D Geometry for Computer Graphics
Multiple View Geometry Marc Pollefeys University of North Carolina at Chapel Hill Modified by Philippos Mordohai.
Geometry of Images Pinhole camera, projection A taste of projective geometry Two view geometry:  Homography  Epipolar geometry, the essential matrix.
Motion Analysis (contd.) Slides are from RPI Registration Class.
Structure-from-Motion Determining the 3-D structure of the world, and/or the motion of a camera using a sequence of images taken by a moving camera. –Equivalently,
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.
Multiple-view Reconstruction from Points and Lines
3D reconstruction of cameras and structure x i = PX i x’ i = P’X i.
© 2003 by Davi GeigerComputer Vision October 2003 L1.1 Structure-from-EgoMotion (based on notes from David Jacobs, CS-Maryland) Determining the 3-D structure.
3D Geometry for Computer Graphics
Stockman MSU/CSE Math models 3D to 2D Affine transformations in 3D; Projections 3D to 2D; Derivation of camera matrix form.
CSCE 641 Computer Graphics: Image-based Modeling (Cont.) Jinxiang Chai.
3-D Scene u u’u’ Study the mathematical relations between corresponding image points. “Corresponding” means originated from the same 3D point. Objective.
Multi-view geometry. Multi-view geometry problems Structure: Given projections of the same 3D point in two or more images, compute the 3D coordinates.
Computer vision: models, learning and inference
Lecture 11 Stereo Reconstruction I Lecture 11 Stereo Reconstruction I Mata kuliah: T Computer Vision Tahun: 2010.
Camera Geometry and Calibration Thanks to Martial Hebert.
Epipolar geometry The fundamental matrix and the tensor
© 2005 Yusuf Akgul Gebze Institute of Technology Department of Computer Engineering Computer Vision Geometric Camera Calibration.
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.
Course 12 Calibration. 1.Introduction In theoretic discussions, we have assumed: Camera is located at the origin of coordinate system of scene.
Geometric Models & Camera Calibration
CSCE 643 Computer Vision: Structure from Motion
Affine Structure from Motion
Single-view geometry Odilon Redon, Cyclops, 1914.
EECS 274 Computer Vision Affine Structure from Motion.
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)
3D Computer Vision and Video Computing 3D Vision Topic 2 of Part II Calibration CSc I6716 Fall 2009 Zhigang Zhu, City College of New York
776 Computer Vision Jan-Michael Frahm & Enrique Dunn Spring 2013.
Structure from Motion ECE 847: Digital Image Processing
3D Computer Vision and Video Computing 3D Vision Topic 2 of Part II Calibration CSc I6716 Spring2013 Zhigang Zhu, City College of New York
MASKS © 2004 Invitation to 3D vision Uncalibrated Camera Chapter 6 Reconstruction from Two Uncalibrated Views Modified by L A Rønningen Oct 2008.
Reconstruction from Two Calibrated Views Two-View Geometry
Uncalibrated reconstruction Calibration with a rig Uncalibrated epipolar geometry Ambiguities in image formation Stratified reconstruction Autocalibration.
Structure from Motion Paul Heckbert, Nov , Image-Based Modeling and Rendering.
Instructor: Mircea Nicolescu Lecture 8 CS 485 / 685 Computer Vision.
3D Computer Vision and Video Computing 3D Vision Topic 3 of Part II Calibration CSc I6716 Spring 2008 Zhigang Zhu, City College of New York
Instructor: Mircea Nicolescu Lecture 9
EECS 274 Computer Vision Projective Structure from Motion.
55:148 Digital Image Processing Chapter 11 3D Vision, Geometry
René Vidal and Xiaodong Fan Center for Imaging Science
Homogeneous Coordinates (Projective Space)
Two-view geometry Computer Vision Spring 2018, Lecture 10
Epipolar geometry.
3D Photography: Epipolar geometry
Structure from motion Input: Output: (Tomasi and Kanade)
Computer Graphics Recitation 12.
Uncalibrated Geometry & Stratification
George Mason University
Structure from motion Input: Output: (Tomasi and Kanade)
Presentation transcript:

Previously Two view geometry: epipolar geometry Stereo vision: 3D reconstruction epipolar lines Baseline O O’ epipolar plane

Today Orthographic projection Two views 3 Views: geometric interpretation >3 Views: factorization – simultaneous recovery of motion and shape

Orthographic Projection (Reminder) Parallel projection rays, orthogonal to image plane Focal center at infinity

Two Views Implies that Eliminating Z Since Therefore

Epipolar lines This is a linear equation

Further Simplification Select one point in first image and its corresponding point in the second image to be the origin of the two images In this coordinate frame translation is 0 Expression for epipolar lines:

Epipolar Line Recovery We need 4 corresponding points: 1 to eliminate translation 3 to determine the 4 components of R up to scale The rest of the components cannot be determined In particular, cannot be determined from, because these components are known only up to scale

Shape Recovery from Two Views Perspective:  Translation recovered up to scale  3D shape recovered up to scale  Recovery only if non-zero translation  No calibration – recovery up to a projective transformation (“projective shape”) Orthographic:  Rotation along epipolar line cannot be recovered  3D shape cannot be recovered  Recovery is possible up to an affine transformation (“affine shape”)  Recovery only if non-trivial rotation  Translation along line at infinity = rotation

Recovery from Three Views Under orthographic projection metric recovery is possible from three views Only rotation matters Rotation has three degrees of freedom Given an image, one rotation is in the image and two are out of plane rotations Ignoring the in-plane rotation we can associate the image with a point on the unit sphere

Recovery from Three Views Im1 Im2 Im3

Recovery from Three Views    a b c Im1 Im2 Im3

Recovery from Three Views a, b, c are unknown – rotation angles  are known – angles between epipolar lines Can we determine lengths from angles?    a b c

Recovery from Three Views In the plane the angles determine the sides of a triangle up to scale      

Recovery from Three Views On a sphere the sides are determined completely by the angles Therefore three views determine all the components of rotation (up to reflection) Sides (rotation angles) can be computed using the analogue of the cosine theorem on the sphere Once the rotation is known structure can be recovered    a b c

Factorization Simultaneous recovery of shape and motion Input:  A video sequence  Tracked feature points Assumptions:  Rigid scene  Orthographic projection  All tracked points appear in all frames Observation: tracked point locations satisfy linear relations that can be exploited for robust recovery

Singular Value Decomposition (SVD) Every real matrix can be decomposed to a product of three matrices: With   diagonal  U,V orthonormal U orthonormal basis to row space of M V orthonormal basis to column space of M

Singular Value Decomposition (SVD) or are called the singular values

Relation to Eigenvalue Problems

Singular Value Decomposition (SVD) Rank k least squares approximation of M Example: k=3  Take the 3 largest singular values:  Rank 3 approximation of M:

Factorization Goal: given p corresponding points in f frames, compute the 3-D location of each point and the transformation between the frames MeasurementsTransformationShape (3-D locations)

Factorization Step 1: eliminate translation Set the centroid of the points in each frame to be the origin Now

Factorization Constructing M :

Factorization Constructing M :

Factorization Constructing M :

Factorization Constructing M :

Factorization Constructing M :

Factorization Goal: given M, find S and T What should rank(M) be?

Factorization Goal: given M, find S and T Compute the SVD of M  rank(M) should be 3, since rank(T)=rank(S)=3  Noise cleaning: find the rank 3 approximation of M using the 3 largest singular values

So far: Define The decomposition can now be written as Factorization is not unique, since, A invertible Factorization

T should contain valid rotations 3f equations, 6 unknowns:  Each row is defined as  And should maintain Factorization

is 3x3, symmetric Linear system of equations in 6 unknowns Once B is recovered it can be factored to find A Solution is unique up to a global rotation

Input: tracked sequence Eliminate translation, produce M Use SVD to find the rank 3 approximation of M Factorization ambiguous, up to invertible matrix Find matrix A such that T contains valid rotations Solution is unique (up to a global rotation) Output: motion, shape Factorization (Algorithm)

Factorization Advantages  Simultaneous recovery of shape and motion  Simple algorithm, based on linear equations  Robust to noise Disadvantages  Orthographic projection  All points should appear in all frames (factorization with missing data is difficult)

Summary Shape and motion recovery under orthographic projection Two views:  Parallel epipolar lines  4 corresponding points are needed  Recovery of affine shape Three or more views  Metric recovery  Simultaneous recovery of shape and motion using SVD factorization