Geometric Camera Models and Camera Calibration

Slides:



Advertisements
Similar presentations
Single-view geometry Odilon Redon, Cyclops, 1914.
Advertisements

Computer Vision, Robert Pless
Computer vision: models, learning and inference
Two-view geometry.
Camera Calibration. Issues: what are intrinsic parameters of the camera? what is the camera matrix? (intrinsic+extrinsic) General strategy: view calibration.
Computer vision. Camera Calibration Camera Calibration ToolBox – Intrinsic parameters Focal length: The focal length in pixels is stored in the.
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.
3D Computer Vision and Video Computing 3D Vision Topic 3 of Part II Stereo Vision CSc I6716 Spring 2011 Zhigang Zhu, City College of New York
Structure from motion.
Stanford CS223B Computer Vision, Winter 2005 Lecture 5: Stereo I Sebastian Thrun, Stanford Rick Szeliski, Microsoft Hendrik Dahlkamp and Dan Morris, Stanford.
1 Basic geometric concepts to understand Affine, Euclidean geometries (inhomogeneous coordinates) projective geometry (homogeneous coordinates) plane at.
MSU CSE 240 Fall 2003 Stockman CV: 3D to 2D mathematics Perspective transformation; camera calibration; stereo computation; and more.
Stanford CS223B Computer Vision, Winter 2006 Lecture 5 Stereo I
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
CS485/685 Computer Vision Prof. George Bebis
Calibration Dorit Moshe.
Previously Two view geometry: epipolar geometry Stereo vision: 3D reconstruction epipolar lines Baseline O O’ epipolar plane.
3D Computer Vision and Video Computing 3D Vision Topic 4 of Part II Stereo Vision CSc I6716 Spring 2008 Zhigang Zhu, City College of New York
3D Computer Vision and Video Computing 3D Vision Lecture 15 Stereo Vision (II) CSC 59866CD Fall 2004 Zhigang Zhu, NAC 8/203A
Single-view geometry Odilon Redon, Cyclops, 1914.
3D Computer Vision and Video Computing 3D Vision Lecture 14 Stereo Vision (I) CSC 59866CD Fall 2004 Zhigang Zhu, NAC 8/203A
The Pinhole Camera Model
Projected image of a cube. Classical Calibration.
CS4670 / 5670: Computer Vision KavitaBala Lecture 15: Projection “The School of Athens,” Raphael.
Camera parameters Extrinisic parameters define location and orientation of camera reference frame with respect to world frame Intrinsic parameters define.
1 Digital Images WorldCameraDigitizer Digital Image (i) What determines where the image of a 3D point appears on the 2D image? (ii) What determines how.
Stereo Sebastian Thrun, Gary Bradski, Daniel Russakoff Stanford CS223B Computer Vision (with slides by James Rehg and.
Cameras, lenses, and calibration
Image formation & Geometrical Transforms Francisco Gómez J MMS U. Central y UJTL.
CSE 6367 Computer Vision Stereo Reconstruction Camera Coordinate Transformations “Everything should be made as simple as possible, but not simpler.” Albert.
Multi-view geometry. Multi-view geometry problems Structure: Given projections of the same 3D point in two or more images, compute the 3D coordinates.
776 Computer Vision Jan-Michael Frahm, Enrique Dunn Spring 2013.
Camera Geometry and Calibration Thanks to Martial Hebert.
Multi-view geometry.
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
Digital Image Processing CCS331
Geometric Camera Models
Vision Review: Image Formation Course web page: September 10, 2002.
Peripheral drift illusion. Multiple views Hartley and Zisserman Lowe stereo vision structure from motion optical flow.
Lecture 03 15/11/2011 Shai Avidan הבהרה : החומר המחייב הוא החומר הנלמד בכיתה ולא זה המופיע / לא מופיע במצגת.
Computer Vision Stereo Vision. Bahadir K. Gunturk2 Pinhole Camera.
Affine Structure from Motion
Single-view geometry Odilon Redon, Cyclops, 1914.
Camera Calibration Sebastian Thrun, Gary Bradski, Daniel Russakoff Stanford CS223B Computer Vision (with material from.
CS-498 Computer Vision Week 7, Day 2 Camera Parameters Intrinsic Calibration  Linear  Radial Distortion (Extrinsic Calibration?) 1.
Bahadir K. Gunturk1 Phase Correlation Bahadir K. Gunturk2 Phase Correlation Take cross correlation Take inverse Fourier transform  Location of the impulse.
Two-view geometry. Epipolar Plane – plane containing baseline (1D family) Epipoles = intersections of baseline with image planes = projections of the.
Geometric Transformations
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)
Computer vision: models, learning and inference M Ahad Multiple Cameras
Single-view geometry Odilon Redon, Cyclops, 1914.
Geometry Reconstruction March 22, Fundamental Matrix An important problem: Determine the epipolar geometry. That is, the correspondence between.
Stereo March 8, 2007 Suggested Reading: Horn Chapter 13.
Camera Calibration Course web page: vision.cis.udel.edu/cv March 24, 2003  Lecture 17.
Multi-view geometry. Multi-view geometry problems Structure: Given projections of the same 3D point in two or more images, compute the 3D coordinates.
Nazar Khan PUCIT Lecture 19
Computer vision: models, learning and inference
GEOMETRIC CAMERA MODELS
Geometric Camera Models
Multiple View Geometry for Robotics
Two-view geometry.
Reflections in Coordinate Plane
Two-view geometry.
Single-view geometry Odilon Redon, Cyclops, 1914.
The Pinhole Camera Model
Presentation transcript:

Geometric Camera Models and Camera Calibration Computer Vision Geometric Camera Models and Camera Calibration

Coordinate Systems Let O be the origin of a 3D coordinate system spanned by the unit vectors i, j, and k orthogonal to each other. i P O k j Coordinate vector Bahadir K. Gunturk

Homogeneous Coordinates P O Homogeneous coordinates Bahadir K. Gunturk

Coordinate System Changes Translation Bahadir K. Gunturk

Coordinate System Changes Rotation where Exercise: Write the rotation matrix for a 2D coordinate system. Bahadir K. Gunturk

Coordinate System Changes Rotation + Translation In homogeneous coordinates Rigid transformation matrix Bahadir K. Gunturk

Perspective Projection Perspective projection equations Bahadir K. Gunturk

Intrinsic Camera Parameters Perspective projection Bahadir K. Gunturk

Intrinsic Camera Parameters We need take into account the dimensions of the pixels. CCD sensor array Bahadir K. Gunturk

Intrinsic Camera Parameters The center of the sensor chip may not coincide with the pinhole center. Bahadir K. Gunturk

Intrinsic Camera Parameters The camera coordinate system may be skewed due to some manufacturing error. Bahadir K. Gunturk

Intrinsic Camera Parameters In homogeneous coordinates These five parameters are known as intrinsic parameters Bahadir K. Gunturk

Intrinsic Camera Parameters In a simpler notation: With respect to the camera coordinate system Bahadir K. Gunturk

Extrinsic Camera Parameters Translation and rotation of the camera frame with respect to the world frame In homogeneous coordinates Using , we get Bahadir K. Gunturk

Combine Intrinsic & Extrinsic Parameters We can further simplify to 3x4 matrix with 11 degrees of freedom: 5 intrinsic, 3 rotation, and 3 translation parameters. Bahadir K. Gunturk

Camera Calibration Camera’s intrinsic and extrinsic parameters are found using a setup with known positions in some fixed world coordinate system. Bahadir K. Gunturk

Camera Calibration Y Z X courtesy of B. Wilburn Bahadir K. Gunturk

Camera Calibration Mathematically, we are given n points We want to find M and where Bahadir K. Gunturk

Camera Calibration We can write Bahadir K. Gunturk

Camera Calibration Scale and subtract last row from first and second rows to get Bahadir K. Gunturk

Camera Calibration Write in matrix form for n points to get Let m34=1; that is, scale the projection matrix by m34. Bahadir K. Gunturk

Camera Calibration The least square solution of is From the matrix M, we can find the intrinsic and extrinsic parameters. Bahadir K. Gunturk

Camera Calibration Consider the case where skew angle is 90. Since we set m34=1, we need to take that into account at the end. Notice that Since R is a rotation matrix, Therefore, Bahadir K. Gunturk

Camera Calibration We get See Forsyth & Ponce for details and skew-angle case. Bahadir K. Gunturk

Applications courtesy of Sportvision First-down line Bahadir K. Gunturk

Applications courtesy of Princeton Video Image Virtual advertising Bahadir K. Gunturk

Parameters of a Stereo System l r P Ol Or Xl Xr Pl Pr fl fr Zl Yl Zr Yr R, T Intrinsic Parameters Characterize the transformation from camera to pixel coordinate systems of each camera Focal length, image center, aspect ratio Extrinsic parameters Describe the relative position and orientation of the two cameras Rotation matrix R and translation vector T Bahadir K. Gunturk

Calibrated Camera Essential matrix Bahadir K. Gunturk

Uncalibrated Camera Fundamental matrix Bahadir K. Gunturk