Image Analysis and Formation (Formation et Analyse d'images)

Similar documents
Computer Vision James L. Crowley

Computer Vision James L. Crowley

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

The Elements of Colour

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

Lecture 1 Image Formation.

Lecture 11. Color. UW CSE vision faculty

Visible Color. 700 (red) 580 (yellow) 520 (green)

What does it mean to see?

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

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

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

CS635 Spring Department of Computer Science Purdue University

Physical Color. Color Theory - Center for Graphics and Geometric Computing, Technion 2

Illumination and Shading

Digital Image Processing. Introduction

Introduction to Computer Graphics with WebGL

Colour Reading: Chapter 6. Black body radiators

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

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

specular diffuse reflection.

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

CS5670: Computer Vision

Visualisatie BMT. Rendering. Arjan Kok

The Display pipeline. The fast forward version. The Display Pipeline The order may vary somewhat. The Graphics Pipeline. To draw images.

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

Lecture 12 Color model and color image processing

Pick up Light Packet & Light WS

Game Programming. Bing-Yu Chen National Taiwan University

Introduction to color science

Digital Image Processing

CS6670: Computer Vision

Lenses: Focus and Defocus

CS6670: Computer Vision

Spectral Color and Radiometry

Light. Computer Vision. James Hays

Light Transport Baoquan Chen 2017

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

CS4670: Computer Vision

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

(A) Electromagnetic. B) Mechanical. (C) Longitudinal. (D) None of these.

Lecture 16 Color. October 20, 2016

Human Retina. Sharp Spot: Fovea Blind Spot: Optic Nerve

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

Light and Electromagnetic Waves. Honors Physics

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

Characteristics of Light

The Viewing Pipeline Coordinate Systems

What is Color and How is It Measured?

Lecture 7 Notes: 07 / 11. Reflection and refraction

SNC 2PI Optics Unit Review /95 Name:

Sources, Surfaces, Eyes

3D graphics, raster and colors CS312 Fall 2010

EM Waves Practice Problems

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?

Science of Appearance

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

C101-E137 TALK LETTER. Vol. 14

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

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

Light, Lenses, Mirrors

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

OPPA European Social Fund Prague & EU: We invest in your future.

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

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

Person s Optics Test SSSS

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

Recap: Refraction. Amount of bending depends on: - angle of incidence - refractive index of medium. (n 2 > n 1 ) n 2

Polarization. Components of Polarization: Malus Law. VS203B Lecture Notes Spring, Topic: Polarization

Chapter 22. Reflection and Refraction of Light

The photometric track. Visual cues The human headway. Michelangelo /10/2012. Overlapping objects. Quantized scenes. Perspective geometry

Optics of Vision. MATERIAL TO READ Web: 1.

Chapter 35. The Nature of Light and the Laws of Geometric Optics

Computer Graphics. Bing-Yu Chen National Taiwan University

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

Colour computer vision: fundamentals, applications and challenges. Dr. Ignacio Molina-Conde Depto. Tecnología Electrónica Univ.

Lecture 15: Shading-I. CITS3003 Graphics & Animation

Lecture 1. Computer Graphics and Systems. Tuesday, January 15, 13

Unit 3: Optics Chapter 4

Lighting. Camera s sensor. Lambertian Surface BRDF

Chapter 24. Geometric optics. Assignment No. 11, due April 27th before class: Problems 24.4, 24.11, 24.13, 24.15, 24.24

History of Light. 5 th Century B.C.

Comp/Phys/Apsc 715. Example Videos. Pop Quiz! 1/30/2014

CG T8 Colour and Light

Effective Medium Theory, Rough Surfaces, and Moth s Eyes

Mech 296: Vision for Robotic Applications

2/26/2016. Chapter 23 Ray Optics. Chapter 23 Preview. Chapter 23 Preview

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

Color Vision. Spectral Distributions Various Light Sources

4.5 Images Formed by the Refraction of Light

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

Chapter 1. Light and color

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

The topics are listed below not exactly in the same order as they were presented in class but all relevant topics are on the list!

Chapter 4 Color in Image and Video

Basic Polarization Techniques and Devices 1998, 2003 Meadowlark Optics, Inc

Chapter 37 HW Q: 2, 4, 7, 10, P: 4, 8, 13, 19, 21, 28, 31, 36, 42, 59, 62

Virtual Reality for Human Computer Interaction

