3D Computer Vision Camera Models

Size: px
Start display at page:

Download "3D Computer Vision Camera Models"

Transcription

1 3D Comuter Vision Camera Models Nassir Navab based on a course given at UNC by Marc Pollefeys & the book Multile View Geometry by Hartley & Zisserman July 2, 202 chair for comuter aided medical rocedures deartment of comuter science technische universität münchen

2 Outline of the Comuter Vision Lecture Projective Geometry and ransformations - ransformations with homogeneous coordinates - 2D rojective geometry - 3D rojective geometry - D rojective geometry Estimation - Direct and Iterative Estimation - DL Algorithm - Cost Functions - Robust Estimation (RANSAC) Algorithm Evaluation and Error Analysis - Statistics, Error Proagation Camera Geometry - Camera Models - Camera Calibration Advanced Estimation - Bundle Adjustment - Iterative Closest Point (ICP) Single-View Geometry wo-view Geometry - Eiolar Geometry / Fundamental Matri / Essential Matri - 3D Reconstruction of Cameras and Structure hree-view Geometry - rifocal ensor - Comutation of the rifocal ensor N-View Geometry - N-Linearities and Multile View ensors - N-View Comutational Methods - Factorization - Structure From Motion cam deartment of comuter science technische universität münchen July 2, 202 2

3 Outline Camera Model History of Camera (Camera Obscura) Intensity Images Geometric Parameters of a Finite camera Projective Camera Camera Center, Princial Plane, Ais Plane, Princial Point, Princial Ray Decomosition of Camera Matri Cameras at Infinity Other Camera Models (Pushbroom and Line Cameras) cam deartment of comuter science technische universität münchen July 2, 202 3

4 History :: Camara Obscura htt://en.wikiedia.org/wiki/camera_obscura cam deartment of comuter science technische universität münchen July 2, 202 4

5 History :: Camara Obscura Camera obscura ( Camera obscura) [LL. camera chamber + L. obscurus, obscura, dark.] (Ot.). An aaratus in which the images of eternal objects, formed by a conve lens or a concave mirror, are thrown on a aer or other white surface laced in the focus of the lens or mirror within a darkened chamber, or bo, so that the outlines may be traced. 2. (Photog.) An aaratus in which the image of an eternal object or objects is, by means of lenses, thrown uon a sensitized late or surface laced at the back of an etensible darkened bo or chamber variously modified; - commonly called simly the camera. Websters Dictionary, 93 Camera Obscura, Reinerus Gemma-Frisius, 544, ublished in De Radio Astronomica et Geometrica, 545 from Gernsheim, H., he Origins of Photograhy cam deartment of comuter science technische universität münchen July 2, 202 5

6 History :: Camera Obscura Camera Obscura, Athanasius Kircher, 646 from Gernsheim, H., he Origins of Photograhy Portable 'ent' Camera Obscura, Johannes Keler, 620 from Gernsheim, H., he Origins of Photograhy cam deartment of comuter science technische universität münchen July 2, 202 6

7 History :: Camera Obscura Refle Camera Obscura, Johannes Zahn, 685 ublished in Zahn, J., Oculus Artificialis, ( ) from Gernsheim, H., he Origins of Photograhy cam deartment of comuter science technische universität münchen July 2, 202 7

8 Outline Camera Model History of Camera (Camera Obscura) Intensity Images Geometric Parameters of a Finite camera Projective Camera Camera Center, Princial Plane, Ais Plane, Princial Point, Princial Ray Decomosition of Camera Matri Cameras at Infinity Other Camera Models (Pushbroom and Line Cameras) cam deartment of comuter science technische universität münchen July 2, 202 8

9 Intensity Image hotometric arameters light energy reaching the sensors after being reflected from objects (not discussed in this course) geometric arameters 2D osition in the image on which a 3D oint is rojected (deending on camera geometry, discussed here) cam deartment of comuter science technische universität münchen July 2, 202 9

10 Outline Camera Model History of Camera (Camera Obscura) Intensity Images Geometric Parameters of a Finite camera Projective Camera Camera Center, Princial Plane, Ais Plane, Princial Point, Princial Ray Decomosition of Camera Matri Cameras at Infinity Other Camera Models (Pushbroom and Line Cameras) cam deartment of comuter science technische universität münchen July 2, 202 0

11 Pinhole Camera Model (X, Y,Z) maing between 3D world and 2D image central rojection models are described by matrices with articular roerties (,y) cam deartment of comuter science technische universität münchen July 2, 202

