Camera Model & Camera Calibration

Slides:



Advertisements
Similar presentations
Camera Calibration.
Advertisements

Single-view geometry Odilon Redon, Cyclops, 1914.
3D reconstruction.
Institut für Elektrische Meßtechnik und Meßsignalverarbeitung Professor Horst Cerjak, Augmented Reality VU 2 Calibration Axel Pinz.
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.
Computer vision: models, learning and inference
Camera Calibration. Issues: what are intrinsic parameters of the camera? what is the camera matrix? (intrinsic+extrinsic) General strategy: view calibration.
Camera Models CMPUT 498/613 Richard Hartley and Andrew Zisserman, Multiple View Geometry, Cambridge University Publishers, 2000 Readings: HZ Ch 6, 7.
Camera calibration and epipolar geometry
More on single-view geometry class 10 Multiple View Geometry Comp Marc Pollefeys.
Multiple View Geometry Marc Pollefeys University of North Carolina at Chapel Hill Modified by Philippos Mordohai.
Used slides/content with permission from
Parameter estimation class 5 Multiple View Geometry Comp Marc Pollefeys.
Projective geometry- 2D Acknowledgements Marc Pollefeys: for allowing the use of his excellent slides on this topic
Uncalibrated Geometry & Stratification Sastry and Yang
Computer Vision : CISC4/689
Camera models and single view geometry. Camera model.
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.
Cameras and Projections Dan Witzner Hansen Course web page:
CMPUT 412 3D Computer Vision Presented by Azad Shademan Feb , 2007.
Computer Vision : CISC4/689
Camera Models class 8 Multiple View Geometry Comp Marc Pollefeys.
Camera calibration and single view metrology Class 4 Read Zhang’s paper on calibration
Single-view geometry Odilon Redon, Cyclops, 1914.
Multiple View Geometry Marc Pollefeys University of North Carolina at Chapel Hill Modified by Philippos Mordohai.
More on single-view geometry class 10 Multiple View Geometry Comp Marc Pollefeys.
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
3D photography Marc Pollefeys Fall 2004 / Comp Tue & Thu 9:30-10:45
Camera parameters Extrinisic parameters define location and orientation of camera reference frame with respect to world frame Intrinsic parameters define.
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.
Multiple View Geometry Marc Pollefeys University of North Carolina at Chapel Hill Modified by Philippos Mordohai.
Geometria della telecamera. the image of a point P belongs to the line (P,O) p P O p = image of P = image plane ∩ line(O,P) interpretation line of p:
776 Computer Vision Jan-Michael Frahm, Enrique Dunn Spring 2013.
Projective Geometry and Camera Models
Introduction à la vision artificielle III Jean Ponce
Epipolar geometry The fundamental matrix and the tensor
Camera Calibration class 9 Multiple View Geometry Comp Marc Pollefeys.
© 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
Projective 3D geometry class 4
Vision Review: Image Formation Course web page: September 10, 2002.
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.
Computer Vision : CISC 4/689 Going Back a little Cameras.ppt.
Single-view geometry Odilon Redon, Cyclops, 1914.
Ch. 3: Geometric Camera Calibration
ROBOT VISION Lesson 4: Camera Models and Calibration Matthias Rüther Slides partial courtesy of Marc Pollefeys Department of Computer Science University.
Part II Plane Equation and Epipolar Geometry. Duality.
Single-view geometry Odilon Redon, Cyclops, 1914.
Uncalibrated reconstruction Calibration with a rig Uncalibrated epipolar geometry Ambiguities in image formation Stratified reconstruction Autocalibration.
More on single-view geometry class 10 Multiple View Geometry Comp Marc Pollefeys.
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
Camera Calibration Course web page: vision.cis.udel.edu/cv March 24, 2003  Lecture 17.
Projective 2D geometry course 2 Multiple View Geometry Comp Marc Pollefeys.
Calibrating a single camera
Homogeneous Coordinates (Projective Space)
Epipolar geometry.
More on single-view geometry class 10
Multiple View Geometry Comp Marc Pollefeys
Camera Calibration class 9
Uncalibrated Geometry & Stratification
Single-view geometry Odilon Redon, Cyclops, 1914.
Presentation transcript:

Camera Model & Camera Calibration Slides are from Marc Pollefeys @ETH

Pinhole camera model

Pinhole camera model

Principal point offset

Principal point offset calibration matrix

Camera rotation and translation

CCD camera

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

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

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

Affine cameras

Camera calibration

Resectioning

Basic equations

Basic equations n  6 points minimal solution P has 11 dof, 2 independent eq./points 5½ correspondences needed (say 6) Over-determined solution n  6 points minimize subject to constraint

Degenerate configurations More complicate than 2D case Camera and points on a twisted cubic Points lie on plane or single line passing through projection center

Data normalization Less obvious (i) Simple, as before (ii) Anisotropic scaling

Geometric error

Gold Standard algorithm Objective Given n≥6 2D to 2D point correspondences {Xi↔xi’}, determine the Maximum Likelyhood Estimation of P Algorithm Linear solution: Normalization: DLT: Minimization of geometric error: using the linear estimate as a starting point minimize the geometric error: Denormalization: ~

Calibration example Canny edge detection Straight line fitting to the detected edges Intersecting the lines to obtain the images corners typically precision <1/10 (HZ rule of thumb: 5n constraints for n unknowns

Errors in the world Errors in the image and in the world

Radial distortion short and long focal length

Correction of distortion Choice of the distortion function and center Computing the parameters of the distortion function Minimize with additional unknowns Straighten lines …