Camera Models class 8 Multiple View Geometry Comp 290-089 Marc Pollefeys.

Slides:



Advertisements
Similar presentations
Projective 3D geometry class 4
Advertisements

Epipolar Geometry.
Lecture 11: Two-view geometry
3D reconstruction.
Computing 3-view Geometry Class 18
3D Reconstruction – Factorization Method Seong-Wook Joo KG-VISA 3/10/2004.
Camera Models CMPUT 498/613 Richard Hartley and Andrew Zisserman, Multiple View Geometry, Cambridge University Publishers, 2000 Readings: HZ Ch 6, 7.
Epipolar Geometry class 11 Multiple View Geometry Comp Marc Pollefeys.
Camera calibration and epipolar geometry
Camera Models A camera is a mapping between the 3D world and a 2D image The principal camera of interest is central projection.
Structure from motion.
Scene Planes and Homographies class 16 Multiple View Geometry Comp Marc Pollefeys.
More on single-view geometry class 10 Multiple View Geometry Comp Marc Pollefeys.
1 Basic geometric concepts to understand Affine, Euclidean geometries (inhomogeneous coordinates) projective geometry (homogeneous coordinates) plane at.
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.
3D reconstruction class 11
Projective 2D geometry (cont’) course 3
Used slides/content with permission from
Parameter estimation class 5 Multiple View Geometry Comp Marc Pollefeys.
Computing F and rectification class 14 Multiple View Geometry Comp Marc Pollefeys.
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
Parameter estimation class 6 Multiple View Geometry Comp Marc Pollefeys.
Multiple View Geometry Comp Marc Pollefeys
Camera model Relation between pixels and rays in space ?
Multiple View Geometry Marc Pollefeys University of North Carolina at Chapel Hill Modified by Philippos Mordohai.
3D photography Marc Pollefeys Fall 2007
Multiple View Geometry Marc Pollefeys University of North Carolina at Chapel Hill Modified by Philippos Mordohai.
Multiple View Geometry in Computer Vision
Cameras and Projections Dan Witzner Hansen Course web page:
CMPUT 412 3D Computer Vision Presented by Azad Shademan Feb , 2007.
Assignment 2 Compute F automatically from image pair (putative matches, 8-point, 7-point, iterative, RANSAC, guided matching) (due by Wednesday 19/03/03)
Previously Two view geometry: epipolar geometry Stereo vision: 3D reconstruction epipolar lines Baseline O O’ epipolar plane.
 -Linearities and Multiple View Tensors Class 19 Multiple View Geometry Comp Marc Pollefeys.
The Pinhole Camera Model
More on single-view geometry class 10 Multiple View Geometry Comp Marc Pollefeys.
Multiple View Reconstruction Class 23 Multiple View Geometry Comp Marc Pollefeys.
Algorithm Evaluation and Error Analysis class 7 Multiple View Geometry Comp Marc Pollefeys.
3D photography Marc Pollefeys Fall 2004 / Comp Tue & Thu 9:30-10:45
Camera Calibration class 9 Multiple View Geometry Comp Marc Pollefeys.
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.
The Trifocal Tensor Class 17 Multiple View Geometry Comp Marc Pollefeys.
Projective 2D geometry course 2 Multiple View Geometry Comp Marc Pollefeys.
Multiple View Geometry in Computer Vision Slides modified from Marc Pollefeys’ online course materials Lecturer: Prof. Dezhen Song.
Projective Geometry and Camera Models
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.
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
Camera Model & Camera Calibration
Parameter estimation. 2D homography Given a set of (x i,x i ’), compute H (x i ’=Hx i ) 3D to 2D camera projection Given a set of (X i,x i ), compute.
Camera diagram Computing K from 1 image HZ8.8 IAC and K HZ8.5 Camera matrix from F HZ9.5 IAC HZ , 8.5 Extracting camera parameters HZ6.2 Camera matrix.
ROBOT VISION Lesson 4: Camera Models and Calibration Matthias Rüther Slides partial courtesy of Marc Pollefeys Department of Computer Science University.
Uncalibrated reconstruction Calibration with a rig Uncalibrated epipolar geometry Ambiguities in image formation Stratified reconstruction Autocalibration.
EECS 274 Computer Vision Projective Structure from Motion.
Camera Models class 8 Multiple View Geometry Comp Marc Pollefeys.
Parameter estimation class 5 Multiple View Geometry CPSC 689 Slides modified from Marc Pollefeys’ Comp
Projective 2D geometry course 2 Multiple View Geometry Comp Marc Pollefeys.
55:148 Digital Image Processing Chapter 11 3D Vision, Geometry
Homogeneous Coordinates (Projective Space)
Parameter estimation class 5
Epipolar geometry.
Epipolar Geometry class 11
More on single-view geometry class 10
Multiple View Geometry Comp Marc Pollefeys
3D reconstruction class 11
Uncalibrated Geometry & Stratification
Parameter estimation class 6
Presentation transcript:

