Lecture 8: Camera Models

Size: px
Start display at page:

Download "Lecture 8: Camera Models"

Transcription

1 Lecture 8: Camera Models Dr. Juan Carlos Niebles Stanford AI Lab Professor Fei- Fei Li Stanford Vision Lab Oct- 15

2 What we will learn today? Pinhole cameras Cameras & lenses The geometry of pinhole cameras ProjecPon matrix Intrinsic parameters Extrinsic parameters Reading: [FP] Chapters 1 3 [HZ] Chapter Oct- 15

3 What we will learn today? Pinhole cameras Cameras & lenses The geometry of pinhole cameras ProjecPon matrix Intrinsic parameters Extrinsic parameters Reading: [FP] Chapters 1 3 [HZ] Chapter Oct- 15

4 Camera and World Geometry How tall is this woman? How high is the camera? What is the camera rotation? What is the focal length of the camera? Which ball is closer? Slide credit: J. Hayes

5 How do we see the world? Let s design a camera Idea 1: put a piece of film in front of an object Do we get a reasonable image? Oct- 15

6 Pinhole camera Add a barrier to block off most of the rays This reduces blurring The opening known as the aperture Oct- 15

7 Camera obscura: the pre- camera Known during classical period in China and Greece (e.g. Mo- Tsi, China, 47BC to 39BC) Illustration of Camera Obscura Freestanding camera obscura at UNC Chapel Hill Photo by Seth Ilys Slide credit: J. Hayes

8 Camera Obscura used for Tracing Lens Based Camera Obscura, 1568 Slide credit: J. Hayes

9 First Photograph Oldest surviving photograph Took 8 hours on pewter plate Photograph of the first photograph Joseph Niepce, 1826 Stored at UT Austin Niepce later teamed up with Daguerre, who eventually created Daguerrotypes Slide credit: J. Hayes

10 Dimensionality ReducPon Machine (3D to 2D) 3D world 2D image Point of observation Figures Stephen E. Palmer, 22

11 ProjecPon can be tricky Slide source: Seitz

12 ProjecPon can be tricky Slide source: Seitz

13 What is lost? Length ProjecPve Geometry Who is taller? Which is closer? Slide credit: J. Hayes

14 Length is not preserved A B C Figure by David Forsyth

15 ProjecPve Geometry What is lost? Length Angles Parallel? Perpendicular? Slide credit: J. Hayes

16 ProjecPve Geometry What is preserved? Straight lines are spll straight Slide credit: J. Hayes

17 Vanishing points and lines Parallel lines in the world intersect in the image at a vanishing point Vanishing Line Vanishing Point o Vanishing Point o Slide credit: J. Hayes

18 Vanishing points and lines Vertical vanishing point (at infinity) Vanishing line Vanishing point Vanishing point Slide from Efros, Photo from Criminisi

19 14- Oct Pinhole camera = = z y f y z x f x ' ' ' ' ʹ ʹ = ʹ y x P = z y x P Derived using similar triangles Note: z is always negapve.

20 Pinhole camera f f Common to draw image plane in front of the focal point Moving the image plane merely scales the image. x' = y' = f f x z y z Oct- 15

21 Pinhole camera Is the size of the aperture important? Kate lazuka Oct- 15

22 Cameras & Lenses Shrinking aperture size - Rays are mixed up - Why the aperture cannot be too small? - Less light passes through - DiffracPon effect Adding lenses! Oct- 15

23 What we will learn today? Pinhole cameras Cameras & lenses The geometry of pinhole cameras ProjecPon matrix Intrinsic parameters Extrinsic parameters Reading: [FP] Chapters 1 3 [HZ] Chapter Oct- 15

24 Cameras & Lenses A lens focuses light onto the film Oct- 15

25 Cameras & Lenses focal point f A lens focuses light onto the film Rays passing through the center are not deviated All parallel rays converge to one point on a plane located at the focal length f Oct- 15

26 Cameras & Lenses circle of confusion A lens focuses light onto the film There is a specific distance at which objects are in focus [other points project to a circle of confusion in the image] Oct- 15

27 Cameras & Lenses Laws of geometric oppcs Light travels in straight lines in homogeneous medium ReflecPon upon a surface: incoming ray, surface normal, and reflecpon are co- planar RefracPon: when a ray passes from one medium to another Snell s law n 1 sin α 1 = n 2 sin α 2 α 1 = incident angle α 2 = refracpon angle n i = index of refracpon Oct- 15

28 Thin Lenses z o z ' = f + z o f = R 2(n 1) Snell s law: n 1 sin α 1 = n 2 sin α 2 Small angles: n 1 α 1 n 2 α 2 n 1 = n (lens) n 1 = 1 (air) x' = y' = z' z' x z y z Oct- 15

29 Cameras & Lenses Source wikipedia Oct- 15

30 Issues with lenses: Chroma>c Aberra>on Lens has different refracpve indices for different wavelengths: causes color fringing f = R 2(n 1) Oct- 15

