Basic Principles of Imaging and Photometry Lecture #2 Thanks to Shree Nayar, Ravi Ramamoorthi, Pat Hanrahan.

Slides:



Advertisements
Similar presentations
Computer Vision Radiometry. Bahadir K. Gunturk2 Radiometry Radiometry is the part of image formation concerned with the relation among the amounts of.
Advertisements

The Camera : Computational Photography Alexei Efros, CMU, Fall 2006.
Capturing light Source: A. Efros. Image formation How bright is the image of a scene point?
Foundations of Physics
Foundations of Computer Graphics (Spring 2012) CS 184, Lecture 21: Radiometry Many slides courtesy Pat Hanrahan.
16421: Vision Sensors Lecture 6: Radiometry and Radiometric Calibration Instructor: S. Narasimhan Wean 5312, T-R 1:30pm – 2:50pm.
Basic Principles of Surface Reflectance
Radiometry. Outline What is Radiometry? Quantities Radiant energy, flux density Irradiance, Radiance Spherical coordinates, foreshortening Modeling surface.
Photo-realistic Rendering and Global Illumination in Computer Graphics Spring 2012 Material Representation K. H. Ko School of Mechatronics Gwangju Institute.
Advanced Computer Graphics (Spring 2013) CS 283, Lecture 8: Illumination and Reflection Many slides courtesy.
Basic Principles of Imaging and Lenses
Basic Principles of Imaging and Lenses. Light Light Photons ElectromagneticRadiation.
Capturing light Source: A. Efros. Review Pinhole projection models What are vanishing points and vanishing lines? What is orthographic projection? How.
Cameras (Reading: Chapter 1) Goal: understand how images are formed Camera obscura dates from 15 th century Basic abstraction is the pinhole camera Perspective.
Representations of Visual Appearance COMS 6160 [Fall 2006], Lecture 2 Ravi Ramamoorthi
Image Formation and Optics
Announcements. Projection Today’s Readings Nalwa 2.1.
Basic Principles of Imaging and Lenses. Light Light Photons ElectromagneticRadiation.
3-D Computer Vision CSc83029 / Ioannis Stamos 3-D Computer Vision CSc Radiometry and Reflectance.
Stefano Soatto (c) UCLA Vision Lab 1 Homogeneous representation Points Vectors Transformation representation.
Appearance Models for Graphics COMS , Lecture 2 BRDFs and Radiometry Many slides courtesy Pat Hanrahan:
CS485/685 Computer Vision Prof. George Bebis
Image Formation1 Projection Geometry Radiometry (Image Brightness) - to be discussed later in SFS.
© 2002 by Davi GeigerComputer Vision January 2002 L1.1 Image Formation Light can change the image (and appearances). What is the relation between pixel.
Computer Graphics (Fall 2008) COMS 4160, Lecture 19: Illumination and Shading 2
Introduction to Computer Vision CS / ECE 181B Tues, May 18, 2004 Ack: Matthew Turk (slides)
CSCE641: Computer Graphics Image Formation Jinxiang Chai.
Basic Principles of Surface Reflectance
© 2004 by Davi GeigerComputer Vision February 2004 L1.1 Image Formation Light can change the image and appearances (images from D. Jacobs) What is the.
Image formation 2. Blur circle A point at distance is imaged at point from the lens and so Points a t distance are brought into focus at distance Thus.
© 2003 by Davi GeigerComputer Vision September 2003 L1.1 Image Formation Light can change the image and appearances (images from D. Jacobs) What is the.
Basic Principles of Surface Reflectance Lecture #3 Thanks to Shree Nayar, Ravi Ramamoorthi, Pat Hanrahan.
Image Formation III Chapter 1 (Forsyth&Ponce) Cameras “Lenses”
Camera: optical system d  21 thin lens small angles: Y Z  2 1 curvature radius.
Computer Vision Spring ,-685 Instructor: S. Narasimhan Wean 5403 T-R 3:00pm – 4:20pm.
Chapter 17 Optics 17.1 Reflection and Refraction
Light and shading Source: A. Efros.
16421: Vision Sensors Lecture 2: Camera Obscura & View Camera
Northeastern University, Fall 2005 CSG242: Computational Photography Ramesh Raskar Mitsubishi Electric Research Labs Northeastern University September.
ECEN 4616/5616 Optoelectronic Design Class website with past lectures, various files, and assignments: (The.
Cameras Course web page: vision.cis.udel.edu/cv March 22, 2003  Lecture 16.
Reflectance Map: Photometric Stereo and Shape from Shading
Design of photographic lens Shinsaku Hiura Osaka University.
Photography Lesson 2 Pinhole Camera Lenses. The Pinhole Camera.
Camera Geometry and Calibration Thanks to Martial Hebert.
Image Formation Fundamentals Basic Concepts (Continued…)
16421: Vision Sensors Lecture 7: High Dynamic Range Imaging Instructor: S. Narasimhan Wean 5312, T-R 1:30pm – 3:00pm.
1 Computer Vision 一目 了然 一目 了然 一看 便知 一看 便知 眼睛 頭腦 眼睛 頭腦 Computer = Image + Artificial Vision Processing Intelligence Vision Processing Intelligence.
Image Formation Dr. Chang Shu COMP 4900C Winter 2008.
Optics Real-time Rendering of Physically Based Optical Effects in Theory and Practice Masanori KAKIMOTO Tokyo University of Technology.
16421: Vision Sensors Lecture 7: High Dynamic Range Imaging Instructor: S. Narasimhan Wean 5312, T-R 1:30pm – 3:00pm.
Capturing light Source: A. Efros.
CS348B Lecture 7Pat Hanrahan, 2005 Camera Simulation EffectCause Field of viewFilm size, stops and pupils Depth of field Aperture, focal length Motion.
Miguel Tavares Coimbra
CSE 185 Introduction to Computer Vision Cameras. Camera models –Pinhole Perspective Projection –Affine Projection –Spherical Perspective Projection Camera.
Lenses and Imaging (Part I) Why is imaging necessary: Huygen’s principle – Spherical & parallel ray bundles, points at infinity Refraction at spherical.
776 Computer Vision Jan-Michael Frahm, Enrique Dunn Spring 2012.
Image formation.
1Ellen L. Walker 3D Vision Why? The world is 3D Not all useful information is readily available in 2D Why so hard? “Inverse problem”: one image = many.
Image Formation III Chapter 1 (Forsyth&Ponce) Cameras “Lenses” Guido Gerig CS-GY 6643, Spring 2016 (slides modified from Marc Pollefeys, UNC Chapel Hill/
Radiometry of Image Formation Jitendra Malik. A camera creates an image … The image I(x,y) measures how much light is captured at pixel (x,y) We want.
Radiometry of Image Formation Jitendra Malik. What is in an image? The image is an array of brightness values (three arrays for RGB images)
1 Ch. 4: Radiometry–Measuring Light Preview 。 The intensity of an image reflects the brightness of a scene, which in turn is determined by (a) the amount.
CS262 – Computer Vision Lect 4 - Image Formation
Advanced Computer Graphics
Capturing light Source: A. Efros.
Announcements Midterm out today Project 1 demos.
Digital Image Synthesis Yung-Yu Chuang 10/19/2006
Part One: Acquisition of 3-D Data 2019/1/2 3DVIP-01.
The Optics of the Camera Obscura or
Presentation transcript:

Basic Principles of Imaging and Photometry Lecture #2 Thanks to Shree Nayar, Ravi Ramamoorthi, Pat Hanrahan

Computer Vision: Building Machines that See Lighting Scene Camera Computer Physical Models Scene Interpretation We need to understand the Geometric and Radiometric relations between the scene and its image.

Camera Obscura, Gemma Frisius, A Brief History of Images

Lens Based Camera Obscura, A Brief History of Images

Still Life, Louis Jaques Mande Daguerre, A Brief History of Images

Silicon Image Detector, A Brief History of Images

A Brief History of Images Digital Cameras

Geometric Optics and Image Formation TOPICS TO BE COVERED : 1) Pinhole and Perspective Projection 2) Image Formation using Lenses 3) Lens related issues