Camera Models class 8 Multiple View Geometry Comp Marc Pollefeys

Content Background: Projective geometry (2D, 3D), Parameter estimation, Algorithm evaluation. Single View: Camera model, Calibration, Single View Geometry. Two Views: Epipolar Geometry, 3D reconstruction, Computing F, Computing structure, Plane and homographies. Three Views: Trifocal Tensor, Computing T. More Views: N-Linearities, Multiple view reconstruction, Bundle adjustment, auto- calibration, Dynamic SfM, Cheirality, Duality

Multiple View Geometry course schedule (subject to change) Jan. 7, 9Intro & motivationProjective 2D Geometry Jan. 14, 16(no class)Projective 2D Geometry Jan. 21, 23Projective 3D Geometry(no class) Jan. 28, 30Parameter Estimation Feb. 4, 6Algorithm EvaluationCamera Models Feb. 11, 13Camera CalibrationSingle View Geometry Feb. 18, 20Epipolar Geometry3D reconstruction Feb. 25, 27Fund. Matrix Comp.Structure Comp. Mar. 4, 6Planes & HomographiesTrifocal Tensor Mar. 18, 20Three View ReconstructionMultiple View Geometry Mar. 25, 27MultipleView ReconstructionBundle adjustment Apr. 1, 3Auto-CalibrationPapers Apr. 8, 10Dynamic SfMPapers Apr. 15, 17CheiralityPapers Apr. 22, 24DualityProject Demos

N measurements (independent Gaussian noise   ) model with d essential parameters (use s=d and s=(N-d)) (i)RMS residual error for ML estimator (ii)RMS estimation error for ML estimator n X X X SMSM Error in two images

Backward propagation of covariance X f -1 P X  Over-parameterization J f v Forward propagation of covariance Monte-Carlo estimation of covariance

 =1 pixel  =0.5cm (Crimisi’97) Example:

Single view geometry Camera model Camera calibration Single view geom.

Pinhole camera model

Principal point offset principal point

Principal point offset calibration matrix

Camera rotation and translation

CCD camera

Finite projective camera non-singular 11 dof (5+3+3) decompose P in K,R,C? {finite cameras}={P 4x3 | det M≠0} If rank P=3, but rank M<3, then cam at infinity

Camera anatomy Camera center Column points Principal plane Axis plane Principal point Principal ray

Camera center null-space camera projection matrix For all A all points on AC project on image of A, therefore C is camera center Image of camera center is (0,0,0) T, i.e. undefined Finite cameras: Infinite cameras:

Column vectors Image points corresponding to X,Y,Z directions and origin

Row vectors note: p 1,p 2 dependent on image reparametrization

The principal point principal point

The principal axis vector vector defining front side of camera (direction unaffected) because

Action of projective camera on point Forward projection Back-projection (pseudo-inverse)

Depth of points (dot product) (PC=0) If, then m 3 unit vector in positive direction

Camera matrix decomposition Finding the camera center (use SVD to find null-space) Finding the camera orientation and internal parameters (use RQ decomposition ~QR) Q R =( ) -1 = Q R (if only QR, invert)

When is skew non-zero? 1  arctan(1/s) for CCD/CMOS, always s=0 Image from image, s≠0 possible (non coinciding principal axis) resulting camera:

Euclidean vs. projective general projective interpretation Meaningfull decomposition in K,R,t requires Euclidean image and space Camera center is still valid in projective space Principal plane requires affine image and space Principal ray requires affine image and Euclidean space

Cameras at infinity Camera center at infinity Affine and non-affine cameras Definition: affine camera has P 3T =(0,0,0,1)

Affine cameras

modifying p 34 corresponds to moving along principal ray

Affine cameras now adjust zoom to compensate

Error in employing affine cameras point on plane parallel with principal plane and through origin, then general points

Affine imaging conditions Approximation should only cause small error  much smaller than d 0 2.Points close to principal point (i.e. small field of view)

Decomposition of P ∞ absorb d 0 in K 2x2 alternatives, because 8dof (3+3+2), not more

Summary parallel projection canonical representation calibration matrix principal point is not defined

A hierarchy of affine cameras Orthographic projection Scaled orthographic projection (5dof) (6dof)

A hierarchy of affine cameras Weak perspective projection (7dof)

1.Affine camera=camera with principal plane coinciding with  ∞ 2.Affine camera maps parallel lines to parallel lines 3.No center of projection, but direction of projection P A D=0 (point on  ∞ ) A hierarchy of affine cameras Affine camera (8dof)

Pushbroom cameras Straight lines are not mapped to straight lines! (otherwise it would be a projective camera) (11dof)

Line cameras (5dof) Null-space PC=0 yields camera center Also decomposition

Next class: Camera calibration