12 cam deartment of comuter science technische universität münchen July 2, Z Y X 0 0 f 0 f Z fy fx z y Z Y X (,y,z) Y, Z,) (X, Homogeneous Coordinates

13 cam deartment of comuter science technische universität münchen July 2, Z Y X f f Z fy fx PX [ ] 0 I P diag(f,f,) Central Projection

14 Princial Point Offset rincial oint (erendicular intersection oint of rincial ais and image lane) ( X, Y,Z) (fx/z +,fy/z + y ) where (,y) are the coordinates of the rincial oint cam deartment of comuter science technische universität münchen July 2, 202 4

15 cam deartment of comuter science technische universität münchen July 2, Z Y X 0 0 f 0 f Z Z fy Z fx y [ ]X 0 K I f f K y is called camera calibration matri Princial Point Offset where

16 Camera Rotation and ranslation inhomogeneous coordinates ~ X cam where R ~ X ~ - C ~ ( X ) ~ X cam X Y Z y z cam cam cam C ~ reresents the oint in world coordinates X ~ R ( X~ -C ~ cam ) reresents the same oint in camera coordinates reresents the coordinates of the camera origin in the world coordinate frame cam deartment of comuter science technische universität münchen July 2, 202 6

17 Camera Rotation and ranslation homogeneous coordinates 4 X, X cam R K[ I 0] X cam X R RC ~ Y R RC ~ Xcam X 0 Z 0 rojection to image lane from camera coordinates [ I 0] cam K X KR[ I C ~ ]X PX rojection to image lane from world coordinates cam deartment of comuter science technische universität münchen July 2, 202 7

18 P Etrinsic and Intrinsic Parameters PX where K KR I f [ ] f C ~ y rojection matri of a general inhole camera with 9 DOF PX intrinsic camera arameters with 3 DOF R, C ~ etrinsic camera arameters with each 3 DOF (camera orientation and osition in world coordinates) cam deartment of comuter science technische universität münchen July 2, 202 8

19 Camera Rotation and ranslation no elicit camera center ~ ~ Xcam RX + t P [ t] K R [ ] K R RC ~ PX where t RC ~ [ from KR I C ~ ]X cam deartment of comuter science technische universität münchen July 2, 202 9

20 cam deartment of comuter science technische universität münchen July 2, y y y y K f f m m K α α CCD Cameras :: Non-Square Piel m y, m number of iels er unit distance 4 DOF [ ] C ~ KR I P 0 DOF

21 Skew Parameter s skew arameter K α s α y y 5 DOF P KR I [ ] C ~ finite rojective camera with DOF cam deartment of comuter science technische universität münchen July 2, 202 2

22 cam deartment of comuter science technische universität münchen July 2, [ ] C KR I RC R s P P y y ~ 0 ~ α α X non-singular Finite Projective Camera :: Summary rojection matri DOF (5+3+3)

23 Finite Projective Camera :: Decomosition of P M P P KR M I [ ] [ C ~ ] KR I C ~ non-singular 33 matri (8 DOF) decomose rojection matri P in K,R,C P [ M ] [ K, R] RQ( M) M 4 4 RQ matri decomosition C ~ cam deartment of comuter science technische universität münchen July 2,

24 Finite Projective Camera :: Summary P M I [ ] [ C ~ ] KR I C ~ where P R 3 4 camera matri P are identical with the set of homogeneous 34 matri for which the left hand 33 submatri is non singular {finite cameras}{p det M 0} {P rank(m)3} If rank(p)3, but rank(m)<3, then camera at infinity if rank(p)<3 the matri maing will be a line or a oint and not a lane (not a 2D image) cam deartment of comuter science technische universität münchen July 2,

25 Outline Camera Model History of Camera (Camera Obscura) Intensity Images Geometric Parameters of a Finite camera Projective Camera Camera Center, Princial Plane, Ais Plane, Princial Point, Princial Ray Decomosition of Camera Matri Cameras at Infinity Other Camera Models (Pushbroom and Line Cameras) cam deartment of comuter science technische universität münchen July 2,

26 Outline Camera Model History of Camera (Camera Obscura) Intensity Images Geometric Parameters of a Finite camera Projective Camera Camera Center, Princial Plane, Ais Plane, Princial Point, Princial Ray Decomosition of Camera Matri Cameras at Infinity Other Camera Models (Pushbroom and Line Cameras) cam deartment of comuter science technische universität münchen July 2,

27 Camera Anatomy camera center column vectors rincial lane ais lane rincial oint rincial ray cam deartment of comuter science technische universität münchen July 2,

28 Camera Center PC 0 P has a D null-sace we will roof that the 4-vector C is the camera center X ( λ) λa + ( λ)c PX λpa + ( λ) PC λpa Finite cameras: Infinite cameras: oints on a line through A and C ~ C M C d C, Md 0 0 since PC 0 all 3D oints on the line are maed on the same 2D image oint, and thus the line is a ray through the camera center cam deartment of comuter science technische universität münchen July 2,

29 Column Vectors i R 3, i,...,4 column vectors are the image oints, which roject the ais directions (X,Y,Z) and the origin eamle for the image of the y-ais (vanishing t) [ ] [ ][ 0 0 0] is the image of the world origin cam deartment of comuter science technische universität münchen July 2,

30 Row Vectors i R 4, i,...,3 reresent geometrically articular world lanes P [ ] row vectors column vectors cam deartment of comuter science technische universität münchen July 2,

31 cam deartment of comuter science technische universität münchen July 2, Z Y X w Row Vectors of the Projection Matri P is defined by the camera center and the line 0 on the image P 2 is defined by the camera center and the line y0 on the image C X Eamle P 2 resectively for P

32 cam deartment of comuter science technische universität münchen July 2, Z Y X y Princial Plane 0 C 3 lane through camera center and arallel to the image lane oints X are imaged on the line at infinity if X is on the rincile lane 0 3 X esecially

33 Princile Point line through camera center and erendicular to rincile lane is the rincile ais intersection of the rincile ais with the image lane is the rincile oint 3 0 P M Pˆ m 3 Pˆ 3 ( 0) 3 32 rincile oint P M Pˆ m 3 normal direction to rincial lane where and P 3 m [ M ] 4 third row of M cam deartment of comuter science technische universität münchen July 2,

34 Princile Ais Vector ambiguity that rincile ais oints towards the front of the camera (ositive direction) m 3 or m 3 P X cam cam [ 0] X cam K I v det ( K) k 3 ( 0,0, ) towards the front of the camera P k cam P cam v k 4 v direction unaffected by scaling [ ] [ M ] P kkr I C ~ since det( R) > 0 4 ( ) 3 v det M m cam deartment of comuter science technische universität münchen July 2,

35 Forward Projection mas a oint in sace on the image lane 3 2 P P PX Points at infinity D ( d,0) [ M ] D Md PD 4 only M effects the rojection of oints at infinity (vanishing oints) cam deartment of comuter science technische universität münchen July 2,

36 Back-rojection to Rays oints on the reconstructed ray PC 0 camera center C + X P P + P ( PP ) (seudo-inverse) + PP I ray is the line formed by those two oints ( λ) P + λc X + D ( ) X µ ( ) ) - M,0 - - M - M 4 M µ + 0 D intersection of the ray with the lane at infinity ( µ - ) cam deartment of comuter science technische universität münchen July 2, C - 4

37 Deth of Points X ( X, Y, Z,) C (C ~,) w P 3 X det M > 0; P m 3 ( X C) m ( ) 3 (PC0) 3 X ~ C ~ (dot roduct) If, then m 3 unit vector ointing in ositive ais direction Suose ( X,Y,Z, ) w(, y,) P. hen deth sign(detm) w ( X;P) 3 m cam deartment of comuter science technische universität münchen July 2,