Pinhole and the Perspective Projection (x,y) screenscene Is an image being formed on the screen? YES! But, not a “clear” one. image plane effective focal length, f’ optical axis y x z pinhole

Magnification image plane f’ optical axis y x z Pinhole planar scene A B A’ B’ d d’ From perspective projection: Magnification:

Orthographic Projection image plane optical axis y x z Magnification: When m = 1, we have orthographic projection This is possible only when In other words, the range of scene depths is assumed to be much smaller than the average scene depth. But, how do we produce non-inverted images?

Better Approximations to Perspective Projection

Problems with Pinholes Pinhole size (aperture) must be “very small” to obtain a clear image. However, as pinhole size is made smaller, less light is received by image plane. If pinhole is comparable to wavelength of incoming light, DIFFRACTION effects blur the image! Sharpest image is obtained when: pinhole diameter Example: If f’ = 50mm, = 600nm (red), d = 0.36mm

Image Formation using Lenses Lenses are used to avoid problems with pinholes. Ideal Lens: Same projection as pinhole but gathers more light! i o Gaussian Lens Formula: f is the focal length of the lens – determines the lens’s ability to bend (refract) light f different from the effective focal length f’ discussed before! P P’ f

Focus and Defocus Depth of Field: Range of object distances over which image is sufficiently well focused. i.e. Range for which blur circle is less than the resolution of the imaging sensor. d aperture diameter aperture Gaussian Law: Blur Circle, b Blur Circle Diameter :