CS201 Computer Vision Lect 4 - Image Formation

Dispersion Polarization

Transcription:

Image Analysis and Formation (Formation et Analyse d'images) James L. Crowley ENSIMAG 3 - MMIS Option MIRV First Semester 2010/2011 Lesson 4 19 Oct 2010 Lesson Outline: 1 The Physics of Light...2 1.1 Photons and the Electo-Magnetic Spectrum...2 1.2 Albedo and Reflectance Functions...3 Specular Reflection...4 Lambertion Reflection...4 2 The Human Visual System...5 2.1 The Human Eye...5 2.2 The Retina...5 Fovea and Peripheral regions...5 3 Color Spaces and Color Models...6 3.1 Color Perception...6 3.2 The RGB Color Model...7 3.3 The HLS color model...8 3.4 Color Opponent Model...8 3.5 Separating Specular and Lambertian Reflection...10

1 The Physics of Light 1.1 Photons and the Electo-Magnetic Spectrum A photon is a resonant electromagnetic oscillation. The resonance is described by Maxwell's equations. The magnetic field is strength determined the rate of change of the electric field, and the electric field strength is determined by the rate of change of the magnetic field. The photon is characterized by 1) a direction of propagation, D!, 2) a direction of oscillation (polarity), and 3) a wavelength, λ, and its dual frequency, f : " = 1 f Direction of propagation and direction of polarity can be represented as a vector of cosine angles. % cos(") ( % +x /L(! ' * D = cos(#) ' * = ' * +y /L ' * & cos($) ) & +z /L) L "=#/2$! dz dx dy! Photons are created and absorbed by abrupt changes in the orbits of electrons. Absorption and creation are probabilistic (non-deterministic) events. Photons sources generally emit photons over a continuum of directions (a beam) and continuum of wavelengths (spectrum). The beam intensity is measured in Lumens, and is equivalent to Photons/Meter 2. The beam spectrum is gives the probability of a photon having a particularly wavelength, S(λ). The human eye is capable of sensing photons with a wavelength between 380 nanometers and 720 nanometers. 2

380 spectre des lumières visi bles 720 Ultra- Violet Violet bleu vert jaune orange rouge infrarouge 300 400 500 600 700 800 nm Perception is a probabilistic Phenomena. 1.2 Albedo and Reflectance Functions The albedo of a surface is the ratio of photons emitted over photons received. Albedo is described by a Reflectance function R(i, e, g, ") = Number of photons emitted Number of photons received Lumiere N i g Camèra e The parameters are i: The incident angle (between the photon source and the normal of the surface). e: The emittance angle (between the camera and the normal of the surface) g: The angle between the Camera and the Source. λ: The wavelength For most materials, when photons arrive at a surface, some percentage are rejected by an interface layer (determined by the wavelength). The remainder penetrate and are absorbed by molecules near the surface (pigments). Composant Speculaire Lumieres Composant Lambertian Surface Pigment 3

Most reflectance functions can be modeled as a weighted sum of two components: A Lambertian component and a specular component. R(i, e, g, ") = c R S (i, e, g, ") + (1- c) R L (i, ") Specular Reflection # R S (i, e, g, ") = 1 if i = e and i +e = g $ % 0 otherwise An example of a specular reflector is a mirror. All (almost all) of the photons are reflected at the interface level with no change in spectrum. Lambertion Reflection R L (i, ") = P(")cos(i) Paper, and fresh snow are examples of Lambertion reflectors. 4

2 The Human Visual System 2.1 The Human Eye The human eye is a spherical globe filled with transparent liquid. An opening (iris) allows light to enter and be focused by a lens. Light arrives at the back of the eye on the Retina. 2.2 The Retina The human retina is a tissue composed of a rods, cones and bi-polar cells. Cones are responsible for daytime vision. Rods provide night vision. Bi-polar cells perform initial image processing in the retina. Fovea and Peripheral regions Nerf Optique Fovéa (cônes) Périphéríe (bâtonnets) Fovéa Cornéa The cones are distributed over a non-uniform region in the back of the eye. The density of cones decreases exponentially from a central point. The fovea contains a "hole" where the optic nerve leaves the retina. The central region of the fovea is concentrates visual acuity and is used for recognition and depth perception. The peripheral regions have a much lower density of cones, and are used to direct eye movements. 5

3 Color Spaces and Color Models 3.1 Color Perception The human retina is a tissue composed of rods, cones and bi-polar cells. Cones are responsible for daytime vision. Bi-polar cells perform initial image processing in the retina. Rods provide night vision. Night vision is achromatique. It does not provide color perception. Night vision is low acuity - Rods are dispersed over the entire retina. 380 spectre des lumières visi bles 720 Ultra- Violet Violet bleu vert jaune orange rouge infrarouge 300 400 500 600 700 800 nm Rods are responsible for perception of very low light levels and provide night vision. Rods employ a very sensitive pigment named "rhodopsin". Rodopsin is sensitive to a large part of the visible spectrum of with a maximum sensitivity around 510 nano-meters. Rhodopsin sensitive to light between 0.1 and 2 lumens, (typical moonlight) but is destroyed by more intense lights. Rhodopsin can take from 10 to 20 minutes to regenerate. 1 Reponse Relative # $ 0.5 " 300 400 500 600 700 800 nm! Relative Sensitivities Normalised Sensitivities Cones provide our chromatique "day vision". Human Cones employ 3 pigments : cyanolabe α 400 500 nm peak at 420 440 nm chlorolabe β 450 630 nm peak at 534 545 nm erythrolabe γ 500 700 nm peak at 564 580 nm Perception of cyanolabe is low probability, hence poor sensitivity to blue. Perception of Chlorolabe and erythrolabe are more sensitive. 6

The three pigments give rise to a color space shown here (CIE model). Note, these three pigments do NOT map directly to color perception. Color perception is MUCH more complex, and includes a difficult to model phenomena known as "color constancy". For example, yellow is always yellow, despite changes to the spectrum of an ambiant source Many color models have been proposed but each has its strengths and weaknesses. 3.2 The RGB Color Model One of the oldest color models, originally proposed by Isaac Newton. This is the model used by most color cameras. The RGB model "pretends" that Red, Green and Blue are orthogonal (independent) axes of a Cartesian space. R magenta B bleu rouge noir blanc cyan jaune vert Axe Achromatique Triangle de Maxwell [R + V + B = 1] V Plan Chromatique "complémentaire" [R + V + B = 2] The achromatic axis is R=G=B. Maxwell's triangle is the surface defined when R+G+B = 1. A complementary triangle exists when R+G+B = 2. For printers (subtractive color) this is converted to CMY (Cyan, Magenta, Yellow). " C % " $ ' M $ ' = $ $ # Y & # R max G max B max % " R% ' ' $ ' G $ ' & # B& 7

3.3 The HLS color model HLS: Hue Luminance Saturation - called TLS in French. Often used by artists. HLS is a polar coordinate model for and hue (perceived color) and saturation. The polar space is placed on a third axis. The size of the disc corresponds to the range of saturation values available. Axe de Luminance Plan Chromatique S T L One (of many possible) mappings from RGB: Luminance : L = (R + B + B ) Saturation : 1-3*min(R, G, B)/L # 1 & % (R " G) + (R " B) Hue : x = cos "1 2 ( % ( % (R G) 2 + (R B)(G B) ( $ ' if B>G then H = x else H = 2π x. 3.4 Color Opponent Model Color Constancy: The subjective perception of color is independent of the spectrum of the ambient illumination. Subjective color perception is provide by "Relative" color and not "absolute" measurements. This is commonly modeled using a Color Opponent space. The opponent color theory suggests that there are three opponent channels: red versus green, blue versus yellow, and black versus white (the latter type is achromatic and detects light-dark variation, or luminance). 8

This can be computed from RGB by the following transformation: Luminance : L = R+G+B Chrominance: C1 = (R-G)/2 C2 = B (R+G)/2 as a matrix : " L % " 1 1 1% " R% $ ' C 1 $ ' = $ ' $ ' 1 1 0 G $ ' $ ' # & #(0.5 (0.5 1& # B& C 2 Such a vector can be "steered" to accommodate changes in ambient illumination. 9

3.5 Separating Specular and Lambertian Reflection. Consider what happens at a specular reflection. The specularity has the same spectrum as the illumination. The rest of the object has a spectrum that is the product of illumination and pigments. This scan be seen in a histogram of color: "! C (i, j) : H(! C (i, j)) =H(! C (i, j)) +1 B Couleur du Objet Couleur de la Lumiere R V Two clear axes emerge: One axis from the origin to the RGB of the product of the illumination and the source. The other axis towards the RGB representing the illumination. 10