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

Similar documents
Lighting. Camera s sensor. Lambertian Surface BRDF

Announcements. Camera Calibration. Thin Lens: Image of Point. Limits for pinhole cameras. f O Z

Color to Binary Vision. The assignment Irfanview: A good utility Two parts: More challenging (Extra Credit) Lighting.

Announcements. Rotation. Camera Calibration

Colour Reading: Chapter 6. Black body radiators

Reflectance & Lighting

Announcements. Image Formation: Outline. Homogenous coordinates. Image Formation and Cameras (cont.)

Color. Reading: Optional reading: Chapter 6, Forsyth & Ponce. Chapter 4 of Wandell, Foundations of Vision, Sinauer, 1995 has a good treatment of this.

Why does a visual system need color? Color. Why does a visual system need color? (an incomplete list ) Lecture outline. Reading: Optional reading:

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

What is color? What do we mean by: Color of an object Color of a light Subjective color impression. Are all these notions the same?

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

Announcements. Radiometry and Sources, Shadows, and Shading

Radiometry. Radiometry. Measuring Angle. Solid Angle. Radiance

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

Lecture 1 Image Formation.

Causes of color. Radiometry for color

ECE-161C Color. Nuno Vasconcelos ECE Department, UCSD (with thanks to David Forsyth)

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

A question from Piazza

Color. Computational Photography MIT Feb. 14, 2006 Bill Freeman and Fredo Durand

Announcements. The principle of trichromacy. Color Matching Functions. The appearance of colors

Reading. 2. Color. Emission spectra. The radiant energy spectrum. Watt, Chapter 15.

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

Spectral Color and Radiometry

Announcements. Photometric Stereo. Shading reveals 3-D surface geometry. Photometric Stereo Rigs: One viewpoint, changing lighting

Image Formation. Camera trial #1. Pinhole camera. What is an Image? Light and the EM spectrum The H.V.S. and Color Perception

And if that 120MP Camera was cool

Understanding Variability

Announcement. Lighting and Photometric Stereo. Computer Vision I. Surface Reflectance Models. Lambertian (Diffuse) Surface.

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

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

Illumination and Shading

Introduction to color science

Fall 2015 Dr. Michael J. Reale

Photometric Stereo. Photometric Stereo. Shading reveals 3-D surface geometry BRDF. HW3 is assigned. An example of photometric stereo

CENG 477 Introduction to Computer Graphics. Ray Tracing: Shading

(0, 1, 1) (0, 1, 1) (0, 1, 0) What is light? What is color? Terminology

Chapter 5 Extraction of color and texture Comunicação Visual Interactiva. image labeled by cluster index

Lecture 22: Basic Image Formation CAP 5415