Two Lens System Rule : Image formed by first lens is the object for the second lens. Main Rays : Ray passing through focus emerges parallel to optical axis. Ray through optical center passes un-deviated. image plane lens 2lens 1 object intermediate virtual image final image Magnification: Exercises: What is the combined focal length of the system? What is the combined focal length if d = 0?

Lens related issues Compound (Thick) Lens Vignetting Chromatic AbberationRadial and Tangential Distortion thickness principal planes nodal points B A more light from A than B ! Lens has different refractive indices for different wavelengths. image plane ideal actual ideal actual

Radiometry and Image Formation To interpret image intensities, we need to understand Radiometric Concepts and Reflectance Properties. TOPICS TO BE COVERED: 1) Image Intensities: Overview 2) Radiometric Concepts: Radiant Intensity Irradiance Radiance BRDF 3) Image Formation using a Lens 4) Radiometric Camera Calibration

Image Intensities Image intensities = f ( normal, surface reflectance, illumination ) Note: Image intensity understanding is an under-constrained problem! source sensor surface element normal Need to consider light propagation in a cone

Radiometric concepts – boring…but, important! (1) Solid Angle : ( steradian ) What is the solid angle subtended by a hemisphere? (solid angle subtended by ) (foreshortened area) (surface area) (2) Radiant Intensity of Source : Light Flux (power) emitted per unit solid angle ( watts / steradian ) (3) Surface Irradiance : ( watts / m ) Light Flux (power) incident per unit surface area. Does not depend on where the light is coming from! source 2 (4) Surface Radiance (tricky) : (watts / m steradian ) Flux emitted per unit foreshortened area per unit solid angle. L depends on direction Surface can radiate into whole hemisphere. L depends on reflectance properties of surface.

The Fundamental Assumption in Vision SurfaceCamera No Change in Radiance Lighting

Radiance properties Radiance is constant as it propagates along ray –Derived from conservation of flux –Fundamental in Light Transport.

Scene Radiance L Lens Image Irradiance E Camera Electronics Scene Image Irradiance E Relationship between Scene and Image Brightness Measured Pixel Values, I Non-linear Mapping! Linear Mapping! Before light hits the image plane: After light hits the image plane: Can we go from measured pixel value, I, to scene radiance, L?

Relation between Image Irradiance E and Scene Radiance L f z surface patch image plane image patch Solid angles of the double cone (orange and green): (1) Solid angle subtended by lens: (2)

Relation between Image Irradiance E and Scene Radiance L f z surface patch image plane image patch Flux received by lens from = Flux projected onto image (3) From (1), (2), and (3): Image irradiance is proportional to Scene Radiance! Small field of view  Effects of 4 th power of cosine are small.

Relation between Pixel Values I and Image Irradiance E The camera response function relates image irradiance at the image plane to the measured pixel intensity values. Camera Electronics Image Irradiance E Measured Pixel Values, I (Grossberg and Nayar)

Radiometric Calibration Important preprocessing step for many vision and graphics algorithms such as photometric stereo, invariants, de-weathering, inverse rendering, image based rendering, etc. Use a color chart with precisely known reflectances. Irradiance = const * Reflectance Pixel Values 3.1%9.0%19.8%36.2%59.1%90% Use more camera exposures to fill up the curve. Method assumes constant lighting on all patches and works best when source is far away (example sunlight). Unique inverse exists because g is monotonic and smooth for all cameras g ? ?

The Problem of Dynamic Range Dynamic Range: Range of brightness values measurable with a camera (Hood 1986) High Exposure Image Low Exposure Image We need 5-10 million values to store all brightnesses around us. But, typical 8-bit cameras provide only 256 values!! Today’s Cameras: Limited Dynamic Range

Images taken with a fish-eye lens of the sky show the wide range of brightnesses. High Dynamic Range Imaging Capture a lot of images with different exposure settings. Apply radiometric calibration to each camera. Combine the calibrated images (for example, using averaging weighted by exposures). (Debevec) (Mitsunaga)