38 Deth of Points: eamles deth sign(detm) w ( X; P) 3 P ( X,Y,Z, ) w(, y,) m PX P [ I 0] deth ( X ; P) Z P PX R I [ ] C ~ deth(x; P) R ( X ~ 3 C ~ ) cam deartment of comuter science technische universität münchen July 2,

39 Outline Camera Model History of Camera (Camera Obscura) Intensity Images Geometric Parameters of a Finite camera Projective Camera Camera Center, Princial Plane, Ais Plane, Princial Point, Princial Ray Decomosition of Camera Matri Cameras at Infinity Other Camera Models (Pushbroom and Line Cameras) cam deartment of comuter science technische universität münchen July 2,

40 Camera Matri Decomosition Finding the camera center C PC 0 numerically: find right null-sace by SVD of P P 34 U 34 D 44 V 44 P 34 V 44 U 34 D 44 PV 4 0 Algebraically: X det( [ ] 2,3, 4 ) Y det( [ ],3, 4 ) Z det( [,, ]) det( [,, ]) 2 4 where C ( X, Y, Z, ) 2 3 cam deartment of comuter science technische universität münchen July 2,

41 Camera Matri Decomosition Finding the camera center C PC 0 Any lane π going through C will be a linear combination of the three lanes defined by the rows of P. herefore: det ([ π, P ]) 0 π det( P 234 ) π det( P where C ( X, Y, Z, ) 2 34 ) + π det( P 3 24 X det( [ ] 2,3, 4 ) Y det( [ ],3, 4 ) Z det( [,, ]) det( [,, ]) ) π det( P 4 23 ) cam deartment of comuter science technische universität münchen July 2, 202 4

42 Camera Matri Decomosition Finding the camera orientation and internal arameters P [ M ] K[ R ] -MC ~ Decomose RC ~ M KR α s y0 K 0 α y using RQ decomosition ( Q R ) - R - - Q Ambiguity removed by enforcing ositive diagonal entries cam deartment of comuter science technische universität münchen July 2,

43 When is Skew Non-zero? K α s α y y γ arctan(/s) for CCD/CMOS, always s0 Image from image, s 0 ossible (non coinciding rincial ais) resulting camera: HP where H is a 33 homograhy cam deartment of comuter science technische universität münchen July 2,

44 Euclidean vs. Projective Saces general rojective interretation P [ 3 3 homograhy] [ 4 4 homograhy] Meaningful decomosition in K,R,t requires Euclidean image and sace Camera center is still valid in rojective sace Princial lane requires affine image and sace Princial ray requires affine image and Euclidean sace cam deartment of comuter science technische universität münchen July 2,

45 Literature on Camera Models Chater 6 in R. Hartley and A. Zisserman, Multile View Geometry, 2 nd edition, Cambridge University Press, Chater 3 in O. Faugeras, hree-dimensional Comuter Vision, MI Press, 993. Chater 2 in E. rucco and A. Verri, Introductory echniques for 3-D Comuter Vision, Prentice Hall, 998. H. Gernsheim, he Origins of Photograhy, hames and Hudson, 982. A. Shashua. Geometry and Photometry in 3D Visual Recognition, Ph.D. hesis, MI, Nov AIR-40. cam deartment of comuter science technische universität münchen July 2,

Camera Models. Acknowledgements Used slides/content with permission from

Camera Models. Acknowledgements Used slides/content with permission from Camera Models Acknowledgements Used slides/content with ermission rom Marc Polleeys or the slides Hartley and isserman: book igures rom the web Matthew Turk: or the slides Single view geometry Camera model

More information

Image Formation. 2. Camera Geometry. Focal Length, Field Of View. Pinhole Camera Model. Computer Vision. Zoltan Kato

Image Formation. 2. Camera Geometry. Focal Length, Field Of View. Pinhole Camera Model. Computer Vision. Zoltan Kato Image Formation 2. amera Geometr omuter Vision oltan Kato htt://www.in.u-seged.hu/~kato seged.hu/~kato/ 3D Scene Surace Light (Energ) Source inhole Lens Imaging lane World Otics Sensor Signal amera: Sec

More information

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