31 Issues with lenses: Chroma>c Aberra>on Rays farther from the oppcal axis focus closer Oct- 15

32 Issues with lenses: Chroma>c Aberra>on DeviaPons are most nopceable for rays that pass through the edge of the lens No distortion Pin cushion Barrel (fisheye lens) Image magnificapon decreases with distance from the oppcal axis Oct- 15

33 What we will learn today? Pinhole cameras Cameras & lenses The geometry of pinhole cameras ProjecPon matrix Intrinsic parameters Extrinsic parameters Oct- 15

34 Rela>ng real- world point to a point on a camera f P c P f = focal length c = center of the camera P = (x, y, z) P' = ( f x z, f y z ) R 3 E R Oct- 15

35 Rela>ng real- world point to a point on a camera Is this a linear transformapon? P = (x, y, z) P' = ( f x z, f y z ) No division by z is nonlinear! How to make it linear? Oct- 15

36 Homogeneous coordinates a reminder homogeneous image coordinates homogeneous scene coordinates ConverPng from homogeneous coordinates Oct- 15

37 14- Oct RelaPng a real- world point to a point on the camera P = (x, y, z) P' = ( f x z, f y z ) In Cartesian coordinates: In homogeneous coordinates: = = 1 1 ' z y x f f z y f x f P P = M P ' M Projec>on matrix 3 H 4 R R

38 Interlude: why does this maser?

39 Object RecogniPon (CVPR 26) Slide credit: J. Hayes

40 InserPng photographed objects into images (SIGGRAPH 27) Original Created Slide credit: J. Hayes

41 14- Oct RelaPng a real- world point to a point on the camera In homogeneous coordinates: = = 1 1 ' z y x f f z y f x f P M ideal world Intrinsic Assumptions Unit aspect ratio Optical center at (,) No skew Extrinsic Assumptions No rotation Camera at (,,)

42 RelaPng a real- world point to a point on the camera In homogeneous coordinates:! # P' = # # "# f x f y z $! & # & = # & # %& " f f 1 K $! & # & # & # %# " x y z 1 Intrinsic Assumptions Unit aspect ratio Optical center at (,) No skew $ & & = K & [ I ]P & % Extrinsic Assumptions No rotation Camera at (,,) Oct- 15

43 Remove assumppon: known oppcal center Intrinsic Assumptions Optical center at (,) Optical center at (u, v) Square pixels No skew P' = K! I " Extrinsic Assumptions No rotation Camera at (,,) u x y # $ P w v = f v z 1 f u 1 1 Slide inspirapon: S. Savarese

44 Remove assumppon: square pixels = z y x v u v u w β α Extrinsic Assumptions No rotation Camera at (,,) Intrinsic Assumptions Optical center at (u, v) Square pixels Rectangular pixels No skew P' = K I! " # $ P Slide inspirapon: S. Savarese

45 Remove assumppon: non- skewed pixels Intrinsic Assumptions Optical center at (u, v) Rectangular pixels No skew Small skew P' = K! I " # $ P y y c Extrinsic Assumptions No rotation Camera at (,,) u w v 1 = α s β u v 1 x y z 1 x c Slide inspirapon: S. Savarese v C=[c x, c y ] x

46 Remove assumppon: non- skewed pixels = z y x v u s v u w β α Extrinsic Assumptions No rotation Camera at (,,) Intrinsic Assumptions Optical center at (u, v) Rectangular pixels Small skew Intrinsic parameters P' = K I! " # $ P Slide inspirapon: S. Savarese

47 Real world camera: Translate + Rotate R j w t k w O w i w Slide inspirapon: S. Savarese, J. Hayes

48 Remove assumppon: allow translapon Extrinsic Assumptions No rotation Camera at (,,) -> (tx,ty,tz) Intrinsic Assumptions Optical center at (u, v) Rectangular pixels Small skew P' = K I t [ ] P = z y x t t t v u v u w z y x β α Slide inspirapon: S. Savarese

49 Remove assumppon: allow rotapon Intrinsic Assumptions Optical center at (u, v) Rectangular pixels Small skew z y P Rotation around the coordinate axes, counter-clockwise Slide inspirapon: S. Savarese γ P Extrinsic Assumptions No rotation Camera at (tx,ty,tz) 1 R x ( α) = cosα sinα sinα cosα cos β sin β R = y ( β ) 1 sin β cos β cosγ sin γ R ( γ ) = z sin γ cosγ 1

50 Remove assumppon: allow rotapon Intrinsic Assumptions Optical center at (u, v) Rectangular pixels Small skew P' = K [ R t ] P Extrinsic Assumptions No rotation Camera at (tx,ty,tz) u α s u r11 r12 r13 w v = β v r 21 r22 r r31 r32 r33 t t t x y z x y z 1 Slide inspirapon: S. Savarese

