Lecture 7: Camera Models

Similar documents
Lecture 7: Camera Models

Lecture 2 Camera Models

Lecture 2 Camera Models

Lecture 8 Camera Models

Building a Real Camera. Slides Credit: Svetlana Lazebnik

Building a Real Camera

Computer Vision. The Pinhole Camera Model

Image Formation III Chapter 1 (Forsyth&Ponce) Cameras Lenses & Sensors

CS6670: Computer Vision

CS6670: Computer Vision

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

Lecture 02 Image Formation 1

The Camera : Computational Photography Alexei Efros, CMU, Fall 2008

Image Formation: Camera Model

Two strategies for realistic rendering capture real world data synthesize from bottom up

CS 443: Imaging and Multimedia Cameras and Lenses

The Camera : Computational Photography Alexei Efros, CMU, Fall 2005

CSE 473/573 Computer Vision and Image Processing (CVIP)

Cameras, lenses and sensors

Cameras. CSE 455, Winter 2010 January 25, 2010

LENSES. INEL 6088 Computer Vision

Overview. Pinhole camera model Projective geometry Vanishing points and lines Projection matrix Cameras with Lenses Color Digital image

Projection. Readings. Szeliski 2.1. Wednesday, October 23, 13

Applied Optics. , Physics Department (Room #36-401) , ,

CPSC 425: Computer Vision

How do we see the world?

Projection. Announcements. Müller-Lyer Illusion. Image formation. Readings Nalwa 2.1

Projection. Projection. Image formation. Müller-Lyer Illusion. Readings. Readings. Let s design a camera. Szeliski 2.1. Szeliski 2.

Image Formation. Dr. Gerhard Roth. COMP 4102A Winter 2015 Version 3

Announcement A total of 5 (five) late days are allowed for projects. Office hours

IMAGE FORMATION. Light source properties. Sensor characteristics Surface. Surface reflectance properties. Optics

CSE 527: Introduction to Computer Vision

Image Formation and Capture

Dr F. Cuzzolin 1. September 29, 2015

Image Formation and Capture. Acknowledgment: some figures by B. Curless, E. Hecht, W.J. Smith, B.K.P. Horn, and A. Theuwissen

Lenses. Overview. Terminology. The pinhole camera. Pinhole camera Lenses Principles of operation Limitations

Announcements. Image Formation: Outline. The course. How Cameras Produce Images. Earliest Surviving Photograph. Image Formation and Cameras

Chapter 25 Optical Instruments

Unit 1: Image Formation

Cameras, lenses, and sensors

Lenses, exposure, and (de)focus

VC 11/12 T2 Image Formation

Waves & Oscillations

VC 14/15 TP2 Image Formation

There is a range of distances over which objects will be in focus; this is called the depth of field of the lens. Objects closer or farther are

TSBB09 Image Sensors 2018-HT2. Image Formation Part 1

Chapters 1 & 2. Definitions and applications Conceptual basis of photogrammetric processing

Image Formation. Light from distant things. Geometrical optics. Pinhole camera. Chapter 36

Digital Image Processing COSC 6380/4393

Image Formation. Dr. Gerhard Roth. COMP 4102A Winter 2014 Version 1

Chapter 18 Optical Elements

Ch 24. Geometric Optics

Lecture Outline Chapter 27. Physics, 4 th Edition James S. Walker. Copyright 2010 Pearson Education, Inc.

CS-184: Computer Graphics. Today

Lecture 4: Geometrical Optics 2. Optical Systems. Images and Pupils. Rays. Wavefronts. Aberrations. Outline

Mirrors and Lenses. Images can be formed by reflection from mirrors. Images can be formed by refraction through lenses.

Geometrical Optics Optical systems

Waves & Oscillations

Digital Image Processing COSC 6380/4393

Lecture 2: Geometrical Optics. Geometrical Approximation. Lenses. Mirrors. Optical Systems. Images and Pupils. Aberrations.

Cameras and Sensors. Today. Today. It receives light from all directions. BIL721: Computational Photography! Spring 2015, Lecture 2!

CHAPTER 18 REFRACTION & LENSES

Lecture PowerPoint. Chapter 25 Physics: Principles with Applications, 6 th edition Giancoli

Camera Simulation. References. Photography, B. London and J. Upton Optics in Photography, R. Kingslake The Camera, The Negative, The Print, A.

To Do. Advanced Computer Graphics. Outline. Computational Imaging. How do we see the world? Pinhole camera

Chapter 28. Reflection and Refraction

VC 16/17 TP2 Image Formation

Announcements. Focus! Thin Lens Models. New Topic. Intensity Image Formation. Bi-directional: two focal points! Thin Lens Model

Astronomy 80 B: Light. Lecture 9: curved mirrors, lenses, aberrations 29 April 2003 Jerry Nelson

Lecture 2: Geometrical Optics. Geometrical Approximation. Lenses. Mirrors. Optical Systems. Images and Pupils. Aberrations.

Chapter 23. Light Geometric Optics

Laboratory experiment aberrations

Optical Systems: Pinhole Camera Pinhole camera: simple hole in a box: Called Camera Obscura Aristotle discussed, Al-Hazen analyzed in Book of Optics

Cameras. Shrinking the aperture. Camera trial #1. Pinhole camera. Digital Visual Effects Yung-Yu Chuang. Put a piece of film in front of an object.

Performance Factors. Technical Assistance. Fundamental Optics

COURSE NAME: PHOTOGRAPHY AND AUDIO VISUAL PRODUCTION (VOCATIONAL) FOR UNDER GRADUATE (FIRST YEAR)

Lecture 22: Cameras & Lenses III. Computer Graphics and Imaging UC Berkeley CS184/284A, Spring 2017

Converging and Diverging Surfaces. Lenses. Converging Surface

Chapter 29/30. Wave Fronts and Rays. Refraction of Sound. Dispersion in a Prism. Index of Refraction. Refraction and Lenses

INTRODUCTION THIN LENSES. Introduction. given by the paraxial refraction equation derived last lecture: Thin lenses (19.1) = 1. Double-lens systems

6.098 Digital and Computational Photography Advanced Computational Photography. Bill Freeman Frédo Durand MIT - EECS

Basic principles of photography. David Capel 346B IST

Condition Mirror Refractive Lens Concave Focal Length Positive Focal Length Negative. Image distance positive

Overview. Image formation - 1

Geometric Optics. Ray Model. assume light travels in straight line uses rays to understand and predict reflection & refraction

Lecture 21. Physics 1202: Lecture 21 Today s Agenda

CH. 23 Mirrors and Lenses HW# 6, 7, 9, 11, 13, 21, 25, 31, 33, 35

Applications of Optics

Mirrors, Lenses &Imaging Systems

Introduction. Related Work

OPTICAL SYSTEMS OBJECTIVES

The Human Visual System. Lecture 1. The Human Visual System. The Human Eye. The Human Retina. cones. rods. horizontal. bipolar. amacrine.

Graphics and Interaction Perspective Geometry

EE119 Introduction to Optical Engineering Spring 2002 Final Exam. Name:

Explanation of Aberration and Wavefront

Shaw Academy. Lesson 2 Course Notes. Diploma in Smartphone Photography

brief history of photography foveon X3 imager technology description

Optical Components for Laser Applications. Günter Toesko - Laserseminar BLZ im Dezember

Exam 4. Name: Class: Date: Multiple Choice Identify the choice that best completes the statement or answers the question.

Complete the diagram to show what happens to the rays. ... (1) What word can be used to describe this type of lens? ... (1)

Transcription:

Lecture 7: Camera Models Professor Stanford Vision Lab 1

What we will learn toda? Pinhole cameras Cameras & lenses The geometr of pinhole cameras Reading: [FP]Chapters 1 3 [HZ] Chapter 6 2

What we will learn toda? Pinhole cameras Cameras & lenses The geometr of pinhole cameras Reading: [FP]Chapters 1 3 [HZ] Chapter 6 3

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? 4

Pinhole camera Add a barrier to block off most of the ras This reduces blurring The opening known as the aperture 5

Some histor Milestones: Leonardo da Vinci (1452-1519): first record of camera obscura Johann Zahn (1685): first portable camera 6

Some histor Milestones: Leonardo da Vinci (1452-1519): first record of camera obscura Johann Zahn (1685): first portable camera Joseph Nicephore Niepce (1822): first photo - birth of photograph Daguerréotpes(1839) Photographic Film (Eastman, 1889) Cinema (Lumière Brothers, 1895) Color Photograph (Lumière Brothers, 198) Photograph (Niepce, La Table Servie, 1822) 7

Some histor Motu (468-376 BC) Oldest eistent book on geometr in China Aristotle (384-322 BC) Also: Plato, Euclid Al-Kindi (c. 81 873) Ibn al-haitham (965-14) 8

9 Pinhole camera f f ' ' ' ' P P Derived using similar triangles Note: is alwas negative.

Pinhole camera P [, f ] f O P [, ] f ' 1

f Pinhole camera f Common to draw image plane in front of the focal point Moving the image plane merel scales the image. ' ' f f 11

Pinhole camera Is the sie of the aperture important? Kate lauka 12

Cameras & Lenses Shrinking aperture sie -Ras are mied up -Wh the aperture cannot be too small? -Less light passes through -Diffraction effect Adding lenses! 13

Cameras & Lenses A lens focuses light onto the film 14

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

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] 16

