CS201 Computer Vision Lect 4 - Image Formation

Similar documents
Lecture 22: Basic Image Formation CAP 5415

Capturing light. Source: A. Efros

Understanding Variability

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

INFOGR Computer Graphics. J. Bikker - April-July Lecture 10: Shading Models. Welcome!

CS6670: Computer Vision

Measuring Light: Radiometry and Cameras

Module 5: Video Modeling Lecture 28: Illumination model. The Lecture Contains: Diffuse and Specular Reflection. Objectives_template

CS201 Computer Vision Camera Geometry

Today. Global illumination. Shading. Interactive applications. Rendering pipeline. Computergrafik. Shading Introduction Local shading models

CS5670: Computer Vision

Topics and things to know about them:

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

CS4670: Computer Vision

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

Radiometry Measuring Light

CMSC427 Shading Intro. Credit: slides from Dr. Zwicker

Image Formation: Light and Shading. Introduction to Computer Vision CSE 152 Lecture 3

Digital Image Processing COSC 6380/4393

CS5620 Intro to Computer Graphics

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

CSE 167: Lecture #7: Color and Shading. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2011

Illumination Models & Shading

Lecture 1 Image Formation.

CENG 477 Introduction to Computer Graphics. Ray Tracing: Shading

Computer Vision. The image formation process

Radiance. Pixels measure radiance. This pixel Measures radiance along this ray

CSE 167: Introduction to Computer Graphics Lecture #6: Colors. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2013

Introduction to 3D Concepts

Announcements. Image Formation: Light and Shading. Photometric image formation. Geometric image formation

Announcements. Radiometry and Sources, Shadows, and Shading

Introduction to Computer Vision. Week 8, Fall 2010 Instructor: Prof. Ko Nishino

Office Hours. Scattering and Polarization

Radiometry and reflectance

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

Color and Shading. Color. Shapiro and Stockman, Chapter 6. Color and Machine Vision. Color and Perception

Other approaches to obtaining 3D structure

CSE 167: Introduction to Computer Graphics Lecture #6: Lights. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2016

Introduction to Computer Vision

dq dt I = Irradiance or Light Intensity is Flux Φ per area A (W/m 2 ) Φ =

CS6670: Computer Vision

Today. Global illumination. Shading. Interactive applications. Rendering pipeline. Computergrafik. Shading Introduction Local shading models

Shape from shading. Surface brightness and Surface Orientation --> Reflectance map READING: Nalwa Chapter 5. BKP Horn, Chapter 10.

Illumination and Shading

Physics 9 Friday, September 28, 2018

Computer Vision I - Image Matching and Image Formation

Assignment #2. (Due date: 11/6/2012)

Epipolar geometry contd.

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

Photometric Stereo.

Radiometry. Radiometry. Measuring Angle. Solid Angle. Radiance

Midterm Examination CS 534: Computational Photography

Chapter 36. Image Formation

Shading / Light. Thanks to Srinivas Narasimhan, Langer-Zucker, Henrik Wann Jensen, Ravi Ramamoorthi, Hanrahan, Preetham

Reflectance & Lighting

Practice Exam Sample Solutions

Midterm Exam CS 184: Foundations of Computer Graphics page 1 of 11

Shading. Brian Curless CSE 557 Autumn 2017

Light. Properties of light. What is light? Today What is light? How do we measure it? How does light propagate? How does light interact with matter?

CS354 Computer Graphics Ray Tracing. Qixing Huang Januray 24th 2017

Engineered Diffusers Intensity vs Irradiance

Problem Set 4 Part 1 CMSC 427 Distributed: Thursday, November 1, 2007 Due: Tuesday, November 20, 2007

Lighting affects appearance

Announcements. Lighting. Camera s sensor. HW1 has been posted See links on web page for readings on color. Intro Computer Vision.

Paths, diffuse interreflections, caching and radiometry. D.A. Forsyth

782 Schedule & Notes

Chapter 26 Geometrical Optics

Representing the World

Unit 3: Optics Chapter 4

Global Illumination. Why Global Illumination. Pros/Cons and Applications. What s Global Illumination

Range Imaging Through Triangulation. Range Imaging Through Triangulation. Range Imaging Through Triangulation. Range Imaging Through Triangulation

Distribution Ray-Tracing. Programação 3D Simulação e Jogos

EE Light & Image Formation

The Rendering Equation. Computer Graphics CMU /15-662

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

dq dt I = Irradiance or Light Intensity is Flux Φ per area A (W/m 2 ) Φ =

Computational Photography

What is it? How does it work? How do we use it?

Physics 1202: Lecture 17 Today s Agenda

All forms of EM waves travel at the speed of light in a vacuum = 3.00 x 10 8 m/s This speed is constant in air as well

CS667 Lecture Notes: Radiometry

Announcements. Light. Properties of light. Light. Project status reports on Wednesday. Readings. Today. Readings Szeliski, 2.2, 2.3.

Ray Tracing. CS334 Fall Daniel G. Aliaga Department of Computer Science Purdue University

Computer Vision Project-1

CS 325 Computer Graphics

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

Lecture 15: Shading-I. CITS3003 Graphics & Animation

CS 130 Final. Fall 2015

Scanline Rendering 1 1/42

Lighting. Figure 10.1

Topic 9: Lighting & Reflection models 9/10/2016. Spot the differences. Terminology. Two Components of Illumination. Ambient Light Source