51 A generic projecpon matrix Intrinsic Assumptions Optical center at (u, v) Rectangular pixels Small skew P' = K [ R t ] P Extrinsic Assumptions Allow rotation Camera at (tx,ty,tz) u α s u r11 r12 r13 w v = β v r 21 r22 r r31 r32 r33 t t t x y z x y z 1 Slide inspirapon: S. Savarese

52 A generic projecpon matrix Intrinsic Assumptions Optical center at (u, v) Rectangular pixels Small skew P' = K [ R t ] P Extrinsic Assumptions Allow rotation Camera at (tx,ty,tz) u α s u r11 r12 r13 w v = β v r 21 r22 r r31 r32 r33 t t t x y z x y z 1 Degrees of freedom?? Slide inspirapon: S. Savarese

53 A generic projecpon matrix Intrinsic Assumptions Optical center at (u, v) Rectangular pixels Small skew P' = K [ R t ] P Extrinsic Assumptions Allow rotation Camera at (tx,ty,tz) u α s u r11 r12 r = w v β v r 21 r22 r r31 r32 r33 t t t x y z x y z 1 Degrees of freedom?? Slide inspirapon: S. Savarese

54 CS231a: Camera CalibraPon espmate all intrinsic and extrinsic parameters Intrinsic Assumptions Optical center at (u, v) Rectangular pixels Small skew Extrinsic Assumptions Allow rotation Camera at (tx,ty,tz) u α s u r11 r12 r = P' = K [ R t ] P w v β v r 21 r22 r r31 r32 r33 t t t x y z x y z 1 Slide inspirapon: S. Savarese

55 Orthographic ProjecPon Special case of perspecpve projecpon Distance from the COP to the image plane is infinite Also called parallel projecpon What s the projecpon matrix? Image World Slide credit: Steve Seitz = z y x v u w

56 Scaled Orthographic ProjecPon Special case of perspecpve projecpon Object dimensions are small compared to distance to camera Also called weak perspecpve What s the projecpon matrix? Image World = 1 1 z y x s f f v u w Slide credit: Steve Seitz

57 Field of View (Zoom)

58 Things to remember Vanishing points and vanishing lines Vanishing line Vanishing point Pinhole camera model and camera projecpon matrix M Intrinsic parameters Extrinsic parameters P ' = K!" R Vertical vanishing point (at infinity) Vanishing point t #$ P Homogeneous coordinates Slide inspirapon: J. Hayes

59 What we have learned today? Pinhole cameras Cameras & lenses The geometry of pinhole cameras ProjecPon matrix Intrinsic parameters Extrinsic parameters Reading: [FP] Chapters 1 3 [HZ] Chapter Oct- 15

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

Pinhole Camera Model 10/05/17. Computational Photography Derek Hoiem, University of Illinois

Pinhole Camera Model 10/05/17. Computational Photography Derek Hoiem, University of Illinois Pinhole Camera Model /5/7 Computational Photography Derek Hoiem, University of Illinois Next classes: Single-view Geometry How tall is this woman? How high is the camera? What is the camera rotation? What

More information

Projective Geometry and Camera Models

Projective Geometry and Camera Models /2/ Projective Geometry and Camera Models Computer Vision CS 543 / ECE 549 University of Illinois Derek Hoiem Note about HW Out before next Tues Prob: covered today, Tues Prob2: covered next Thurs Prob3:

More information

Capturing Light: Geometry of Image Formation

Capturing Light: Geometry of Image Formation Capturing Light: Geometry of Image Formation Computer Vision James Hays Slides from Derek Hoiem, Alexei Efros, Steve Seitz, and David Forsyth Administrative Stuff My Office hours, CoC building 35 Monday

More information

COSC579: Scene Geometry. Jeremy Bolton, PhD Assistant Teaching Professor

COSC579: Scene Geometry. Jeremy Bolton, PhD Assistant Teaching Professor COSC579: Scene Geometry Jeremy Bolton, PhD Assistant Teaching Professor Overview Linear Algebra Review Homogeneous vs non-homogeneous representations Projections and Transformations Scene Geometry The

More information

Projective Geometry and Camera Models

Projective Geometry and Camera Models Projective Geometry and Camera Models Computer Vision Jia-Bin Huang, Virginia Tech Many slides from S. Seitz and D. Hoiem Administrative stuffs HWs HW 1 is back HW 2 due 11:59 PM on Oct 9th. Submit your

More information

Perspective projection. A. Mantegna, Martyrdom of St. Christopher, c. 1450

Perspective projection. A. Mantegna, Martyrdom of St. Christopher, c. 1450 Perspective projection A. Mantegna, Martyrdom of St. Christopher, c. 1450 Overview of next two lectures The pinhole projection model Qualitative properties Perspective projection matrix Cameras with lenses

More information

CS6670: Computer Vision

CS6670: Computer Vision CS6670: Computer Vision Noah Snavely Lecture 5: Projection Reading: Szeliski 2.1 Projection Reading: Szeliski 2.1 Projection Müller Lyer Illusion http://www.michaelbach.de/ot/sze_muelue/index.html Modeling