Cameras & Lenses Laws of geometric optics Light travels in straight lines in homogeneous medium Reflection upon a surface: incoming ra, surface normal, and reflection are co-planar Refraction: when a ra passes from one medium to another Snell s law n 1 sin α 1 n 2 sin α 2 α 1 incident angle α 2 refraction angle n i inde of refraction 17

Thin Lenses o ' f + 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) ' ' ' ' 18

Cameras & Lenses Source wikipedia 19

Issues with lenses: Chromatic Aberration Lens has different refractive indices for different wavelengths: causes color fringing f R 2(n 1) 2

Issues with lenses: Chromatic Aberration Ras farther from the optical ais focus closer 21

Issues with lenses: Chromatic Aberration Deviations are most noticeable for ras that pass through the edge of the lens No distortion Pin cushion Barrel (fishee lens) Image magnification decreases with distance from the optical ais 22

What we will learn toda? Pinhole cameras Cameras & lenses The geometr of pinhole cameras 23

f Pinhole camera c f focal length c center of the camera (,, ) R 3 E R 2 (f,f ) 24

Pinhole camera Is this a linear transformation? (,, ) (f,f ) No division b is nonlinear! How to make it linear? 25

Homogeneous coordinates homogeneous image coordinates homogeneous scene coordinates Converting from homogeneous coordinates 26