Augmented Reality II - Camera Calibration - Gudrun Klinker May 11, 2004 Augmented Reality II - Camera Calibration - Gudrun Klinker May, 24 Literature Richard Hartley and Andrew Zisserman, Multiple View Geometry in Computer Vision, Cambridge University Press, 2. (Section 5,

More information

Structure from Motion

Structure from Motion 04/4/ Structure from Motion Comuter Vision CS 543 / ECE 549 University of Illinois Derek Hoiem Many slides adated from Lana Lazebnik, Silvio Saverese, Steve Seitz his class: structure from motion Reca

More information

Calibration Issues. Linear Models. Interest Point Detection + Description Algorithms

Calibration Issues. Linear Models. Interest Point Detection + Description Algorithms Calibration Issues Linear Models Homograhy estimation H Eiolar geometry F, E Interior camera arameters K Eterior camera arameters R,t Camera ose R,t h 2 H h 3 h 2 3 4 y ~ 2 22 23 24 3 32 33 34 Interest

More information

Camera model and calibration

Camera model and calibration and calibration AVIO tristan.moreau@univ-rennes1.fr Laboratoire de Traitement du Signal et des Images (LTSI) Université de Rennes 1. Mardi 21 janvier 1 AVIO tristan.moreau@univ-rennes1.fr and calibration

More information

Camera models and calibration

Camera models and calibration Camera models and calibration Read tutorial chapter 2 and 3. http://www.cs.unc.edu/~marc/tutorial/ Szeliski s book pp.29-73 Schedule (tentative) 2 # date topic Sep.8 Introduction and geometry 2 Sep.25

More information

Coordinate Transformations, Tracking, Camera and Tool Calibration

Coordinate Transformations, Tracking, Camera and Tool Calibration Coordinate Transformations, Tracking, Camera and Tool Calibration Tassilo Klein, Hauke Heibel Computer Aided Medical Procedures (CAMP), Technische Universität München, Germany Motivation 3D Transformations

More information

Announcements. Equation of Perspective Projection. Image Formation and Cameras

Announcements. Equation of Perspective Projection. Image Formation and Cameras Announcements Image ormation and Cameras Introduction to Computer Vision CSE 52 Lecture 4 Read Trucco & Verri: pp. 22-4 Irfanview: http://www.irfanview.com/ is a good Windows utilit for manipulating images.

More information

CS231M Mobile Computer Vision Structure from motion

CS231M Mobile Computer Vision Structure from motion CS231M Mobile Computer Vision Structure from motion - Cameras - Epipolar geometry - Structure from motion Pinhole camera Pinhole perspective projection f o f = focal length o = center of the camera z y

More information

CS 450: COMPUTER GRAPHICS 2D TRANSFORMATIONS SPRING 2016 DR. MICHAEL J. REALE

CS 450: COMPUTER GRAPHICS 2D TRANSFORMATIONS SPRING 2016 DR. MICHAEL J. REALE CS 45: COMUTER GRAHICS 2D TRANSFORMATIONS SRING 26 DR. MICHAEL J. REALE INTRODUCTION Now that we hae some linear algebra under our resectie belts, we can start ug it in grahics! So far, for each rimitie,

More information

Last time: Disparity. Lecture 11: Stereo II. Last time: Triangulation. Last time: Multi-view geometry. Last time: Epipolar geometry

Last time: Disparity. Lecture 11: Stereo II. Last time: Triangulation. Last time: Multi-view geometry. Last time: Epipolar geometry Last time: Disarity Lecture 11: Stereo II Thursday, Oct 4 CS 378/395T Prof. Kristen Grauman Disarity: difference in retinal osition of same item Case of stereo rig for arallel image lanes and calibrated

More information

MAN-522: COMPUTER VISION SET-2 Projections and Camera Calibration

MAN-522: COMPUTER VISION SET-2 Projections and Camera Calibration MAN-522: COMPUTER VISION SET-2 Projections and Camera Calibration Image formation How are objects in the world captured in an image? Phsical parameters of image formation Geometric Tpe of projection Camera

More information

Remember: The equation of projection. Imaging Geometry 1. Basic Geometric Coordinate Transforms. C306 Martin Jagersand

Remember: The equation of projection. Imaging Geometry 1. Basic Geometric Coordinate Transforms. C306 Martin Jagersand Imaging Geometr 1. Basic Geometric Coordinate Transorms emember: The equation o rojection Cartesian coordinates: (,, z) ( z, z ) C36 Martin Jagersand How do we develo a consistent mathematical ramework

More information

Camera calibration. Robotic vision. Ville Kyrki

Camera calibration. Robotic vision. Ville Kyrki Camera calibration Robotic vision 19.1.2017 Where are we? Images, imaging Image enhancement Feature extraction and matching Image-based tracking Camera models and calibration Pose estimation Motion analysis

More information

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

Computer Vision I - Algorithms and Applications: Multi-View 3D reconstruction Computer Vision I - Algorithms and Applications: Multi-View 3D reconstruction Carsten Rother 09/12/2013 Computer Vision I: Multi-View 3D reconstruction Roadmap this lecture Computer Vision I: Multi-View

More information

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

Homogeneous Coordinates. Lecture18: Camera Models. Representation of Line and Point in 2D. Cross Product. Overall scaling is NOT important. Homogeneous Coordinates Overall scaling is NOT important. CSED44:Introduction to Computer Vision (207F) Lecture8: Camera Models Bohyung Han CSE, POSTECH bhhan@postech.ac.kr (",, ) ()", ), )) ) 0 It is

More information

3D Computer Vision II. Reminder Projective Geometry, Transformations

3D Computer Vision II. Reminder Projective Geometry, Transformations 3D Computer Vision II Reminder Projective Geometry, Transformations Nassir Navab" based on a course given at UNC by Marc Pollefeys & the book Multiple View Geometry by Hartley & Zisserman" October 21,

More information

Camera Model and Calibration. Lecture-12

Camera Model and Calibration. Lecture-12 Camera Model and Calibration Lecture-12 Camera Calibration Determine extrinsic and intrinsic parameters of camera Extrinsic 3D location and orientation of camera Intrinsic Focal length The size of the

More information

Structure from motion

Structure from motion Structure from motion Structure from motion Given a set of corresponding points in two or more images, compute the camera parameters and the 3D point coordinates?? R 1,t 1 R 2,t 2 R 3,t 3 Camera 1 Camera

More information

To Do. Computer Graphics (Fall 2004) Course Outline. Course Outline. Motivation. Motivation

To Do. Computer Graphics (Fall 2004) Course Outline. Course Outline. Motivation. Motivation Comuter Grahics (Fall 24) COMS 416, Lecture 3: ransformations 1 htt://www.cs.columbia.edu/~cs416 o Do Start (thinking about) assignment 1 Much of information ou need is in this lecture (slides) Ask A NOW

More information

Geometric camera models and calibration

Geometric camera models and calibration Geometric camera models and calibration http://graphics.cs.cmu.edu/courses/15-463 15-463, 15-663, 15-862 Computational Photography Fall 2018, Lecture 13 Course announcements Homework 3 is out. - Due October

More information

Lecture 3: Camera Calibration, DLT, SVD

Lecture 3: Camera Calibration, DLT, SVD Computer Vision Lecture 3 23--28 Lecture 3: Camera Calibration, DL, SVD he Inner Parameters In this section we will introduce the inner parameters of the cameras Recall from the camera equations λx = P

More information

Multiple View Geometry in Computer Vision

Multiple View Geometry in Computer Vision Multiple View Geometry in Computer Vision Prasanna Sahoo Department of Mathematics University of Louisville 1 Structure Computation Lecture 18 March 22, 2005 2 3D Reconstruction The goal of 3D reconstruction

More information

Announcements. The equation of projection. Image Formation and Cameras

Announcements. The equation of projection. Image Formation and Cameras Announcements Image ormation and Cameras Introduction to Computer Vision CSE 52 Lecture 4 Read Trucco & Verri: pp. 5-4 HW will be on web site tomorrow or Saturda. Irfanview: http://www.irfanview.com/ is

More information

CS 428: Fall Introduction to. Geometric Transformations. Andrew Nealen, Rutgers, /15/2010 1

