Lecture 21: Cameras & Lenses II. Computer Graphics and Imaging UC Berkeley CS184/284A

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

COMP 558 lecture 5 Sept. 22, 2010

3. What kind of mirror could you use to make image distance less than object distance?

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

Refraction and Lenses

OPTI-202R Geometrical and Instrumental Optics John E. Greivenkamp Midterm II Page 1/7 Spring 2018

lens Figure 1. A refractory focusing arrangement. Focal point

Physics 1230 Homework 8 Due Friday June 24, 2016

The Basic Geometry Behind A Camera Lens And A Magnifying Glass

Physics 142 Lenses and Mirrors Page 1. Lenses and Mirrors. Now for the sequence of events, in no particular order. Dan Rather

9. THINK A concave mirror has a positive value of focal length.

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

Thin Lens and Image Formation

OPTI-202R Geometrical and Instrumental Optics John E. Greivenkamp Midterm II Page 1/8 Spring 2017

Phy 212: General Physics II

Definition of light rays

Marketed and Distributed by FaaDoOEngineers.com

A. Focal Length. 3. Lens Maker Equation. 2. Diverging Systems. f = 2 R. A. Focal Length B. Lens Law, object & image C. Optical Instruments

Lights. Action. Cameras. Shutter/Iris Lens With focal length f. Image Distance. Object. Distance

Virtual and Digital Cameras

Wavefront coding. Refocusing & Light Fields. Wavefront coding. Final projects. Is depth of field a blur? Frédo Durand Bill Freeman MIT - EECS

Physics 6C. Cameras and the Human Eye. Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

What will be on the midterm?

OPTI-202R Geometrical and Instrumental Optics John E. Greivenkamp Final Exam Page 1/11 Spring 2017

Lenses, exposure, and (de)focus

Midterm Exam. Lasers. Gases and pressure. Lenses so far. Lenses and Cameras 4/9/2017. Office hours

Introduction. Related Work

Chapter 18 Optical Elements

Option G 2: Lenses. The diagram below shows the image of a square grid as produced by a lens that does not cause spherical aberration.

Elementary Optical Systems. Section 13. Magnifiers and Telescopes

Why learn about photography in this course?

lecture 24 image capture - photography: model of image formation - image blur - camera settings (f-number, shutter speed) - exposure - camera response

SIMPLE LENSES. To measure the focal lengths of several lens and lens combinations.

Cameras. Steve Rotenberg CSE168: Rendering Algorithms UCSD, Spring 2017

Unit #3 - Optics. Activity: D21 Observing Lenses (pg. 449) Lenses Lenses

Adding Realistic Camera Effects to the Computer Graphics Camera Model

Ch 24. Geometric Optics

Lab 2 Geometrical Optics

Focusing and Metering

Introduction THE OPTICAL ENGINEERING PROCESS ENGINEERING SUPPORT

Introduction. THE OPTICAL ENGINEERING PROCESS. Engineering Support. Fundamental Optics

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

Aberrations, Camera, Eye

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

Thin Lenses. Consider the situation below in which you have a real object at distance p from a converging lens of focal length f.

Physics 54. Lenses and Mirrors. And now for the sequence of events, in no particular order. Dan Rather

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

Physics II. Chapter 23. Spring 2018

Lens Principal and Nodal Points

Algebra Based Physics. Reflection. Slide 1 / 66 Slide 2 / 66. Slide 3 / 66. Slide 4 / 66. Slide 5 / 66. Slide 6 / 66.

2015 EdExcel A Level Physics EdExcel A Level Physics. Lenses

Gaussian Ray Tracing Technique

6.A44 Computational Photography

Chapter 23. Light Geometric Optics

Physics 2310 Lab #5: Thin Lenses and Concave Mirrors Dr. Michael Pierce (Univ. of Wyoming)

Aperture & ƒ/stop Worksheet

Fundamental Paraxial Equation for Thin Lenses

Waves & Oscillations

MEM: Intro to Robotics. Assignment 3I. Due: Wednesday 10/15 11:59 EST

28 Thin Lenses: Ray Tracing

Thin Lenses * OpenStax

Physics 2310 Lab #6: Multiple Thin Lenses Dr. Michael Pierce (Univ. of Wyoming)

Algebra Based Physics. Reflection. Slide 1 / 66 Slide 2 / 66. Slide 3 / 66. Slide 4 / 66. Slide 5 / 66. Slide 6 / 66.

Section 3. Imaging With A Thin Lens

Refractive Power of a Surface. Exposure Sources. Thin Lenses. Thick Lenses. High Pressure Hg Arc Lamp Spectrum

