Computer Vision. Geometric Camera Calibration. Samer M Abdallah, PhD

Similar documents
3D Geometry and Camera Calibration

Camera Model and Calibration. Lecture-12

Vision Review: Image Formation. Course web page:

3D Geometry and Camera Calibration

Camera calibration. Robotic vision. Ville Kyrki

COS429: COMPUTER VISON CAMERAS AND PROJECTIONS (2 lectures)

Camera Model and Calibration

Correspondence and Stereopsis. Original notes by W. Correa. Figures from [Forsyth & Ponce] and [Trucco & Verri]

Geometric camera models and calibration

Pin Hole Cameras & Warp Functions

The real voyage of discovery consists not in seeking new landscapes, but in having new eyes.

calibrated coordinates Linear transformation pixel coordinates

Multiple View Geometry in Computer Vision

1 Projective Geometry

Two-view geometry Computer Vision Spring 2018, Lecture 10

Module 4F12: Computer Vision and Robotics Solutions to Examples Paper 2

Rigid Body Motion and Image Formation. Jana Kosecka, CS 482

Computer Vision: Lecture 3

Metric Structure from Motion

Camera Models and Image Formation. Srikumar Ramalingam School of Computing University of Utah

Camera Geometry II. COS 429 Princeton University

Camera Models and Image Formation. Srikumar Ramalingam School of Computing University of Utah

CS201 Computer Vision Camera Geometry

Homogeneous Coordinates. Lecture18: Camera Models. Representation of Line and Point in 2D. Cross Product. Overall scaling is NOT important.

Stereo Image Rectification for Simple Panoramic Image Generation

Pin Hole Cameras & Warp Functions

3D Sensing. 3D Shape from X. Perspective Geometry. Camera Model. Camera Calibration. General Stereo Triangulation.

55:148 Digital Image Processing Chapter 11 3D Vision, Geometry

Structure from motion

Lecture 3: Camera Calibration, DLT, SVD

CSE 252B: Computer Vision II

Computer Vision Lecture 17

Lecture 14: Basic Multi-View Geometry

Computer Vision Lecture 17

Agenda. Rotations. Camera models. Camera calibration. Homographies

Structure from Motion

Announcements. Stereo

ECE Digital Image Processing and Introduction to Computer Vision. Outline

3-D D Euclidean Space - Vectors

Projector Calibration for Pattern Projection Systems

Rectification and Distortion Correction

Camera Parameters, Calibration and Radiometry. Readings Forsyth & Ponce- Chap 1 & 2 Chap & 3.2 Chap 4

Structure from motion

Agenda. Rotations. Camera calibration. Homography. Ransac

Announcements. Stereo

Week 2: Two-View Geometry. Padua Summer 08 Frank Dellaert

Geometry of image formation

Camera Calibration. Schedule. Jesus J Caban. Note: You have until next Monday to let me know. ! Today:! Camera calibration

Reminder: Lecture 20: The Eight-Point Algorithm. Essential/Fundamental Matrix. E/F Matrix Summary. Computing F. Computing F from Point Matches

CIS 580, Machine Perception, Spring 2016 Homework 2 Due: :59AM

Multiple View Reconstruction of Calibrated Images using Singular Value Decomposition

MERGING POINT CLOUDS FROM MULTIPLE KINECTS. Nishant Rai 13th July, 2016 CARIS Lab University of British Columbia

55:148 Digital Image Processing Chapter 11 3D Vision, Geometry

Computer Vision I. Announcement. Stereo Vision Outline. Stereo II. CSE252A Lecture 15

Computer Vision. Coordinates. Prof. Flávio Cardeal DECOM / CEFET- MG.

HW 1: Project Report (Camera Calibration)

Image Formation I Chapter 2 (R. Szelisky)

Epipolar Geometry Prof. D. Stricker. With slides from A. Zisserman, S. Lazebnik, Seitz

Camera model and multiple view geometry

Multiple View Geometry