CS 428: Fall Introduction to. Geometric Transformations. Andrew Nealen, Rutgers, /15/2010 1 CS 428: Fall 21 Introduction to Comuter Grahics Geometric Transformations Andrew Nealen, Rutgers, 21 9/15/21 1 Toic overview Image formation and OenGL (last week) Modeling the image formation rocess OenGL

More information

Perception of Shape from Shading

Perception of Shape from Shading 1 Percetion of Shae from Shading Continuous image brightness variation due to shae variations is called shading Our ercetion of shae deends on shading Circular region on left is erceived as a flat disk

More information

More on single-view geometry class 10

More on single-view geometry class 10 More on single-view geometry class 10 Multiple View Geometry Comp 290-089 Marc Pollefeys Multiple View Geometry course schedule (subject to change) Jan. 7, 9 Intro & motivation Projective 2D Geometry Jan.

More information

Structure from Motion. Introduction to Computer Vision CSE 152 Lecture 10

Structure from Motion. Introduction to Computer Vision CSE 152 Lecture 10 Structure from Motion CSE 152 Lecture 10 Announcements Homework 3 is due May 9, 11:59 PM Reading: Chapter 8: Structure from Motion Optional: Multiple View Geometry in Computer Vision, 2nd edition, Hartley

More information

3D Photography: Epipolar geometry

3D Photography: Epipolar geometry 3D Photograph: Epipolar geometr Kalin Kolev, Marc Pollefes Spring 203 http://cvg.ethz.ch/teaching/203spring/3dphoto/ Schedule (tentative) Feb 8 Feb 25 Mar 4 Mar Mar 8 Mar 25 Apr Apr 8 Apr 5 Apr 22 Apr

More information

Lecture 9: Epipolar Geometry