Lecture 18: Light field cameras. (plenoptic cameras) Visual Computing Systems CMU , Fall 2013

(b) By measuring the image height for various image distances (adjusted by sliding the tubes together or apart) a relationship can be determined.

Name: Lab Partner: Section:

Physics 141 Lecture 26

Computational Photography and Video. Prof. Marc Pollefeys

Waves & Oscillations

24 Geometrical Optics &...

6.003: Signal Processing. Synthetic Aperture Optics

Acquisition. Some slides from: Yung-Yu Chuang (DigiVfx) Jan Neumann, Pat Hanrahan, Alexei Efros

Notes from Lens Lecture with Graham Reed

Focusing & metering. CS 448A, Winter Marc Levoy Computer Science Department Stanford University

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

Admin. Lightfields. Overview. Overview 5/13/2008. Idea. Projects due by the end of today. Lecture 13. Lightfield representation of a scene

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

Determination of Focal Length of A Converging Lens and Mirror

Unit 1: Image Formation

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

Chapter 36. Image Formation

EP118 Optics. Content TOPIC 9 ABERRATIONS. Department of Engineering Physics University of Gaziantep. 1. Introduction. 2. Spherical Aberrations

Building a Real Camera. Slides Credit: Svetlana Lazebnik

Chapter 36. Image Formation

Basic principles of photography. David Capel 346B IST

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

Converging and Diverging Surfaces. Lenses. Converging Surface

Department of Physics & Astronomy Undergraduate Labs. Thin Lenses

11.3. Lenses. Seeing in the Dark

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.

Image Formation and Camera Design

Chapter 34: Geometric Optics

Capturing Light. The Light Field. Grayscale Snapshot 12/1/16. P(q, f)

Types of lenses. Shown below are various types of lenses, both converging and diverging.

Coded photography , , Computational Photography Fall 2018, Lecture 14

Activity 6.1 Image Formation from Spherical Mirrors

Your Comments. That test was brutal, but this is the last physics course I have to take here WOOOOOO!!!!!

Transcription:

Lecture 21: Cameras & Lenses II Computer Graphics and Imaging UC Berkeley

Real Lens Designs Are Highly Complex [Apple] Topic o next lecture

Real Lens Elements Are Not Ideal Aberrations Real plano-convex lens (spherical surace shape). Lens does not converge rays to a point anywhere. More discussion next lecture

Today: Thin Lens Approximation

Ideal Thin Lens Focal Point Focal Point Credit: Karen Watson Focal Length Assume all parallel rays entering a lens pass through its ocal point.

Lens Focusing Conjugate Points Rays rom a point in object space intersect at a point in image space These are called conjugate points We create images ocused at a desired depth by placing a sensor at the conjugate distance Focusing involves changing the depth between the lens and sensor Object space Image space Question: what is the relationship between the position o a lens conjugate points?

Gauss Ray Diagrams

Gauss Ray Tracing Construction Parallel Ray Chie Ray Focal Ray Object Image

Gauss Ray Tracing Construction z o z i What is the relationship between conjugate depths z o,z i?

Gauss Ray Tracing Construction h o h o z i z o h i h i z o h o = h i h o = z i h i

Gauss Ray Tracing Construction z o h o = h i h o = z i h i h o h i = z o h o h i = z i z o = z i Object / image heights actor out - applies to all rays (z o )(z i )= 2 Newtonian Thin Lens Equation z o z i (z o + z i ) + 2 = 2 z o z i =(z o + z i ) 1 Gaussian Thin Lens Equation = 1 z i + 1 z o

The Thin Lens Equation z o z i 1 = 1 z i + 1 z o

Changing the Focus Distance 1 = 1 z i + 1 z o To ocus on objects at dierent distances, move the sensor Sensor relative to the lens For z i < z o the object is larger than the image At z i = z o we have 1:1 macro imaging For z i > z o the image is larger than the object (magniied) Can t ocus on objects closer than the lens ocal length

Magniication h o h i z o z i m = h i h o = z i z o

Magniication Example Focus at Ininity 1 = 1 z i + 1 z o m = z i z o I ocused on a distant mountain z o, so z i = sensor at ocal point magniication 0

Magniication Example Focus at 1:1 Macro 1 = 1 z i + 1 z o m = z i z o What coniguration do we need to achieve a magniication o 1 (i.e. image and object the same size, a.k.a. 1:1 macro)? Need z i = z o, so z i = z o = 2 - sensor at twice ocal length In 1:1 imaging, i the sensor is 36 mm wide, an object 36 mm wide will ill the rame