I N T R O D U C T I O N T O C O M P U T E R G R A P H I C S

Geometrical Optics. Name ID TA. Partners. Date Section. Please do not scratch, polish or touch the surface of the mirror.

Light. Form of Electromagnetic Energy Only part of Electromagnetic Spectrum that we can really see

Topic 9: Lighting & Reflection models. Lighting & reflection The Phong reflection model diffuse component ambient component specular component

Temporal Resolution. Flicker fusion threshold The frequency at which an intermittent light stimulus appears to be completely steady to the observer

Photometric Stereo. Lighting and Photometric Stereo. Computer Vision I. Last lecture in a nutshell BRDF. CSE252A Lecture 7

Modeling Light. On Simulating the Visual Experience

Today we will start to look at illumination models in computer graphics

Computer Vision CS 776 Fall 2018

Transcription:

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 out the lab Friday. All this effort to make sure the LIGHTING is good for a movie. Why is more light needed for a good quality movie? What factors affect how much light reaches the film or image sensor? Why does your cell phone take such lousy pictures at a party? How does this all affect Computer Vision?

How are images formed 1. Light is emitted from a light source 2. Light hits a surface 3. Light interacts with the surface 4. Reflected light enters camera aperture 5. Sensor of camera interprets light Szeliski Ch 2.2 Don t worry about all the details of the math Shapiro & Stockman Ch. 6, Ch. 2 (https://courses.cs.washington.edu/courses/cse576/99sp/book.html

Light is emitted Point light sources radiates (emits) light uniformly in all directions Properties of light: Color spectrum (Wavelength distribution) Intensity (Watts / Area * Solid Angle) Note: A solid angle is like a cone Note: Area light sources, like fluorescent lights, are a little different

Light hits a surface Surface orientation is very important for determining the amount of incident light! Distance: 2.5 m Orientation: 0 degrees Solid angle: 22.6 degrees Distance: 2.5 m Orientation: 45 degrees Solid angle: 11.4 degrees foreshortening Distance: 5 m Orientation: 0 degrees Solid angle: 16.4 degrees attenuation The amount of incident light that falls on a surface (irradiated light) size of the surface solid angle of light subtended by the surface depends on distance to light and orientation of surface

Light Interacts with a surface Some light absorbed due to surface color What happens to the rest? The orientation of a surface is defined by its normal vector which sticks straight up out of the surface. Simplified BRDF modeled with two components: Bi-direction reflectance function: BRDF expresses : the amount, direction, and color spectrum of reflected light depending on the amount, direction, and color spectrum of incoming light Lambertian, flat or matte component : light radiated equally in all directions Specular, shiny, or highlight component: radiated light is reflected across the normal from the incoming light

Reflected light enters a camera Pinhole Model Object location focal plane / image plane focal distance / focal length Image location Optical axis Center of Projection Scene Depth Red triangle (behind camera) and blue triangle (in front of camera) are similar: therefore: Given any three terms, you can determine the fourth

Reflected light enters a camera For given focal length, Lens Equation leads to A blur circle or circle of confusion results when projections of objects are not focused on the image plane. The size of the blur circle depends on the distance to the object and the size of the aperture. The allowable size of the blur circle (e.g. a pixel) determines the allowable range of depths in the scene ( depth of field ) Note: The F number or f stop commonly used in photography is the ratio of focal length to aperture size. (http://www.dofmaster.com/dofjs.html)

Camera sensor interprets light http://micro.magnet.fsu.edu/optics/li ghtandcolor/vision.html Image is quantized into pixels to go from physical size of projection to pixel coordinates Szeliski 2.3, Shapiro & Stockman 2.2

Now what? Interaction between light, objects, and the camera leads to images The way image values change hopefully tells us something about the objects, the light, and the camera

Image Gradients the way image values change image derivative Gradient at a particular point (x, y) is a vector that points in the direction of largest change Gradient can be in Cartesian (x, y) or Polar (magnitude, angle) coordinates Every point in an image may have a different gradient vector Friday s lab and this week s homework will be devoted to image gradients and edges.

Discussion Questions: What influences are mixed together when we observe the light reflected from a surface? In order to infer surface orientation, what assumptions do we need to make? Can we construct restricted imaging conditions that make this job easier? In order to infer surface properties, what assumptions do we need to make? Can we construct restricted imaging conditions that make this job easier? What are some things we would like to know about objects that we can t directly observe, even if we could correctly reconstruct surface orientation, color, texture, and reflectance properties? (hint: clothes) What steps could we take to try to understand those things, given the image information Think of some ways that we could define the scope of some tasks that we might be able to do, even if all we have is the image appearance and we can t infer scene structure and surface orientation and properties.

Light incident on a surface The amount of light that falls on a surface (irradiated light) size of the surface solid angle of light subtended by the surface Surfaces that are further away from the light subtend a smaller solid angle attenuation Surfaces that are turned away from the light subtend a smaller solid angle foreshortening

Image Gradients The gradient is a vector like any other vector. It just happens to represent the way the values of the image are changing. One way to compute gradient: finite differences : Just compute the difference between each pixel and the previous one (horizontally and vertically). Switching from the Cartesian representation (x,y) to the polar representation (magnitude, direction) is often helpful, and very, very important. Friday s lab and this week s homework will be devoted to image gradients and edges.