More information

3-D D Euclidean Space - Vectors

3-D D Euclidean Space - Vectors 3-D D Euclidean Space - Vectors Rigid Body Motion and Image Formation A free vector is defined by a pair of points : Jana Kosecka http://cs.gmu.edu/~kosecka/cs682.html Coordinates of the vector : 3D Rotation

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

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

CMPSCI 670: Computer Vision! Image formation. University of Massachusetts, Amherst September 8, 2014 Instructor: Subhransu Maji

CMPSCI 670: Computer Vision! Image formation. University of Massachusetts, Amherst September 8, 2014 Instructor: Subhransu Maji CMPSCI 670: Computer Vision! Image formation University of Massachusetts, Amherst September 8, 2014 Instructor: Subhransu Maji MATLAB setup and tutorial Does everyone have access to MATLAB yet? EdLab accounts

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

Computer Vision CS 776 Fall 2018

Computer Vision CS 776 Fall 2018 Computer Vision CS 776 Fall 2018 Cameras & Photogrammetry 1 Prof. Alex Berg (Slide credits to many folks on individual slides) Cameras & Photogrammetry 1 Albrecht Dürer early 1500s Brunelleschi, early

More information

Image formation - About the course. Grading & Project. Tentative Schedule. Course Content. Students introduction

Image formation - About the course. Grading & Project. Tentative Schedule. Course Content. Students introduction About the course Instructors: Haibin Ling (hbling@temple, Wachman 305) Hours Lecture: Tuesda 5:30-8:00pm, TTLMAN 403B Office hour: Tuesda 3:00-5:00pm, or b appointment Tetbook Computer Vision: Models,

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

CS4670: Computer Vision

CS4670: Computer Vision CS467: Computer Vision Noah Snavely Lecture 13: Projection, Part 2 Perspective study of a vase by Paolo Uccello Szeliski 2.1.3-2.1.6 Reading Announcements Project 2a due Friday, 8:59pm Project 2b out Friday

More information

ECE Digital Image Processing and Introduction to Computer Vision. Outline

ECE Digital Image Processing and Introduction to Computer Vision. Outline ECE592-064 Digital Image Processing and Introduction to Computer Vision Depart. of ECE, NC State University Instructor: Tianfu (Matt) Wu Spring 2017 1. Recap Outline 2. Modeling Projection and Projection

More information

Computer Vision Project-1

