Geometric Camera Parameters



Similar documents
The Geometry of Perspective Projection

3D Scanner using Line Laser. 1. Introduction. 2. Theory

521493S Computer Graphics. Exercise 2 & course schedule change

Vector Notation: AB represents the vector from point A to point B on a graph. The vector can be computed by B A.

Lecture 2: Homogeneous Coordinates, Lines and Conics

2D Geometric Transformations

Monash University Clayton s School of Information Technology CSE3313 Computer Graphics Sample Exam Questions 2007

Geometric Transformation CS 211A

Rotation Matrices and Homogeneous Transformations

B4 Computational Geometry

Affine Transformations

Orthogonal Projections

A System for Capturing High Resolution Images

2D Geometrical Transformations. Foley & Van Dam, Chapter 5

Lecture 2: Geometric Image Transformations

CS 4204 Computer Graphics

Basic CAD/CAM. CHAPTER 5: Geometric Transformation

DICOM Correction Item

8. Linear least-squares

Section Continued

Lectures notes on orthogonal matrices (with exercises) Linear Algebra II - Spring 2004 by D. Klain

4BA6 - Topic 4 Dr. Steven Collins. Chap. 5 3D Viewing and Projections

Lecture 3: Coordinate Systems and Transformations

Section 1.4. Lines, Planes, and Hyperplanes. The Calculus of Functions of Several Variables

Geometry of Vectors. 1 Cartesian Coordinates. Carlo Tomasi

3D Tranformations. CS 4620 Lecture 6. Cornell CS4620 Fall 2013 Lecture Steve Marschner (with previous instructors James/Bala)

Solving Simultaneous Equations and Matrices

with functions, expressions and equations which follow in units 3 and 4.

Solution Guide III-C. 3D Vision. Building Vision for Business. MVTec Software GmbH

Relating Vanishing Points to Catadioptric Camera Calibration

CS 534: Computer Vision 3D Model-based recognition

Epipolar Geometry. Readings: See Sections 10.1 and 15.6 of Forsyth and Ponce. Right Image. Left Image. e(p ) Epipolar Lines. e(q ) q R.

Face detection is a process of localizing and extracting the face region from the

Pennsylvania System of School Assessment

LIST OF CONTENTS CHAPTER CONTENT PAGE DECLARATION DEDICATION ACKNOWLEDGEMENTS ABSTRACT ABSTRAK

Photogrammetry Metadata Set for Digital Motion Imagery

Realtime 3D Computer Graphics Virtual Reality

The Image Deblurring Problem

Math 241 Lines and Planes (Solutions) x = 3 3t. z = 1 t. x = 5 + t. z = 7 + 3t

Essential Mathematics for Computer Graphics fast

2-View Geometry. Mark Fiala Ryerson University

PHYSIOLOGICALLY-BASED DETECTION OF COMPUTER GENERATED FACES IN VIDEO

Given a point cloud, polygon, or sampled parametric curve, we can use transformations for several purposes:

Connecting Transformational Geometry and Transformations of Functions

MATH1231 Algebra, 2015 Chapter 7: Linear maps

INTRODUCTION TO RENDERING TECHNIQUES

TWO-DIMENSIONAL TRANSFORMATION

L 2 : x = s + 1, y = s, z = 4s Suppose that C has coordinates (x, y, z). Then from the vector equality AC = BD, one has

Geometric Optics Converging Lenses and Mirrors Physics Lab IV

12.5 Equations of Lines and Planes

Section 1.1. Introduction to R n

CLOUD DIGITISER 2014!

Projection Center Calibration for a Co-located Projector Camera System

9 Multiplication of Vectors: The Scalar or Dot Product


4. CAMERA ADJUSTMENTS

LINES AND PLANES CHRIS JOHNSON

Grazing incidence wavefront sensing and verification of X-ray optics performance

Introduction Epipolar Geometry Calibration Methods Further Readings. Stereo Camera Calibration

x = + x 2 + x

Solving Equations Involving Parallel and Perpendicular Lines Examples

Structural Axial, Shear and Bending Moments

THE problem of visual servoing guiding a robot using

SYNTHESIZING FREE-VIEWPOINT IMAGES FROM MULTIPLE VIEW VIDEOS IN SOCCER STADIUM