Lecture 9: Epipolar Geometry Lecture 9: Epipolar Geometry Professor Fei Fei Li Stanford Vision Lab 1 What we will learn today? Why is stereo useful? Epipolar constraints Essential and fundamental matrix Estimating F (Problem Set 2

More information

Rectification and Distortion Correction

Rectification and Distortion Correction Rectification and Distortion Correction Hagen Spies March 12, 2003 Computer Vision Laboratory Department of Electrical Engineering Linköping University, Sweden Contents Distortion Correction Rectification

More information

Structure from Motion

Structure from Motion /8/ Structure from Motion Computer Vision CS 43, Brown James Hays Many slides adapted from Derek Hoiem, Lana Lazebnik, Silvio Saverese, Steve Seitz, and Martial Hebert This class: structure from motion

More information

Gabriel Taubin. Desktop 3D Photography

Gabriel Taubin. Desktop 3D Photography Sring 06 ENGN50 --- D Photograhy Lecture 7 Gabriel Taubin Brown University Deskto D Photograhy htt://www.vision.caltech.edu/bouguetj/iccv98/.index.html D triangulation: ray-lane Intersection lane ray intersection

More information

Index. 3D reconstruction, point algorithm, point algorithm, point algorithm, point algorithm, 253

Index. 3D reconstruction, point algorithm, point algorithm, point algorithm, point algorithm, 253 Index 3D reconstruction, 123 5+1-point algorithm, 274 5-point algorithm, 260 7-point algorithm, 255 8-point algorithm, 253 affine point, 43 affine transformation, 55 affine transformation group, 55 affine

More information

Camera model and calibration

Camera model and calibration Camera model and calibration Karel Zimmermann, zimmerk@cmp.felk.cvut.cz (some images taken from Tomáš Svoboda s) Czech Technical University in Prague, Center for Machine Perception http://cmp.felk.cvut.cz

More information

calibrated coordinates Linear transformation pixel coordinates

calibrated coordinates Linear transformation pixel coordinates 1 calibrated coordinates Linear transformation pixel coordinates 2 Calibration with a rig Uncalibrated epipolar geometry Ambiguities in image formation Stratified reconstruction Autocalibration with partial

More information

Index. 3D reconstruction, point algorithm, point algorithm, point algorithm, point algorithm, 263

Index. 3D reconstruction, point algorithm, point algorithm, point algorithm, point algorithm, 263 Index 3D reconstruction, 125 5+1-point algorithm, 284 5-point algorithm, 270 7-point algorithm, 265 8-point algorithm, 263 affine point, 45 affine transformation, 57 affine transformation group, 57 affine

More information

METR Robotics Tutorial 2 Week 2: Homogeneous Coordinates

METR Robotics Tutorial 2 Week 2: Homogeneous Coordinates METR4202 -- Robotics Tutorial 2 Week 2: Homogeneous Coordinates The objective of this tutorial is to explore homogenous transformations. The MATLAB robotics toolbox developed by Peter Corke might be a

More information

3D Computer Vision II. Reminder Projective Geometry, Transformations. Nassir Navab. October 27, 2009

3D Computer Vision II. Reminder Projective Geometry, Transformations. Nassir Navab. October 27, 2009 3D Computer Vision II Reminder Projective Geometr, Transformations Nassir Navab based on a course given at UNC b Marc Pollefes & the book Multiple View Geometr b Hartle & Zisserman October 27, 29 2D Transformations

More information

Epipolar Geometry class 11

Epipolar Geometry class 11 Epipolar Geometry class 11 Multiple View Geometry Comp 290-089 Marc Pollefeys Multiple View Geometry course schedule (subject to change) Jan. 7, 9 Intro & motivation Projective 2D Geometry Jan. 14, 16

More information

P Z. parametric surface Q Z. 2nd Image T Z

P Z. parametric surface Q Z. 2nd Image T Z Direct recovery of shae from multile views: a arallax based aroach Rakesh Kumar. Anandan Keith Hanna Abstract Given two arbitrary views of a scene under central rojection, if the motion of oints on a arametric

More information

Two-view geometry Computer Vision Spring 2018, Lecture 10

Two-view geometry Computer Vision Spring 2018, Lecture 10 Two-view geometry http://www.cs.cmu.edu/~16385/ 16-385 Computer Vision Spring 2018, Lecture 10 Course announcements Homework 2 is due on February 23 rd. - Any questions about the homework? - How many of

More information

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

Computer Vision. Geometric Camera Calibration. Samer M Abdallah, PhD 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

More information

Unit 3 Multiple View Geometry

Unit 3 Multiple View Geometry Unit 3 Multiple View Geometry Relations between images of a scene Recovering the cameras Recovering the scene structure http://www.robots.ox.ac.uk/~vgg/hzbook/hzbook1.html 3D structure from images Recover

More information

Visual Recognition: Image Formation

Visual Recognition: Image Formation Visual Recognition: Image Formation Raquel Urtasun TTI Chicago Jan 5, 2012 Raquel Urtasun (TTI-C) Visual Recognition Jan 5, 2012 1 / 61 Today s lecture... Fundamentals of image formation You should know

More information

CS231A Midterm Review. Friday 5/6/2016

CS231A Midterm Review. Friday 5/6/2016 CS231A Midterm Review Friday 5/6/2016 Outline General Logistics Camera Models Non-perspective cameras Calibration Single View Metrology Epipolar Geometry Structure from Motion Active Stereo and Volumetric

More information

Matrix Transformations. Affine Transformations

Matrix Transformations. Affine Transformations Matri ransformations Basic Graphics ransforms ranslation Scaling Rotation Reflection Shear All Can be Epressed As Linear Functions of the Original Coordinates : A + B + C D + E + F ' A ' D 1 B E C F 1

More information

Camera Model and Calibration

Camera Model and Calibration Camera Model and Calibration Lecture-10 Camera Calibration Determine extrinsic and intrinsic parameters of camera Extrinsic 3D location and orientation of camera Intrinsic Focal length The size of the

More information

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

Geometry of a single camera. Odilon Redon, Cyclops, 1914 Geometr o a single camera Odilon Redon, Cclops, 94 Our goal: Recover o 3D structure Recover o structure rom one image is inherentl ambiguous??? Single-view ambiguit Single-view ambiguit Rashad Alakbarov

More information

3D reconstruction class 11

3D reconstruction class 11 3D reconstruction class 11 Multiple View Geometry Comp 290-089 Marc Pollefeys Multiple View Geometry course schedule (subject to change) Jan. 7, 9 Intro & motivation Projective 2D Geometry Jan. 14, 16

More information

Camera model and multiple view geometry

Camera model and multiple view geometry Chapter Camera model and multiple view geometry Before discussing how D information can be obtained from images it is important to know how images are formed First the camera model is introduced and then

More information

Projective 2D Geometry

Projective 2D Geometry Projective D Geometry Multi View Geometry (Spring '08) Projective D Geometry Prof. Kyoung Mu Lee SoEECS, Seoul National University Homogeneous representation of lines and points Projective D Geometry Line

More information

Multiple View Geometry in Computer Vision Second Edition

Multiple View Geometry in Computer Vision Second Edition Multiple View Geometry in Computer Vision Second Edition Richard Hartley Australian National University, Canberra, Australia Andrew Zisserman University of Oxford, UK CAMBRIDGE UNIVERSITY PRESS Contents

More information

Geometry of image formation

Geometry of image formation Geometr of image formation Tomáš Svoboda, svoboda@cmp.felk.cvut.c ech Technical Universit in Prague, enter for Machine Perception http://cmp.felk.cvut.c Last update: November 0, 2008 Talk Outline Pinhole

More information

3D Geometry and Camera Calibration

3D Geometry and Camera Calibration 3D Geometry and Camera Calibration 3D Coordinate Systems Right-handed vs. left-handed x x y z z y 2D Coordinate Systems 3D Geometry Basics y axis up vs. y axis down Origin at center vs. corner Will often

More information

Introduction to Homogeneous coordinates

Introduction to Homogeneous coordinates Last class we considered smooth translations and rotations of the camera coordinate system and the resulting motions of points in the image projection plane. These two transformations were expressed mathematically

More information

Multiple View Geometry in Computer Vision

Multiple View Geometry in Computer Vision Multiple View Geometry in Computer Vision Prasanna Sahoo Department of Mathematics University of Louisville 1 Projective 3D Geometry (Back to Chapter 2) Lecture 6 2 Singular Value Decomposition Given a

More information

Recovering structure from a single view Pinhole perspective projection

Recovering structure from a single view Pinhole perspective projection EPIPOLAR GEOMETRY The slides are from several sources through James Hays (Brown); Silvio Savarese (U. of Michigan); Svetlana Lazebnik (U. Illinois); Bill Freeman and Antonio Torralba (MIT), including their

More information

Structure from motion

Structure from motion Structure from motion Structure from motion Given a set of corresponding points in two or more images, compute the camera parameters and the 3D point coordinates?? R 1,t 1 R 2,t R 2 3,t 3 Camera 1 Camera

More information

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

Week 2: Two-View Geometry. Padua Summer 08 Frank Dellaert Week 2: Two-View Geometry Padua Summer 08 Frank Dellaert Mosaicking Outline 2D Transformation Hierarchy RANSAC Triangulation of 3D Points Cameras Triangulation via SVD Automatic Correspondence Essential

More information

3D Geometry and Camera Calibration

3D Geometry and Camera Calibration 3D Geometr and Camera Calibration 3D Coordinate Sstems Right-handed vs. left-handed 2D Coordinate Sstems ais up vs. ais down Origin at center vs. corner Will often write (u, v) for image coordinates v

More information

Camera Geometry II. COS 429 Princeton University

Camera Geometry II. COS 429 Princeton University Camera Geometry II COS 429 Princeton University Outline Projective geometry Vanishing points Application: camera calibration Application: single-view metrology Epipolar geometry Application: stereo correspondence

More information

Part I: Single and Two View Geometry Internal camera parameters

Part I: Single and Two View Geometry Internal camera parameters !! 43 1!???? Imaging eometry Multiple View eometry Perspective projection Richard Hartley Andrew isserman O p y VPR June 1999 where image plane This can be written as a linear mapping between homogeneous

More information

MATHEMATICAL MODELING OF COMPLEX MULTI-COMPONENT MOVEMENTS AND OPTICAL METHOD OF MEASUREMENT

MATHEMATICAL MODELING OF COMPLEX MULTI-COMPONENT MOVEMENTS AND OPTICAL METHOD OF MEASUREMENT MATHEMATICAL MODELING OF COMPLE MULTI-COMPONENT MOVEMENTS AND OPTICAL METHOD OF MEASUREMENT V.N. Nesterov JSC Samara Electromechanical Plant, Samara, Russia Abstract. The rovisions of the concet of a multi-comonent

More information

CSE4421/5324: Introduction to Robotics

CSE4421/5324: Introduction to Robotics CSE442/5324: Introduction to Robotics Contact Information Burton Ma Lassonde 246 burton@cse.yorku.ca EECS442/5324 lectures Monday, Wednesday, Friday :3-2:3PM (SLH C) Lab Thursday 2:3-2:3, Prism 4 Lab 2

More information

Robust Geometry Estimation from two Images

Robust Geometry Estimation from two Images Robust Geometry Estimation from two Images Carsten Rother 09/12/2016 Computer Vision I: Image Formation Process Roadmap for next four lectures Computer Vision I: Image Formation Process 09/12/2016 2 Appearance-based

More information

3D Reconstruction with two Calibrated Cameras

3D Reconstruction with two Calibrated Cameras 3D Reconstruction with two Calibrated Cameras Carlo Tomasi The standard reference frame for a camera C is a right-handed Cartesian frame with its origin at the center of projection of C, its positive Z

More information

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

Camera Calibration. Schedule. Jesus J Caban. Note: You have until next Monday to let me know. ! Today:! Camera calibration Camera Calibration Jesus J Caban Schedule! Today:! Camera calibration! Wednesday:! Lecture: Motion & Optical Flow! Monday:! Lecture: Medical Imaging! Final presentations:! Nov 29 th : W. Griffin! Dec 1

More information

Vision Review: Image Formation. Course web page:

Vision Review: Image Formation. Course web page: Vision Review: Image Formation Course web page: www.cis.udel.edu/~cer/arv September 10, 2002 Announcements Lecture on Thursday will be about Matlab; next Tuesday will be Image Processing The dates some

More information

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

55:148 Digital Image Processing Chapter 11 3D Vision, Geometry 55:148 Digital Image Processing Chapter 11 3D Vision, Geometry Topics: Basics of projective geometry Points and hyperplanes in projective space Homography Estimating homography from point correspondence

More information

Epipolar geometry. x x

Epipolar geometry. x x Two-view geometry Epipolar geometry X x x Baseline line connecting the two camera centers Epipolar Plane plane containing baseline (1D family) Epipoles = intersections of baseline with image planes = projections

More information

Humanoid Robotics. Projective Geometry, Homogeneous Coordinates. (brief introduction) Maren Bennewitz

Humanoid Robotics. Projective Geometry, Homogeneous Coordinates. (brief introduction) Maren Bennewitz Humanoid Robotics Projective Geometry, Homogeneous Coordinates (brief introduction) Maren Bennewitz Motivation Cameras generate a projected image of the 3D world In Euclidian geometry, the math for describing

More information

Stereo Disparity Estimation in Moment Space

Stereo Disparity Estimation in Moment Space Stereo Disarity Estimation in oment Sace Angeline Pang Faculty of Information Technology, ultimedia University, 63 Cyberjaya, alaysia. angeline.ang@mmu.edu.my R. ukundan Deartment of Comuter Science, University

More information

COS429: COMPUTER VISON CAMERAS AND PROJECTIONS (2 lectures)

COS429: COMPUTER VISON CAMERAS AND PROJECTIONS (2 lectures) COS429: COMPUTER VISON CMERS ND PROJECTIONS (2 lectures) Pinhole cameras Camera with lenses Sensing nalytical Euclidean geometry The intrinsic parameters of a camera The extrinsic parameters of a camera

More information

Computer Vision: Lecture 3

Computer Vision: Lecture 3 Computer Vision: Lecture 3 Carl Olsson 2019-01-29 Carl Olsson Computer Vision: Lecture 3 2019-01-29 1 / 28 Todays Lecture Camera Calibration The inner parameters - K. Projective vs. Euclidean Reconstruction.

More information

COMP 558 lecture 19 Nov. 17, 2010

COMP 558 lecture 19 Nov. 17, 2010 COMP 558 lecture 9 Nov. 7, 2 Camera calibration To estimate the geometry of 3D scenes, it helps to know the camera parameters, both external and internal. The problem of finding all these parameters is

More information

Rectification and Disparity

Rectification and Disparity Rectification and Disparity Nassir Navab Slides prepared by Christian Unger What is Stereo Vision? Introduction A technique aimed at inferring dense depth measurements efficiently using two cameras. Wide

More information

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

Rigid Body Motion and Image Formation. Jana Kosecka, CS 482 Rigid Body Motion and Image Formation Jana Kosecka, CS 482 A free vector is defined by a pair of points : Coordinates of the vector : 1 3D Rotation of Points Euler angles Rotation Matrices in 3D 3 by 3

More information

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

Epipolar Geometry Prof. D. Stricker. With slides from A. Zisserman, S. Lazebnik, Seitz Epipolar Geometry Prof. D. Stricker With slides from A. Zisserman, S. Lazebnik, Seitz 1 Outline 1. Short introduction: points and lines 2. Two views geometry: Epipolar geometry Relation point/line in two

More information

CSE 252B: Computer Vision II

CSE 252B: Computer Vision II CSE 252B: Computer Vision II Lecturer: Serge Belongie Scribe: Sameer Agarwal LECTURE 1 Image Formation 1.1. The geometry of image formation We begin by considering the process of image formation when a

More information

CS231A Course Notes 4: Stereo Systems and Structure from Motion

CS231A Course Notes 4: Stereo Systems and Structure from Motion CS231A Course Notes 4: Stereo Systems and Structure from Motion Kenji Hata and Silvio Savarese 1 Introduction In the previous notes, we covered how adding additional viewpoints of a scene can greatly enhance

More information

Agenda. Perspective projection. Rotations. Camera models

Agenda. Perspective projection. Rotations. Camera models Image formation Agenda Perspective projection Rotations Camera models Light as a wave + particle Light as a wave (ignore for now) Refraction Diffraction Image formation Digital Image Film Human eye Pixel

More information

Image Formation I Chapter 2 (R. Szelisky)

Image Formation I Chapter 2 (R. Szelisky) Image Formation I Chapter 2 (R. Selisky) Guido Gerig CS 632 Spring 22 cknowledgements: Slides used from Prof. Trevor Darrell, (http://www.eecs.berkeley.edu/~trevor/cs28.html) Some slides modified from

More information

C / 35. C18 Computer Vision. David Murray. dwm/courses/4cv.

C / 35. C18 Computer Vision. David Murray.   dwm/courses/4cv. C18 2015 1 / 35 C18 Computer Vision David Murray david.murray@eng.ox.ac.uk www.robots.ox.ac.uk/ dwm/courses/4cv Michaelmas 2015 C18 2015 2 / 35 Computer Vision: This time... 1. Introduction; imaging geometry;

More information

Agenda. Rotations. Camera models. Camera calibration. Homographies

Agenda. Rotations. Camera models. Camera calibration. Homographies Agenda Rotations Camera models Camera calibration Homographies D Rotations R Y = Z r r r r r r r r r Y Z Think of as change of basis where ri = r(i,:) are orthonormal basis vectors r rotated coordinate

More information

Image Formation I Chapter 1 (Forsyth&Ponce) Cameras

Image Formation I Chapter 1 (Forsyth&Ponce) Cameras Image Formation I Chapter 1 (Forsyth&Ponce) Cameras Guido Gerig CS 632 Spring 215 cknowledgements: Slides used from Prof. Trevor Darrell, (http://www.eecs.berkeley.edu/~trevor/cs28.html) Some slides modified

More information

Structure from Motion

Structure from Motion Structure from Motion Outline Bundle Adjustment Ambguities in Reconstruction Affine Factorization Extensions Structure from motion Recover both 3D scene geoemetry and camera positions SLAM: Simultaneous

More information

3D Computer Vision. Structure from Motion. Prof. Didier Stricker

3D Computer Vision. Structure from Motion. Prof. Didier Stricker 3D Computer Vision Structure from Motion Prof. Didier Stricker Kaiserlautern University http://ags.cs.uni-kl.de/ DFKI Deutsches Forschungszentrum für Künstliche Intelligenz http://av.dfki.de 1 Structure

More information

Structure from Motion

Structure from Motion 11/18/11 Structure from Motion Computer Vision CS 143, Brown James Hays Many slides adapted from Derek Hoiem, Lana Lazebnik, Silvio Saverese, Steve Seitz, and Martial Hebert This class: structure from

More information

Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)

Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book) Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book) Guido Gerig CS-GY 6643, Spring 2016 gerig@nyu.edu Credits: M. Shah, UCF CAP5415, lecture 23 http://www.cs.ucf.edu/courses/cap6411/cap5415/,

More information

CEE598 - Visual Sensing for Civil Infrastructure Eng. & Mgmt.

CEE598 - Visual Sensing for Civil Infrastructure Eng. & Mgmt. CEE598 - Visual Sensing for Civil Infrastructure Eng. & Mgmt. Session 4 Affine Structure from Motion Mani Golparvar-Fard Department of Civil and Environmental Engineering 329D, Newmark Civil Engineering

More information

Multiple View Geometry in Computer Vision

Multiple View Geometry in Computer Vision http://www.cs.unc.edu/~marc/ Multiple View Geometry in Computer Vision 2011.09. 2 3 4 5 Visual 3D Modeling from Images 6 AutoStitch http://cs.bath.ac.uk/brown/autostitch/autostitch.html 7 Image Composite

More information

But First: Multi-View Projective Geometry

But First: Multi-View Projective Geometry View Morphing (Seitz & Dyer, SIGGRAPH 96) Virtual Camera Photograph Morphed View View interpolation (ala McMillan) but no depth no camera information Photograph But First: Multi-View Projective Geometry

More information

Image Formation I Chapter 1 (Forsyth&Ponce) Cameras

Image Formation I Chapter 1 (Forsyth&Ponce) Cameras Image Formation I Chapter 1 (Forsyth&Ponce) Cameras Guido Gerig CS 632 Spring 213 cknowledgements: Slides used from Prof. Trevor Darrell, (http://www.eecs.berkeley.edu/~trevor/cs28.html) Some slides modified

More information

Agenda. Rotations. Camera calibration. Homography. Ransac

Agenda. Rotations. Camera calibration. Homography. Ransac Agenda Rotations Camera calibration Homography Ransac Geometric Transformations y x Transformation Matrix # DoF Preserves Icon translation rigid (Euclidean) similarity affine projective h I t h R t h sr

More information

Computer Vision I - Appearance-based Matching and Projective Geometry

Computer Vision I - Appearance-based Matching and Projective Geometry Computer Vision I - Appearance-based Matching and Projective Geometry Carsten Rother 05/11/2015 Computer Vision I: Image Formation Process Roadmap for next four lectures Computer Vision I: Image Formation

More information

CS 664 Slides #9 Multi-Camera Geometry. Prof. Dan Huttenlocher Fall 2003

CS 664 Slides #9 Multi-Camera Geometry. Prof. Dan Huttenlocher Fall 2003 CS 664 Slides #9 Multi-Camera Geometry Prof. Dan Huttenlocher Fall 2003 Pinhole Camera Geometric model of camera projection Image plane I, which rays intersect Camera center C, through which all rays pass

More information

Projective Geometry and Camera Models

Projective Geometry and Camera Models Projective Geometry and Camera Models Computer Vision CS 43 Brown James Hays Slides from Derek Hoiem, Alexei Efros, Steve Seitz, and David Forsyth Administrative Stuff My Office hours, CIT 375 Monday and

More information

D - Motion. EECS 4422/5323 Computer Vision

D - Motion. EECS 4422/5323 Computer Vision 7.-7. 3D - Motion! Outline riangulation wo-frame Structure from Motion! Outline riangulation wo-frame Structure from Motion!3 Structure from Motion Pose Estimation Geometric Camera Calibration: Given known

More information