Computer Vision Project-1 University of Utah, School Of Computing Computer Vision Project- Singla, Sumedha sumedha.singla@utah.edu (00877456 February, 205 Theoretical Problems. Pinhole Camera (a A straight line in the world space

More information

Image formation. Thanks to Peter Corke and Chuck Dyer for the use of some slides

Image formation. Thanks to Peter Corke and Chuck Dyer for the use of some slides Image formation Thanks to Peter Corke and Chuck Dyer for the use of some slides Image Formation Vision infers world properties form images. How do images depend on these properties? Two key elements Geometry

More information

How to achieve this goal? (1) Cameras

How to achieve this goal? (1) Cameras How to achieve this goal? (1) Cameras History, progression and comparisons of different Cameras and optics. Geometry, Linear Algebra Images Image from Chris Jaynes, U. Kentucky Discrete vs. Continuous

More information

Modeling Light. On Simulating the Visual Experience

Modeling Light. On Simulating the Visual Experience Modeling Light 15-463: Rendering and Image Processing Alexei Efros On Simulating the Visual Experience Just feed the eyes the right data No one will know the difference! Philosophy: Ancient question: Does

More information

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

Computer Vision. Coordinates. Prof. Flávio Cardeal DECOM / CEFET- MG. Computer Vision Coordinates Prof. Flávio Cardeal DECOM / CEFET- MG cardeal@decom.cefetmg.br Abstract This lecture discusses world coordinates and homogeneous coordinates, as well as provides an overview

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

CHAPTER 3. Single-view Geometry. 1. Consequences of Projection

CHAPTER 3. Single-view Geometry. 1. Consequences of Projection CHAPTER 3 Single-view Geometry When we open an eye or take a photograph, we see only a flattened, two-dimensional projection of the physical underlying scene. The consequences are numerous and startling.

More information

DD2423 Image Analysis and Computer Vision IMAGE FORMATION. Computational Vision and Active Perception School of Computer Science and Communication

DD2423 Image Analysis and Computer Vision IMAGE FORMATION. Computational Vision and Active Perception School of Computer Science and Communication DD2423 Image Analysis and Computer Vision IMAGE FORMATION Mårten Björkman Computational Vision and Active Perception School of Computer Science and Communication November 8, 2013 1 Image formation Goal:

More information

Lecture 11 MRF s (conbnued), cameras and lenses.

Lecture 11 MRF s (conbnued), cameras and lenses. 6.869 Advances in Computer Vision Bill Freeman and Antonio Torralba Spring 2011 Lecture 11 MRF s (conbnued), cameras and lenses. remember correction on Gibbs sampling Motion application image patches image

More information

Part Images Formed by Flat Mirrors. This Chapter. Phys. 281B Geometric Optics. Chapter 2 : Image Formation. Chapter 2: Image Formation

Part Images Formed by Flat Mirrors. This Chapter. Phys. 281B Geometric Optics. Chapter 2 : Image Formation. Chapter 2: Image Formation Phys. 281B Geometric Optics This Chapter 3 Physics Department Yarmouk University 21163 Irbid Jordan 1- Images Formed by Flat Mirrors 2- Images Formed by Spherical Mirrors 3- Images Formed by Refraction

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

Image Formation. Antonino Furnari. Image Processing Lab Dipartimento di Matematica e Informatica Università degli Studi di Catania

Image Formation. Antonino Furnari. Image Processing Lab Dipartimento di Matematica e Informatica Università degli Studi di Catania Image Formation Antonino Furnari Image Processing Lab Dipartimento di Matematica e Informatica Università degli Studi di Catania furnari@dmi.unict.it 18/03/2014 Outline Introduction; Geometric Primitives

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

Optics INTRODUCTION DISCUSSION OF PRINCIPLES. Reflection by a Plane Mirror

Optics INTRODUCTION DISCUSSION OF PRINCIPLES. Reflection by a Plane Mirror Optics INTRODUCTION Geometric optics is one of the oldest branches of physics, dealing with the laws of reflection and refraction. Reflection takes place on the surface of an object, and refraction occurs

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

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

Cameras and Stereo CSE 455. Linda Shapiro

Cameras and Stereo CSE 455. Linda Shapiro Cameras and Stereo CSE 455 Linda Shapiro 1 Müller-Lyer Illusion http://www.michaelbach.de/ot/sze_muelue/index.html What do you know about perspective projection? Vertical lines? Other lines? 2 Image formation

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

ECE-161C Cameras. Nuno Vasconcelos ECE Department, UCSD

ECE-161C Cameras. Nuno Vasconcelos ECE Department, UCSD ECE-161C Cameras Nuno Vasconcelos ECE Department, UCSD Image formation all image understanding starts with understanding of image formation: projection of a scene from 3D world into image on 2D plane 2

More information

Geometrical Optics INTRODUCTION. Wave Fronts and Rays

Geometrical Optics INTRODUCTION. Wave Fronts and Rays Geometrical Optics INTRODUCTION In this experiment, the optical characteristics of mirrors, lenses, and prisms will be studied based on using the following physics definitions and relationships plus simple

More information

1 Projective Geometry

1 Projective Geometry CIS8, Machine Perception Review Problem - SPRING 26 Instructions. All coordinate systems are right handed. Projective Geometry Figure : Facade rectification. I took an image of a rectangular object, and

More information

Home Lab 7 Refraction, Ray Tracing, and Snell s Law

Home Lab 7 Refraction, Ray Tracing, and Snell s Law Home Lab Week 7 Refraction, Ray Tracing, and Snell s Law Home Lab 7 Refraction, Ray Tracing, and Snell s Law Activity 7-1: Snell s Law Objective: Verify Snell s law Materials Included: Laser pointer Cylindrical

More information

Refraction at a single curved spherical surface

Refraction at a single curved spherical surface Refraction at a single curved spherical surface This is the beginning of a sequence of classes which will introduce simple and complex lens systems We will start with some terminology which will become

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

CIS 580, Machine Perception, Spring 2015 Homework 1 Due: :59AM

CIS 580, Machine Perception, Spring 2015 Homework 1 Due: :59AM CIS 580, Machine Perception, Spring 2015 Homework 1 Due: 2015.02.09. 11:59AM Instructions. Submit your answers in PDF form to Canvas. This is an individual assignment. 1 Camera Model, Focal Length and

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

L16. Scan Matching and Image Formation

L16. Scan Matching and Image Formation EECS568 Mobile Robotics: Methods and Principles Prof. Edwin Olson L16. Scan Matching and Image Formation Scan Matching Before After 2 Scan Matching Before After 2 Map matching has to be fast 14 robots

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

Computer Vision Course Lecture 02. Image Formation Light and Color. Ceyhun Burak Akgül, PhD cba-research.com. Spring 2015 Last updated 04/03/2015

Computer Vision Course Lecture 02. Image Formation Light and Color. Ceyhun Burak Akgül, PhD cba-research.com. Spring 2015 Last updated 04/03/2015 Computer Vision Course Lecture 02 Image Formation Light and Color Ceyhun Burak Akgül, PhD cba-research.com Spring 2015 Last updated 04/03/2015 Photo credit: Olivier Teboul vision.mas.ecp.fr/personnel/teboul

More information

Single-view 3D Reconstruction

Single-view 3D Reconstruction Single-view 3D Reconstruction 10/12/17 Computational Photography Derek Hoiem, University of Illinois Some slides from Alyosha Efros, Steve Seitz Notes about Project 4 (Image-based Lighting) You can work

More information

Pin Hole Cameras & Warp Functions

Pin Hole Cameras & Warp Functions Pin Hole Cameras & Warp Functions Instructor - Simon Lucey 16-423 - Designing Computer Vision Apps Today Pinhole Camera. Homogenous Coordinates. Planar Warp Functions. Motivation Taken from: http://img.gawkerassets.com/img/18w7i1umpzoa9jpg/original.jpg

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

Lecture 9 & 10: Stereo Vision

Lecture 9 & 10: Stereo Vision Lecture 9 & 10: Stereo Vision Professor Fei- Fei Li Stanford Vision Lab 1 What we will learn today? IntroducEon to stereo vision Epipolar geometry: a gentle intro Parallel images Image receficaeon Solving

More information

Robotics - Projective Geometry and Camera model. Marcello Restelli

Robotics - Projective Geometry and Camera model. Marcello Restelli Robotics - Projective Geometr and Camera model Marcello Restelli marcello.restelli@polimi.it Dipartimento di Elettronica, Informazione e Bioingegneria Politecnico di Milano Ma 2013 Inspired from Matteo

More information

Assignment 2 : Projection and Homography

Assignment 2 : Projection and Homography TECHNISCHE UNIVERSITÄT DRESDEN EINFÜHRUNGSPRAKTIKUM COMPUTER VISION Assignment 2 : Projection and Homography Hassan Abu Alhaija November 7,204 INTRODUCTION In this exercise session we will get a hands-on

More information

Scene Modeling for a Single View

Scene Modeling for a Single View Scene Modeling for a Single View René MAGRITTE Portrait d'edward James with a lot of slides stolen from Steve Seitz and David Brogan, Breaking out of 2D now we are ready to break out of 2D And enter the

More information

The Ray model of Light. Reflection. Class 18

The Ray model of Light. Reflection. Class 18 The Ray model of Light Over distances of a terrestrial scale light travels in a straight line. The path of a laser is now the best way we have of defining a straight line. The model of light which assumes

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

Scene Modeling for a Single View

Scene Modeling for a Single View Scene Modeling for a Single View René MAGRITTE Portrait d'edward James CS194: Image Manipulation & Computational Photography with a lot of slides stolen from Alexei Efros, UC Berkeley, Fall 2014 Steve

More information

Lab 10 - GEOMETRICAL OPTICS

Lab 10 - GEOMETRICAL OPTICS L10-1 Name Date Partners OBJECTIVES OVERVIEW Lab 10 - GEOMETRICAL OPTICS To examine Snell s Law. To observe total internal reflection. To understand and use the lens equations. To find the focal length

More information

Jorge Salvador Marques, geometric camera model

Jorge Salvador Marques, geometric camera model geometric camera model image acquisition 6 years ago today curc of te Holy Spirit, Brunellesci, 436 te camera projects 3D points into an image plane geometric primitives and transformations How do we see

More information

Recap: Features and filters. Recap: Grouping & fitting. Now: Multiple views 10/29/2008. Epipolar geometry & stereo vision. Why multiple views?

Recap: Features and filters. Recap: Grouping & fitting. Now: Multiple views 10/29/2008. Epipolar geometry & stereo vision. Why multiple views? Recap: Features and filters Epipolar geometry & stereo vision Tuesday, Oct 21 Kristen Grauman UT-Austin Transforming and describing images; textures, colors, edges Recap: Grouping & fitting Now: Multiple

More information

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

CIS 580, Machine Perception, Spring 2016 Homework 2 Due: :59AM CIS 580, Machine Perception, Spring 2016 Homework 2 Due: 2015.02.24. 11:59AM Instructions. Submit your answers in PDF form to Canvas. This is an individual assignment. 1 Recover camera orientation By observing

More information

Capturing light. Source: A. Efros

Capturing light. Source: A. Efros Capturing light Source: A. Efros Review Pinhole projection models What are vanishing points and vanishing lines? What is orthographic projection? How can we approximate orthographic projection? Lenses

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

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

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

Camera Models and Image Formation. Srikumar Ramalingam School of Computing University of Utah Camera Models and Image Formation Srikumar Ramalingam School of Computing University of Utah srikumar@cs.utah.edu VisualFunHouse.com 3D Street Art Image courtesy: Julian Beaver (VisualFunHouse.com) 3D

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

Chapter 32 Light: Reflection and Refraction. Copyright 2009 Pearson Education, Inc.

Chapter 32 Light: Reflection and Refraction. Copyright 2009 Pearson Education, Inc. Chapter 32 Light: Reflection and Refraction Units of Chapter 32 The Ray Model of Light Reflection; Image Formation by a Plane Mirror Formation of Images by Spherical Mirrors Index of Refraction Refraction:

More information

3B SCIENTIFIC PHYSICS

3B SCIENTIFIC PHYSICS 3B SCIENTIFIC PHYSICS Instruction sheet 06/18 ALF Laser Optics Demonstration Set Laser Optics Supplement Set Page 1 2 3 3 3 4 4 4 5 5 5 6 6 6 7 7 7 8 8 8 9 9 9 10 10 10 11 11 11 12 12 12 13 13 13 14 14

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

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

Camera Models and Image Formation. Srikumar Ramalingam School of Computing University of Utah Camera Models and Image Formation Srikumar Ramalingam School of Computing University of Utah srikumar@cs.utah.edu Reference Most slides are adapted from the following notes: Some lecture notes on geometric

More information

CS 563 Advanced Topics in Computer Graphics Camera Models. by Kevin Kardian

CS 563 Advanced Topics in Computer Graphics Camera Models. by Kevin Kardian CS 563 Advanced Topics in Computer Graphics Camera Models by Kevin Kardian Introduction Pinhole camera is insufficient Everything in perfect focus Less realistic Different camera models are possible Create

More information

2%34 #5 +,,% ! # %& ()% #% +,,%. & /%0%)( 1 ! # %&# (&)# +, %& ./01 /1&2% # /&

2%34 #5 +,,% ! # %& ()% #% +,,%. & /%0%)( 1 ! # %&# (&)# +, %& ./01 /1&2% # /& ! # %& ()% #% +,,%. & /%0%)( 1 2%34 #5 +,,%! # %&# (&)# +, %&./01 /1&2% # /& & Many slides in this lecture are due to other authors; they are credited on the bottom right 675. 5 8 &. 4. # 5 9% #:5 # #%,.7

More information

Outline The Refraction of Light Forming Images with a Plane Mirror 26-3 Spherical Mirror 26-4 Ray Tracing and the Mirror Equation

Outline The Refraction of Light Forming Images with a Plane Mirror 26-3 Spherical Mirror 26-4 Ray Tracing and the Mirror Equation Chapter 6 Geometrical Optics Outline 6-1 The Reflection of Light 6- Forming Images with a Plane Mirror 6-3 Spherical Mirror 6-4 Ray Tracing and the Mirror Equation 6-5 The Refraction of Light 6-6 Ray Tracing

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

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

Dispersion (23.5) Neil Alberding (SFU Physics) Physics 121: Optics, Electricity & Magnetism Spring / 17

Dispersion (23.5) Neil Alberding (SFU Physics) Physics 121: Optics, Electricity & Magnetism Spring / 17 Neil Alberding (SFU Physics) Physics 121: Optics, Electricity & Magnetism Spring 2010 1 / 17 Dispersion (23.5) The speed of light in a material depends on its wavelength White light is a mixture of wavelengths

More information

521466S Machine Vision Exercise #1 Camera models

521466S Machine Vision Exercise #1 Camera models 52466S Machine Vision Exercise # Camera models. Pinhole camera. The perspective projection equations or a pinhole camera are x n = x c, = y c, where x n = [x n, ] are the normalized image coordinates,

More information

Scene Modeling for a Single View

Scene Modeling for a Single View Scene Modeling for a Single View René MAGRITTE Portrait d'edward James with a lot of slides stolen from Steve Seitz and David Brogan, 15-463: Computational Photography Alexei Efros, CMU, Fall 2005 Classes

More information

Cameras and Radiometry. Last lecture in a nutshell. Conversion Euclidean -> Homogenous -> Euclidean. Affine Camera Model. Simplified Camera Models

Cameras and Radiometry. Last lecture in a nutshell. Conversion Euclidean -> Homogenous -> Euclidean. Affine Camera Model. Simplified Camera Models Cameras and Radiometry Last lecture in a nutshell CSE 252A Lecture 5 Conversion Euclidean -> Homogenous -> Euclidean In 2-D Euclidean -> Homogenous: (x, y) -> k (x,y,1) Homogenous -> Euclidean: (x, y,

More information

1. What is the law of reflection?

1. What is the law of reflection? Name: Skill Sheet 7.A The Law of Reflection The law of reflection works perfectly with light and the smooth surface of a mirror. However, you can apply this law to other situations. For example, how would

More information

Chapter 34. Images. In this chapter we define and classify images, and then classify several basic ways in which they can be produced.

Chapter 34. Images. In this chapter we define and classify images, and then classify several basic ways in which they can be produced. Chapter 34 Images One of the most important uses of the basic laws governing light is the production of images. Images are critical to a variety of fields and industries ranging from entertainment, security,

More information

Single View Geometry. Camera model & Orientation + Position estimation. What am I?

Single View Geometry. Camera model & Orientation + Position estimation. What am I? Single View Geometry Camera model & Orientation + Position estimation What am I? Vanishing point Mapping from 3D to 2D Point & Line Goal: Point Homogeneous coordinates represent coordinates in 2 dimensions

More information

Projections. Brian Curless CSE 457 Spring Reading. Shrinking the pinhole. The pinhole camera. Required:

Projections. Brian Curless CSE 457 Spring Reading. Shrinking the pinhole. The pinhole camera. Required: Reading Required: Projections Brian Curless CSE 457 Spring 2013 Angel, 5.1-5.6 Further reading: Fole, et al, Chapter 5.6 and Chapter 6 David F. Rogers and J. Alan Adams, Mathematical Elements for Computer

More information

P H Y L A B 1 : G E O M E T R I C O P T I C S

P H Y L A B 1 : G E O M E T R I C O P T I C S P H Y 1 4 3 L A B 1 : G E O M E T R I C O P T I C S Introduction Optics is the study of the way light interacts with other objects. This behavior can be extremely complicated. However, if the objects in

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

Perception II: Pinhole camera and Stereo Vision

Perception II: Pinhole camera and Stereo Vision Perception II: Pinhole camera and Stereo Vision Davide Scaramuzza Margarita Chli, Paul Furgale, Marco Hutter, Roland Siegwart 1 Mobile Robot Control Scheme knowledge, data base mission commands Localization

More information

Optics II. Reflection and Mirrors

Optics II. Reflection and Mirrors Optics II Reflection and Mirrors Geometric Optics Using a Ray Approximation Light travels in a straight-line path in a homogeneous medium until it encounters a boundary between two different media The

More information

(Refer Slide Time: 00:01:26)

(Refer Slide Time: 00:01:26) Computer Graphics Prof. Sukhendu Das Dept. of Computer Science and Engineering Indian Institute of Technology, Madras Lecture - 9 Three Dimensional Graphics Welcome back everybody to the lecture on computer

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

Pin Hole Cameras & Warp Functions

Pin Hole Cameras & Warp Functions Pin Hole Cameras & Warp Functions Instructor - Simon Lucey 16-423 - Designing Computer Vision Apps Today Pinhole Camera. Homogenous Coordinates. Planar Warp Functions. Example of SLAM for AR Taken from:

More information

Introduction to Computer Vision. Introduction CMPSCI 591A/691A CMPSCI 570/670. Image Formation

Introduction to Computer Vision. Introduction CMPSCI 591A/691A CMPSCI 570/670. Image Formation Introduction CMPSCI 591A/691A CMPSCI 570/670 Image Formation Lecture Outline Light and Optics Pinhole camera model Perspective projection Thin lens model Fundamental equation Distortion: spherical & chromatic

More information

FINDING THE INDEX OF REFRACTION - WebAssign

FINDING THE INDEX OF REFRACTION - WebAssign Name: Book: Period: Due Date: Lab Partners: FINDING THE INDEX OF REFRACTION - WebAssign Purpose: The theme in this lab is the interaction between light and matter. Matter and light seem very different

More information

N-Views (1) Homographies and Projection

N-Views (1) Homographies and Projection CS 4495 Computer Vision N-Views (1) Homographies and Projection Aaron Bobick School of Interactive Computing Administrivia PS 2: Get SDD and Normalized Correlation working for a given windows size say

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

PHYS1004 Problem Sheet - Optics - with Solutions

PHYS1004 Problem Sheet - Optics - with Solutions PHYS004 Problem Sheet - Optics - with Solutions Do not write on these question sheets - there is not enough room to do a good job of answering these questions. The answers need to be written in your life

More information

EXAM SOLUTIONS. Image Processing and Computer Vision Course 2D1421 Monday, 13 th of March 2006,

EXAM SOLUTIONS. Image Processing and Computer Vision Course 2D1421 Monday, 13 th of March 2006, School of Computer Science and Communication, KTH Danica Kragic EXAM SOLUTIONS Image Processing and Computer Vision Course 2D1421 Monday, 13 th of March 2006, 14.00 19.00 Grade table 0-25 U 26-35 3 36-45

More information

Algebra Based Physics

Algebra Based Physics Slide 1 / 66 Slide 2 / 66 Algebra Based Physics Geometric Optics 2015-12-01 www.njctl.org Table of ontents Slide 3 / 66 lick on the topic to go to that section Reflection Spherical Mirror Refraction and

More information

CS201 Computer Vision Lect 4 - Image Formation

CS201 Computer Vision Lect 4 - Image Formation CS201 Computer Vision Lect 4 - Image Formation John Magee 9 September, 2014 Slides courtesy of Diane H. Theriault Question of the Day: Why is Computer Vision hard? Something to think about from our view

More information

3D Rendering and Ray Casting

3D Rendering and Ray Casting 3D Rendering and Ray Casting Michael Kazhdan (601.457/657) HB Ch. 13.7, 14.6 FvDFH 15.5, 15.10 Rendering Generate an image from geometric primitives Rendering Geometric Primitives (3D) Raster Image (2D)

More information

Light: Geometric Optics (Chapter 23)

Light: Geometric Optics (Chapter 23) Light: Geometric Optics (Chapter 23) Units of Chapter 23 The Ray Model of Light Reflection; Image Formed by a Plane Mirror Formation of Images by Spherical Index of Refraction Refraction: Snell s Law 1

More information