Cabri Geometry Application User Guide

Daniel F. DeMenthon and Larry S. Davis. Center for Automation Research. University of Maryland

Physics 235 Chapter 1. Chapter 1 Matrices, Vectors, and Vector Calculus

by the matrix A results in a vector which is a reflection of the given

Geometric Transformations

Understanding astigmatism Spring 2003

Wii Remote Calibration Using the Sensor Bar

Procedure: Geometrical Optics. Theory Refer to your Lab Manual, pages Equipment Needed

Section 11.4: Equations of Lines and Planes

x1 x 2 x 3 y 1 y 2 y 3 x 1 y 2 x 2 y 1 0.

The Point-Slope Form

2. SPATIAL TRANSFORMATIONS

Computer Graphics Labs

Problem Set 5 Due: In class Thursday, Oct. 18 Late papers will be accepted until 1:00 PM Friday.

is in plane V. However, it may be more convenient to introduce a plane coordinate system in V.

SUPER RESOLUTION FROM MULTIPLE LOW RESOLUTION IMAGES

Least-Squares Intersection of Lines

Linear Equations in Linear Algebra

High-resolution Imaging System for Omnidirectional Illuminant Estimation

Introduction to Seismology Spring 2008

MATH2210 Notebook 1 Fall Semester 2016/ MATH2210 Notebook Solving Systems of Linear Equations... 3

EXPLORING THE TRUE GEOMETRY OF THE INELASTIC INSTANTANEOUS CENTER METHOD FOR ECCENTRICALLY LOADED BOLT GROUPS

Equations Involving Lines and Planes Standard equations for lines in space

Recall the basic property of the transpose (for any A): v A t Aw = v w, v, w R n.

9 MATRICES AND TRANSFORMATIONS

Georgia Standards of Excellence Curriculum Map. Mathematics. GSE 8 th Grade

PHOTOGRAMMETRIC TECHNIQUES FOR MEASUREMENTS IN WOODWORKING INDUSTRY

Introduction to 2D and 3D Computer Graphics Mastering 2D & 3D Computer Graphics Pipelines

Transcription:

Geometric Camera Parameters What assumptions have we made so far? -All equations we have derived for far are written in the camera reference frames. -These equations are valid only when: () all distances are measured in the camera s reference frame. (2) the image coordinates have their origin at the principal point. - In general, the world and pixel coordinate systems are related by a set of physical parameters such as: *the focal length of the lens *the size of the pixels *the position of the principal point *the position and orientation of the camera

Types of parameters (Trucco 2.4) -2- -Two types of parameters need to be recovered in order for us to reconstruct the 3D structure of a scene from the pixel coordinates of its image points: Extrinsic camera parameters: the parameters that define the location and orientation of the camera reference frame with respect to a known world reference frame. Intrinsic camera parameters: the parameters necessary to link the pixel coordinates of an image point with the corresponding coordinates in the camera reference frame. Object Coordinates (3D) World Coordinates (3D) Camera Coordinates (3D) extrinsic camera parameters Image Plane Coordinates (2D) intrinsic camera parameters Pixel Coordinates (2D, int)

-3- Extrinsic camera parameters -These are the parameters that identify uniquely the transformation between the unknown camera reference frame and the known world reference frame. -Typically, determining these parameters means: () finding the translation vector between the relative positions of the origins of the two reference frames. (2) finding the rotation matrix that brings the corresponding axes of the two frames into alignment (i.e., onto each other)

-4- - Using the extrinsic camera parameters, we can find the relation between the coordinates of a point P in world (P w )and camera (P c )coordinates: P c = R(P w T )where R = r r 2 r 3 r 2 r 22 r 32 r 3 r 23 r 33 -If P c = X c Y c Z c and P w = Y w,then X c Y c Z c = r r 2 r 3 r 2 r 22 r 32 r 3 r 23 r 33 T x Y w T y T z or X c = R T (P w T ) Y c = R T 2 (P w T ) Z c = R T 3 (P w T ) where R T i corresponds to the i-th row ofthe rotation matrix