Descriptive Geometry Meets Computer Vision The Geometry of Two Images (# 82)

Camera Calibration using Vanishing Points

Introduction to Homogeneous coordinates

Camera Calibration. COS 429 Princeton University

Geometry of a single camera. Odilon Redon, Cyclops, 1914

Course Name: Computer Vision Course Code: IT444

On Computing The Perspective Transformation Matrix and Camera Parameters^

Camera system: pinhole model, calibration and reconstruction

Multiple View Geometry in Computer Vision Second Edition

Robotics - Projective Geometry and Camera model. Marcello Restelli

Coordinate Transformations, Tracking, Camera and Tool Calibration

CS6670: Computer Vision

Structure from Motion CSC 767

Dense 3D Reconstruction. Christiano Gava

Outline. ETN-FPI Training School on Plenoptic Sensing

Computer Vision I - Algorithms and Applications: Multi-View 3D reconstruction

The Geometry Behind the Numerical Reconstruction of Two Photos

3D Reconstruction from Two Views

Augmented Reality II - Camera Calibration - Gudrun Klinker May 11, 2004

Computer Vision I. Dense Stereo Correspondences. Anita Sellent 1/15/16

Project 4 Results. Representation. Data. Learning. Zachary, Hung-I, Paul, Emanuel. SIFT and HoG are popular and successful.

CS231A Course Notes 4: Stereo Systems and Structure from Motion

Lecture 5.3 Camera calibration. Thomas Opsahl

Midterm Exam Solutions

CSE 252B: Computer Vision II

Camera Parameters and Calibration

Planar homographies. Can we reconstruct another view from one image? vgg/projects/singleview/

Announcements. Hough Transform [ Patented 1962 ] Generalized Hough Transform, line fitting. Assignment 2: Due today Midterm: Thursday, May 5 in class

Model Fitting. Introduction to Computer Vision CSE 152 Lecture 11

CS231A Midterm Review. Friday 5/6/2016

Image Based Rendering. D.A. Forsyth, with slides from John Hart

3D Sensing and Reconstruction Readings: Ch 12: , Ch 13: ,

Structure from motion

Image Formation I Chapter 1 (Forsyth&Ponce) Cameras

Single-view metrology

Srikumar Ramalingam. Review. 3D Reconstruction. Pose Estimation Revisited. School of Computing University of Utah

Model Fitting, RANSAC. Jana Kosecka

Computer Vision Projective Geometry and Calibration. Pinhole cameras

Calibrating a Structured Light System Dr Alan M. McIvor Robert J. Valkenburg Machine Vision Team, Industrial Research Limited P.O. Box 2225, Auckland

Image Formation I Chapter 1 (Forsyth&Ponce) Cameras

Transcription:

Computer Vision Samer M Abdallah, PhD Faculty of Engineering and Architecture American University of Beirut Beirut, Lebanon Geometric Camera Calibration September 2, 2004 1 Computer Vision Geometric Camera Calibration 1

Series outline Cameras and lenses Geometric camera models Geometric camera calibration Stereopsis 2 Computer Vision Geometric Camera Calibration 2

Lecture outline The calibration problem Least-square technique Calibration from points Radial distortion A note on calibration patterns 3 Computer Vision Geometric Camera Calibration 3

Camera calibration Camera calibration is determining the intrinsic and extrinsic parameters of the camera. The are three coordinate systems involved: image, camera, and world. Key idea: to write the projection equations linking the known coordinates of a set of 3-D points and their projections, and solve for the camera parameters. 4 Computer Vision Geometric Camera Calibration 4

Projection matrix M is only defined up to scale in this setting. 5 Computer Vision Geometric Camera Calibration 5

The calibration problem 6 Computer Vision Geometric Camera Calibration 6

Linear systems A x b = Square system: Unique solution Gaussian elimination A x b = Rectangular system: underconstrained: Infinity of solutions Overconstrained: no solution Minimize Ax-b 2 7 Computer Vision Geometric Camera Calibration 7

How do you solve overconstrained linear equations? 8 Computer Vision Geometric Camera Calibration 8

Homogeneous linear equations A x 0 = Square system: Unique solution = 0 Unless Det(A) = 0 A x 0 = Rectangular system: 0 is always a solution Minimize Ax 2 under the constraint x 2 = 1 9 Computer Vision Geometric Camera Calibration 9

How do you solve overconstrained homogeneous linear equations? The solution is the eigenvector e 1 with least eigenvalue of U T U. 10 Computer Vision Geometric Camera Calibration 10

Example: Line fitting Problem: minimize with respect to (a,b,d). Minimize E with respect to d: Minimize E with respect to a,b: where and 11 Computer Vision Geometric Camera Calibration 11

Estimation of the projection matrix The constraints associated with the n points yield a system of 2n homogeneous linear equations in the 12 coefficients of the matrix M, When n 6, homogeneous linear least-square can be used to compute the value of the unit vector m (hence the matrix M) that minimizes Pm 2 as the solution of an eigenvalue problem. The solution is the eigenvector with least eigenvalue of P T P. 12 Computer Vision Geometric Camera Calibration 12

Estimation of the intrinsic and extrinsic parameters Once M is known, you still got to recover the intrinsic and extrinsic parameters! This is a decomposition problem, NOT an estimation problem. ρ Intrinsic parameters Extrinsic parameters 13 Computer Vision Geometric Camera Calibration 13

Estimation of the intrinsic and extrinsic parameters Write M = (A, b), therefore Using the fact that the rows of a rotation matrix have unit length and are perpendicular to each other yields and 14 Computer Vision Geometric Camera Calibration 14

Estimation of the intrinsic and extrinsic parameters 15 Computer Vision Geometric Camera Calibration 15

Taking radial distortion into account Assuming that the image centre is known (u 0 = v 0 = 0), model the projection process as: 1 λ 1 p = 0 z 0 0 1 λ 0 0 0 M 1 P where λ is a polynomial function of the squared distance d 2 between the image centre and the image point p. It is sufficient to use low-degree polynomial: λ = 1+ κ pd q p= 1 2 p, with q 3 and the distortion coefficients κ p ( p = 1, K, q) ˆ 2 2 d = u + vˆ 2 This yields highly nonlinear constraints on the q + 11 camera parameters. 16 Computer Vision Geometric Camera Calibration 16

Calibration pattern The accuracy of the calibration depends on the accuracy of the measurements of the calibration pattern. 17 Computer Vision Geometric Camera Calibration 17

Line intersection and point sorting Extract and link edges using Canny; Fit lines to edges using orthogonal regression; Intersect lines. 18 Computer Vision Geometric Camera Calibration 18

References Computer Vision: A Modern Approach. D. Forsyth and J. Ponce, Prentice Hall, 2003 Introductory Techniques for 3-D Computer Vision. E. Trucco and A. Verri, Prentice Hall, 2000 Geometric Frame Work for Vision Lecture Notes. A. Zisserman, University of Oxford 19 Computer Vision Geometric Camera Calibration 19