Camera Model Calibration

Slides:



Advertisements
Similar presentations
Lecture 11: Two-view geometry
Advertisements

Computer vision: models, learning and inference
Mapping: Scaling Rotation Translation Warp
Computer vision. Camera Calibration Camera Calibration ToolBox – Intrinsic parameters Focal length: The focal length in pixels is stored in the.
CSc D Computer Vision – Ioannis Stamos 3-D Computer Vision CSc Camera Calibration.
Camera Models A camera is a mapping between the 3D world and a 2D image The principal camera of interest is central projection.
Vision, Video And Virtual Reality 3D Vision Lecture 13 Calibration CSC 59866CD Fall 2004 Zhigang Zhu, NAC 8/203A
Image alignment Image from
Structure from motion.
Some useful linear algebra. Linearly independent vectors span(V): span of vector space V is all linear combinations of vectors v i, i.e.
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.
Epipolar geometry. (i)Correspondence geometry: Given an image point x in the first view, how does this constrain the position of the corresponding point.
Uncalibrated Geometry & Stratification Sastry and Yang
CS485/685 Computer Vision Prof. George Bebis
COMP322/S2000/L221 Relationship between part, camera, and robot (cont’d) the inverse perspective transformation which is dependent on the focal length.
Multiple View Geometry Marc Pollefeys University of North Carolina at Chapel Hill Modified by Philippos Mordohai.
Lecture 12: Projection CS4670: Computer Vision Noah Snavely “The School of Athens,” Raphael.
Previously Two view geometry: epipolar geometry Stereo vision: 3D reconstruction epipolar lines Baseline O O’ epipolar plane.
COMP322/S2000/L23/L24/L251 Camera Calibration The most general case is that we have no knowledge of the camera parameters, i.e., its orientation, position,
The Pinhole Camera Model
Projected image of a cube. Classical Calibration.
MSU CSE 803 Fall 2008 Stockman1 CV: 3D sensing and calibration Coordinate system changes; perspective transformation; Stereo and structured light.
Camera Calibration CS485/685 Computer Vision Prof. Bebis.
Camera parameters Extrinisic parameters define location and orientation of camera reference frame with respect to world frame Intrinsic parameters define.
Stockman MSU/CSE Math models 3D to 2D Affine transformations in 3D; Projections 3D to 2D; Derivation of camera matrix form.
Cameras, lenses, and calibration
Computer vision: models, learning and inference
Camera Geometry and Calibration Thanks to Martial Hebert.
Epipolar geometry The fundamental matrix and the tensor
1 Preview At least two views are required to access the depth of a scene point and in turn to reconstruct scene structure Multiple views can be obtained.
© 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
Imaging Geometry for the Pinhole Camera Outline: Motivation |The pinhole camera.
CS654: Digital Image Analysis Lecture 8: Stereo Imaging.
Metrology 1.Perspective distortion. 2.Depth is lost.
Stereo Course web page: vision.cis.udel.edu/~cv April 11, 2003  Lecture 21.
Geometric Camera Models
1 Formation et Analyse d’Images Session 7 Daniela Hall 25 November 2004.
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 הבהרה : החומר המחייב הוא החומר הנלמד בכיתה ולא זה המופיע / לא מופיע במצגת.
CS-498 Computer Vision Week 7, Day 2 Camera Parameters Intrinsic Calibration  Linear  Radial Distortion (Extrinsic Calibration?) 1.
3D Imaging 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)
Reconnaissance d’objets et vision artificielle Jean Ponce Equipe-projet WILLOW ENS/INRIA/CNRS UMR 8548 Laboratoire.
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
Computer vision: models, learning and inference M Ahad Multiple Cameras
3D Reconstruction Using Image Sequence
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.
Stereo March 8, 2007 Suggested Reading: Horn Chapter 13.
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
55:148 Digital Image Processing Chapter 11 3D Vision, Geometry
Computer vision: models, learning and inference
Homogeneous Coordinates (Projective Space)
Two-view geometry Computer Vision Spring 2018, Lecture 10
Epipolar geometry.
Some useful linear algebra
Lecture 13: Cameras and geometry
Geometric Camera Models
Multiple View Geometry for Robotics
Uncalibrated Geometry & Stratification
Reconstruction.
The Pinhole Camera Model
Presentation transcript:

Camera Model Calibration Robot Vision Systems Camera Model Calibration

“perspectograph” Alberti’s Grid

Pinhole Camera scene image plane iris, optical center

Pinhole Camera “image coordinates”

Pinhole Camera “Alberti’s Grid”

Pinhole Camera Classical pin-hole x f r’ z

Classical Pinhole Camera Similar Triangles x f c’ z

Classical Pinhole Camera Similar Triangles x f c’ z Image coordinates Point expressed in the camera frame Camera matrix (projection) Projective coordinates

Classical Pinhole Camera Similar Triangles x f Convert pixels to mm: c’ z world

Camera Calibration Used to determine the elements in the camera matrix Use pairs of known world points and their corresponding image points e.g. use calibration grid

Camera Model – Perspective Projection Need to determine the parameters!

Camera Calibration camera matrix

Camera Calibration Projective Equivalence Two equations in 12 unknowns

Camera Calibration Have 6 point pairs (c,r) and (x,y,z) Correspondence known World coordinates known accurately

Camera Calibration Method 1: assume a34 = 0 and solve for aij Solve using pseudo-inverse

Camera Calibration Method 2: make no assumption about a34 and solve for aij The vector a = [a11, …, a34]T is in the nullspace of the design matrix

Camera Calibration Ba = 0, Use SVD, then a is the column of V corresponding to the null singular value of B One property of the SVD is that the columns of V corresponding to the zero singular value span the null space of B The vector a = [a11, …, a34]T is in the nullspace of the design matrix

Camera Calibration Given the camera matrix solved w.r.t. the robot base frame

Using the Camera Matrix Projection ( is 3 x 4)– cannot invert!

Measurements from Images Must have relationship between the image “pixels” and the world 2D imaging the image plane and the “world” plane are in 1-1 correspondence

Using the Camera Matrix in 2D If all world points are on a plane Then z is a linear function of x & y

Using the Camera Matrix in 2D Now the projection equations Can be written

Using the Camera Matrix in 2D Now the projection equations Can be written

Using the Camera Matrix in 2D Now the projection equations Can be written 2 equations, 9 unknowns

Using the Camera Matrix in 2D Four known points, i=1,..4 Linear equations -- can be solved 8 equations, 9 unknowns up to a scale (8 unknowns)

Using the Camera Matrix in 2D

Using the Camera Matrix in 2D Now the projection equations are simpler … and we can “invert” (map image points back to the world plane)

Measurements from Images

Robot to Plane Homogeneous transformation from base (or end-effector) frame to the work-plane of the imaging system Use “known” corresponding points to solve for the elements of T (6 unknowns)