Color Matching Functions. The principle of trichromacy. CIE xyy (Chromaticity Space) Color spaces. Intro Computer Vision. CSE 152 Lecture 7`

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

specular diffuse reflection.

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

The Elements of Colour

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

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

4. Refraction. glass, air, Perspex and water.

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

Conceptual Physics 11 th Edition

Computer Vision. The image formation process

Global Illumination. Frank Dellaert Some slides by Jim Rehg, Philip Dutre

CS5670: Computer Vision

Radiometry. Reflectance & Lighting. Solid Angle. Radiance. Radiance Power is energy per unit time

CS6670: Computer Vision

Lecture 15: Shading-I. CITS3003 Graphics & Animation

Measuring Light: Radiometry and Cameras

Illumination and Shading - II

4. A bulb has a luminous flux of 2400 lm. What is the luminous intensity of the bulb?

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

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

CMSC427 Shading Intro. Credit: slides from Dr. Zwicker

Capturing light. Source: A. Efros

CS 5625 Lec 2: Shading Models

Radiometry & BRDFs CS295, Spring 2017 Shuang Zhao

CG T8 Colour and Light

1. Final Projects 2. Radiometry 3. Color. Outline

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

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

Digital Image Processing COSC 6380/4393. Lecture 19 Mar 26 th, 2019 Pranav Mantini

Mosaics, Plenoptic Function, and Light Field Rendering. Last Lecture

Mech 296: Vision for Robotic Applications

AP* Optics Free Response Questions

Light Transport Baoquan Chen 2017

Optics Test Science What are some devices that you use in everyday life that require optics?

CS6670: Computer Vision

Visualisatie BMT. Rendering. Arjan Kok

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

CS-184: Computer Graphics. Today. Lecture 22: Radiometry! James O Brien University of California, Berkeley! V2014-S

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

Image Formation. Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts University of New Mexico

Refraction of Light. This bending of the ray is called refraction

Overview. Radiometry and Photometry. Foundations of Computer Graphics (Spring 2012)

Digital Image Processing. Introduction

CSE 167: Lecture #6: Color. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2012

Shading. Brian Curless CSE 557 Autumn 2017

Computer Graphics. Bing-Yu Chen National Taiwan University The University of Tokyo

CS4670: Computer Vision

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

Measuring Light: Radiometry and Photometry

Global Illumination The Game of Light Transport. Jian Huang

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

Radiometry (From Intro to Optics, Pedrotti 1-4) Radiometry is measurement of Emag radiation (light) Consider a small spherical source Assume a black

Color Vision. Spectral Distributions Various Light Sources

Introduction to Computer Graphics with WebGL

HW Chapter 20 Q 2,3,4,5,6,10,13 P 1,2,3. Chapter 20. Classic and Modern Optics. Dr. Armen Kocharian

Lecture 11. Color. UW CSE vision faculty

Color. making some recognition problems easy. is 400nm (blue) to 700 nm (red) more; ex. X-rays, infrared, radio waves. n Used heavily in human vision

Measuring Light: Radiometry and Photometry

Reading. 4. Color. Outline. The radiant energy spectrum. Suggested: w Watt (2 nd ed.), Chapter 14. Further reading:

Transcription:

Announcements HW1 has been posted See links on web page for readings on color. Introduction to Computer Vision CSE 152 Lecture 6 Deviations from the lens model Deviations from this ideal are aberrations Two types 1. geometrical 2. chromatic spherical aberration astigmatism distortion coma Aberrations are reduced by combining lenses Lighting Special light sources Point sources Distant point sources Strip sources Area sources Common to think of lighting at infinity (a function on the sphere, a 2-D space) Completely arbitrary lighting can be represented as a function on the 4-D ray space (radiances) Compound lenses Radiance Irradiance Power traveling at some point How much light is arriving at a in a specified direction, per unit surface? area perpendicular to the Irradiance -- power per unit area: direction of travel, per unit solid angle Units: watts per square meter per steradian : w/(m 2 sr 1 ) θ (θ, φ) dω W/cm 2 Total power arriving at the surface is given by adding irradiance over all incoming angles Camera s sensor Measured pixel intensity is a function of irradiance integrated over pixel s area over a range of wavelengths For some time x da x 1

Bi-directional Reflectance Distribution Function ρ(θ in, φ in ; θ out, φ out ) Function of Incoming light direction: θ in, φ in Outgoing light direction: θ out, φ out Ratio of incident irradiance to emitted radiance BRDF (θ in,φ in ) ^ n (θ out,φ out ) Without shadows Lambertian Surface E(u,v) [ Important: We ll use this a lot ] ^ n At image location (u,v), the intensity of a pixel x(u,v) is: E(u,v) = [a(u,v) ^ n(u,v)] [s 0 ^ s ] where a(u,v) is the albedo of the surface projecting to (u,v). n(u,v) is the direction of the surface normal. s 0 is the light source intensity. ^ s is the direction to the light source. ^ s. a The appearance of colors Color appearance is strongly affected by (at least): Spectrum of lighting striking the retina other nearby colors (space) adaptation to previous views (time) state of mind From Foundations of Vision, Brian Wandell, 1995, via B. Freeman slides 2

Light Spectrum Color Reflectance Measured color spectrum is a function of the spectrum of the illumination and reflectance From Foundations of Vision, Brian Wandell, 1995, via B. Freeman slides Illumination Spectra Blue skylight Tungsten bulb Violet Indigo Blue From Foundations of Vision, Brian Wandell, 1995, via B. Freeman slides Green Yellow Orange Red Measurements of relative spectral power of sunlight, made by J. Parkkinen and P. Silfsten. Relative spectral power is plotted against wavelength in nm. The visible range is about 400nm to 700nm. The color names on the horizontal axis give the color names used for monochromatic light of the corresponding wavelength --- the colors of the rainbow. Mnemonic is Richard of York got blisters in Venice. 3

Spectral albedoes for several different leaves, with color names attached. Notice that different colours typically have different spectral albedo, but that different spectral albedoes may result in the same perceived color (compare the two whites). Spectral albedoes are typically quite smooth functions. Measurements by E.Koivisto. Fresnel Equation for Polished Copper Dialectrics (e.g., plastics) Diffuse + specular component Specularity is the color of the light source Not on a computer Screen 4

5

The principle of trichromacy Color receptors Experimental facts: Three primaries will work for most people if we allow subtractive matching Exceptional people can match with two or only one primary. This could be caused by a variety of deficiencies. Most people make the same matches. There are some anomalous trichromats, who use three primaries but make different combinations to match. Red cone Green cone Blue cone Response of k th cone = Color Cameras Prism color camera Separate light in 3 beams using dichroic prism Requires 3 sensors & precise alignment Good color separation Eye: Three types of Cones Cameras: 1. Prism (with 3 sensors) 2. Filter mosaic 3. Filter wheel and X3 Filter mosaic Filter wheel Coat filter directly on sensor Rotate multiple filters in front of lens Allows more than 3 color bands Demosaicing (obtain full colour & full resolution image) Only suitable for static scenes 6

color CMOS sensor Foveon s X3 Color Matching Functions better image quality smarter pixels primaries are monochromatic at 645.2nm, 526.3nm, 444.4nm CSE152, Acquired Winter 2013 by Sigma in 2008, Color spaces RGB Color Cube Linear color spaces describe colors as linear combinations of primaries Choice of primaries=choice of color matching functions=choice of color space Color matching functions, hence color descriptions, are all within linear transformations RGB: primaries are monochromatic, energies are 645.2nm, 526.3nm, 444.4nm. Color matching functions have negative parts -> some colors can be matched only subtractively. CIE XYZ: Color matching functions are positive everywhere, but primaries are imaginary. Usually draw x, y, where x=x/(x+y+z) y=y/(x+y+z) Block of colours for (r, g, b) in the range (0-1). Convenient to have an upper bound on coefficient of each primary. In practice: primaries given by monitor phosphors, lcd filters,etc. (phosphors are the materials on the face of the monitor screen that glow when struck by electrons) YIQ Model CIE -XYZ and x-y Used by NTSC TV standard Separates Hue & Saturation (I,Q) from Luminance (Y) 7

CIE xyy (Chromaticity Space) HSV Hexcone Hue, Saturation, Value AKA: Hue, Saturatation, Intensity (HIS) Hexagon arises from projection of cube onto plane orthogonal to (R,G,B) = (1,1,1) Metameric Lights (Metamers) 8