27 Homogeneous coordinates 1 1 ' f f f f P f f ' P i P M P ' M 3 H 4 R R Perspective Projection Transformation: Projection matri

From retina plane to images Piels, bottom-left coordinate sstems 28

From retina plane to images c 1. Off set C[c, c ] c (,,) (f + c, f + c ) 29

From retina plane to images c c 1. Off set 2. From metric to piels (,, ) ( f k + c, f l + c ) C[c, c ] Units: k,l :piel/m f :m Non-square piels α, β : piel 3

From retina plane to images c (,,) ( α + c, β + c) C[c, c ] c Matri form? 31

32 Camera matri c c C[c, c ] ) c, c ( ),, ( + + β α + + 1 1 ' c c c c P β α β α

33 Camera matri c c C[c, c ] ) c, c ( ),, ( + + β α 1 1 ' c c P β α

34 Camera matri ) c, c ( ),, ( + + β α c c C[c, c ] ν Skew parameter 1 1 ' c c s P β α

Camera matri P α s c P' K[ I ] P β c 1 1 P ' M Camera matri K K has 5 degrees of freedom! 35

Camera & world reference sstem R,T j w k w O w i w The mapping is defined within the camera reference sstem What if an object is represented in the world reference sstem? 36

Camera & world reference sstem R,T j w k w O w i w ' K[ R T ] P w P M P w In 4D homogeneous coordinates: P [ R T ] P w Internal parameters Eternal parameters 37

Projective cameras R,T j w k w O w i w P M P 3 1 w K R T Pw ' [ ] 3 3 4 1 3 4 K α s β c c 1 How man degrees of freedom? 5 + 3 + 3 11! 38

Projective cameras R,T j w k w O w i w P M P 3 1 w (,, ) w m ( m K R T Pw ' [ ] 3 3 4 1 1 3 P P w w, m m 2 3 P P w w ) 3 4 M m m m M is defined up to scale! Multipling M b a scalar won t change the image 1 2 3 39

4 Theorem (Faugeras, 1993) [ ] [ ] ] [ b A K T K R T R K M 3 2 1 a a a A 1 c c s K β α l f k; f β α

Properties of Projection Points project to points Lines project to lines 41

Properties of Projection Angles are not preserved Parallel lines meet Vanishing point 42

What we have learned toda? Pinhole cameras Cameras & lenses The geometr of pinhole cameras Reading: [FP]Chapters 1 3 [HZ] Chapter 6 43