Thin Lens Demonstration http://graphics.stanord.edu/courses/cs178-10/applets/gaussian.html

Thin Lens Demonstration Observations 3D image o object is: Compressed in depth or low magniication 1:1 in 3D or unit magniication Stretched in depth or high magniication

Lens Perorms a 3D Perspective Transorm Lenses transorm a 3D object to a 3D image; the sensor extracts a 2D slice rom that image As an object moves linearly (in Z), its image moves non-proportionally (in Z). And vice versa. As you change ocus o a camera, the image changes size!

Deocus Blur

Circle o Conusion

Circle o Conusion Further deocused point light Closer deocused point light

Circle o Conusion Deocus blur kernel or objects at this depth Deocus blur kernel or objects at this depth Size o blur kernel depends on depth rom ocal plane. Only see the blur kernel itsel i you have a point light. Why?

Circle o Conusion

Computing Circle o Conusion Diameter (C) z 0 s z s z o z i d! A C Object Focal Plane Image Sensor Plane Circle o conusion is proportional to the size o the aperture C A = d0 = z s z i z i z i

Deinition: F-Number (a.k.a. F-Stop) The F-Number o a lens is deined as the ocal length divided by the diameter o the aperture Common F-stops on real lenses: 1.4, 2, 2.8, 4.0, 5.6, 8, 11, 16, 22, 32 1 stop doubles exposure An -stop o 2 is sometimes written /2, relecting the act that the absolute aperture diameter (A) can be computed by dividing ocal length () by the relative aperture (N).

Example F-Stop Calculations D = 50 mm = 100 mm N = /D =2 D = 100 mm = 200 mm N = /D =2 D = 100 mm = 400 mm N = /D =4

Circle o Conusion is Inversely Proportional to F-Stop R. Berdan, canadiannaturephotographer.com C = A z s z i z i = N z s z i z i

Circle o Conusion Example 50mm /2 lens Full rame sensor (36x24mm) Focus: 1 meter Background: 10 meter Foreground: 0.3 meter A = 50mm/2 = 25mm 1 z s = 1/50 1/1000 52.63mm 1 Background: z i = 1/50 1/10,000 50.25mm C = A z s z i /z i =1.18mm 1 Foreground: z i = 1/50 1/300 55.56mm C = A z s z i /z i =3.07mm C = A z s z i z i ~65 pixels on HD TV ~169 pixels on HD TV

Circle o Conusion in Perspective Composition To maintain ield o view on subject, increase distance 16 mm (110 ) rom subject by same actor as ocal length 200 mm (12 ) (approx). What is the increase in background blur?

Circle o Conusion in Perspective Composition For subject at distance Z, 1 1 To maintain image size o subject when z s = 1 Z Distant background means z i =, changing zoom, increase distance C = N z s z i = N 1 1/ 1/Z =... rom subject z i by same actor as = N ocal length Z (approx). What is the increase in background blur? I we increase Z and by actor K, circle o conusion C also increases by K. (F-stop held constant)

Circle o Conusion in Perspective Composition 100mm, /4 138px 28mm, /4 40px From Paul van Walree, toothwalker.org/do.html As predicted, 100mm 28mm 138px 40px, but notice blur is constant relative to background object itsel!

Ray Tracing Ideal Thin Lenses

Examples o Renderings with Lens Focus Pharr and Humphreys

Ray Tracing or Deocus Blur (Thin Lens) x x x Sensor Subject plane z o z i Setup: Choose sensor size, lens ocal length and aperture size Choose depth o subject o interest z o Calculate corresponding depth o sensor z i rom thin lens equation (ocusing)

Ray Tracing or Deocus Blur (Thin Lens) x x x Sensor Subject plane z o z i To compute value o pixel at position x by Monte Carlo integration: Select random points x on lens plane Rays pass rom point x on image plane z i through points x on lens Each ray passes through conjugate point x on the plane o ocus z o Can determine x rom Gauss ray diagram So just trace ray rom x to x Estimate radiance on rays using path-tracing, and sum over all points x

Examples o Renderings with Lens Focus Pharr and Humphreys

Example o Rendering with Lens Focus Credit: Bertrand Benoit. Sweet Feast, 2009. [Blender /VRay]

Example o Rendering with Lens Focus Credit: Giuseppe Albergo. Colibri [Blender]

Acknowledgments Many thanks to Marc Levoy, who created many o these slides, and Pat Hanrahan. London, Stone, and Upton, Photography (9th ed.), Prentice Hall, 2008. Peterson, Understanding Exposure, AMPHOTO 1990. The Slow Mo Guys bobatkins.com Hari Subramanyan Canon EF Lens Work III