Camera parameters Extrinisic parameters define location and orientation of camera reference frame with respect to world frame Intrinsic parameters define.

Slides:



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

Lecture 11: Two-view geometry
Introduction to Computer Vision 3D Vision Lecture 4 Calibration CSc80000 Section 2 Spring 2005 Professor Zhigang Zhu, Rm 4439
Last 4 lectures Camera Structure HDR Image Filtering Image Transform.
Institut für Elektrische Meßtechnik und Meßsignalverarbeitung Professor Horst Cerjak, Augmented Reality VU 2 Calibration Axel Pinz.
Computer vision: models, learning and inference
Two-View Geometry CS Sastry and Yang
Two-view geometry.
CSc D Computer Vision – Ioannis Stamos 3-D Computer Vision CSc Camera Calibration.
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.
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.
Single-view metrology
3D Geometry and Camera Calibration. 3D Coordinate Systems Right-handed vs. left-handedRight-handed vs. left-handed x yz x yz.
Some useful linear algebra. Linearly independent vectors span(V): span of vector space V is all linear combinations of vectors v i, i.e.
Used slides/content with permission from
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
Uncalibrated Epipolar - Calibration
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.
Camera Calibration CS485/685 Computer Vision Prof. Bebis.
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:
3-D Scene u u’u’ Study the mathematical relations between corresponding image points. “Corresponding” means originated from the same 3D point. Objective.
776 Computer Vision Jan-Michael Frahm, Enrique Dunn Spring 2013.
Automatic Camera Calibration
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
Multiview Geometry and Stereopsis. Inputs: two images of a scene (taken from 2 viewpoints). Output: Depth map. Inputs: multiple images of a scene. Output:
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 הבהרה : החומר המחייב הוא החומר הנלמד בכיתה ולא זה המופיע / לא מופיע במצגת.
Single-view geometry Odilon Redon, Cyclops, 1914.
Ch. 3: Geometric Camera Calibration
CS-498 Computer Vision Week 7, Day 2 Camera Parameters Intrinsic Calibration  Linear  Radial Distortion (Extrinsic Calibration?) 1.
A Flexible New Technique for Camera Calibration Zhengyou Zhang Sung Huh CSPS 643 Individual Presentation 1 February 25,
Two-view geometry. Epipolar Plane – plane containing baseline (1D family) Epipoles = intersections of baseline with image planes = projections of the.
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)
Calibration.
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
3D Computer Vision and Video Computing 3D Vision Topic 2 of Part II Calibration CSc I6716 Spring2013 Zhigang Zhu, City College of New York
Camera Model Calibration
Single-view geometry Odilon Redon, Cyclops, 1914.
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
Camera Calibration Course web page: vision.cis.udel.edu/cv March 24, 2003  Lecture 17.
CS682, Jana Kosecka Rigid Body Motion and Image Formation Jana Kosecka
Calibrating a single camera
55:148 Digital Image Processing Chapter 11 3D Vision, Geometry
Depth from disparity (x´,y´)=(x+D(x,y), y)
Homogeneous Coordinates (Projective Space)
Two-view geometry Computer Vision Spring 2018, Lecture 10
Epipolar geometry.
Two-view geometry.
Multi-view geometry.
Single-view geometry Odilon Redon, Cyclops, 1914.
The Pinhole Camera Model
Presentation transcript:

Camera parameters

Extrinisic parameters define location and orientation of camera reference frame with respect to world frame Intrinsic parameters define pixel coordinates of image point with respect to coordinates in camera reference frame

Homogenous coordinates Add an extra coordinate and define equivalence Relationship (X,Y,Z) -> (wX, wY, wZ, w) (x,y) -> (kx, ky, k) Makes it possible to write the Perspective projection as a linear Transformation (matrix) (from projective space to projective plane)

Central projection HCNHC

Scaled orthographic projection HCNHC

In a simpler notation T describes the position of the origin of camera frame with respect to world frame R describes the rotation which aligns the camera frame with the world frame P c = R(P w – T) (here –RT = B O A )

Translation and Rotation

Intrinsic parameters x y x pix y pix Scaling

Intrinsic parameters x y x pix y pix

Intrinsic parameters x y x pix y pix

The internal calibration parameters

with

Properties of matrix M M has 11 degrees of freedom (5 internal 3 rotation, 3 translation parameters), 3x4 matrix defined up to scale The 3x3 submatrix M’=M int R is non- singular (M int is upper triangular, R is orthogonal -> essential QR decomposition)

Radial distortion from lens distortion (pin cushioning effect) Straight lines are not imaged straight (significant error for cheap optics and short focal length) x and x d measured from image center

Radial calibration Using lines to be straight (x’,y’) is radial projection of (x d, y d ) on straight line

Calibration Procedure Calibration target : 2 planes at right angle with checkerboard (Tsai grid) We know positions of corners of grid with respect to a coordinate system of the target Obtain from images the corners Using the equations (relating pixel coordinates to world coordinates) we obtain the camera parameters (the internal parameters and the external (pose) as a side effect)

Image Processing Canny edge detection Straight line fitting to detect long edges Intersection of lines to detect image corners Matching image corners and 3D checkerboard corners

Estimation procedure First estimate M from corresponding image points and scene points (solving homogeneous equation) Second decompose M into internal and external parameters Use estimated parameters as starting point to solve calibration parameters non-linearly.

(homogeneous equation)

Solving A m = 0 Linear homogeneous system Have at least 5 times as many equations as unknowns (28 points) Minimize ||Am|| 2 with the constraint ||m|| 2 =1 M is the unit singular value of A corresponding to the smallest singular value (the last column of V, where A = UDV T is the SVD of A), or the eigenvector (corresponding to smallest eigenvalue ) of A T A

Finding camera translation Let be the homogeneous representation of T is the null vector of M: Null vector is found using SVD ( is the unit singular vector corresponding to the smallest singular value of M) (position of camera center)

Finding camera orientation and internal parameters Left 3x3 submatrix of M is of the form M’= M int R M int upper triangular R orthogonal Any nonsingular matrix can be decomposed into the product of an upper triangular and an orthogonal matrix (RQ factorization—here R refers to upper triangular and Q to orthogonal) (Similar to QR factorization)

RQ factorization of M’ Givens rotations To set M’ 32 to zero, solve equation Thus: Multiply M’ by R x ( such that term (3,2) is 0), then by, R y (choosing c’, s’ such that term (3,1) is zero), then by R z (with c’’, s’’ such that term (2,1) is zero)

Improving solution with nonlinear optimization Find m using the linear constraint Use as initialization for nonlinear optimization (Levenberg-Marquardt iterative minimization)

Algorithm described in Multiple View Geometry in Computer Vision (Hartley, Zisserman)