-5- Intrinsic camera parameters - These are the parameters that characterize the optical, geometric, and digital characteristics of the camera: () the perspective projection (focal length f ). (2) the transformation between image plane coordinates and pixel coordinates. (3) the geometric distortion introduced by the optics. From Camera Coordinates to Image Plane Coordinates -Apply perspective projection: x = f X c = f RT (P w T ) Z c R T 3 (P w T ), y = f Y c Z c = f RT 2 (P w T ) R T 3 (P w T ) From Image Plane Coordinates to Pixel coordinates x im pixel frame P y im Camera Frame Yc Xc Z c center of perspective projection optical axis y o x,oy image plane frame x principal point World Frame Yw x = (x im o x )s x or x im = x/s x + o x y = (y im o y )s y or y im = y/s y + o y where (o x, o y )are the coordinates of the principal point (in pixels, e.g., o x = N/2, o y = M/2 if the principal point is the center of the image) and s x, s y correspond to the effective size of the pixels in the horizontal and vertical directions (in millimeters).

-6- -Using matrix notation: x im y im = /s x /s y o x o y x y Relating pixel coordinates to wor ld coordinates or (x im o x )s x = f RT (P w T ) R T 3 (P w T ), (y im o y )s y = f RT 2 (P w T ) R T 3 (P w T ) x im = fs x R T (P w T ) R T 3 (P w T ) + o x, y im = fs y R T 2 (P w T ) R T 3 (P w T ) + o y Image distortions due to optics Assuming radial distortion: x = x d ( + k r 2 + k 2 r 4 ) y = y d ( + k r 2 + k 2 r 4 ) where (x d, y d )are the coordinates of the distorted points (r 2 = x 2 d + y 2 d) k and k 2 are intrinsic parameters too but will not be considered here...

-7- Combine extrinsic with intrinsic camera parameters -The matrix containing the intrinsic camera parameters: f /s x M in = f /s y o x o y -The matrix containing the extrinsic camera parameters: M ex = r r 2 r 3 r 2 r 22 r 32 r 3 r 23 r 33 R T T R T 2 T R T 3 T -Using homogeneous coordinates: x h y h w = M in M ex Y w = M Y w = m m 2 m 3 m 2 m 22 m 32 m 3 m 23 m 33 m 4 m 24 m 34 Y w -Homogenization is needed to obtain the pixel coordinates: x im = x h w = m + m 2 Y w + m 3 + m 4 m 3 + m 32 Y w + m 33 + m 34 y im = y h w = m 2 + m 22 Y w + m 23 + m 24 m 3 + m 32 Y w + m 33 + m 34 - M is called the projection matrix (it is a 3 x 4 matrix). Note: the relation of 3D points and their 2D projections can be seen as a linear transformation from the projective space (, Y w,,) T to the projective plane (x h, y h, w) T.

-8- The perspective camera model (using matrix notation) -Assuming o x = o y = and s x = s y = fr M p = fr 2 r 3 fr 2 fr 22 r 32 fr 3 fr 23 r 33 fr T T fr T 2 T R T 3 T -Let s verify the correctness of the above matrix: fr T p = M p P w = fr T 2 R T 3 fr T T fr T 2 T R T 3 T P w fr T (P w T ) = fr T 2 (P w T ) R T 3 (P w T ) -After homogenization (we get the same equations as in page 23): x = f RT (P w T ) R T 3 (P w T ) y = f RT 2 (P w T ) R T 3 (P w T ) The weak perspective camera model (using matrix notation) fr M wp = fr 2 fr 2 fr 22 fr 3 fr 23 fr T T fr T 2 T R T 3 (P T ) where P is the centroid of the object (i.e., object s average distance from the camera) -Wecan verify the correctness of the above matrix: fr T p = M wp P w = fr T 2 fr T T fr T 2 T R T 3 (P T ) P w fr T (P w T ) = fr T 2 (P w T ) R T 3 (P T ) -After homogenization: x = f RT (P w T ) R T 3 (P T ) y = f RT 2 (P w T ) R T 3 (P T )

-9- The affine camera model -The entries of the projection matrix are totally unconstrained: M a = a a 2 a 2 a 22 a 3 a 23 a 4 a 24 a 34 -The affine model does not appear to correspond to any physical camera. -Leads to simple equations and appealing geometric properties. -Does not preserve angles but does preserve parallelism.