Lecture 26: Color and Light Physics of Light and Color What is Color ...

37 downloads 982 Views 3MB Size Report
Lecture 26: Color and Light not in textbook (sad but true). CSE486, Penn State. Robert Collins. Physics of Light and Color. • Light is electromagnetic radiation.
Robert Collins CSE486, Penn State

Robert Collins CSE486, Penn State

Physics of Light and Color

• Light is electromagnetic radiation – Different colors correspond to different wavelengths λ – Intensity of each wavelength specified by amplitude • Visible light: 400-700nm. range

Lecture 26: Color and Light not in textbook (sad but true)

VI B

G

Y O

R

(ROYGBIV)

Robert Collins CSE486, Penn State

Robert Collins CSE486, Penn State

What is Color?

Sketch: Light Transport

Source emits photons

• Objects don’t have a “color”

And then some reach an eye/camera and are measured.

• Color is a perception; what we “see” Photons travel in a straight line

• It is a function of – – –

light source power at different wavelengths proportion of light at each wavelength reflected off object surface sensor response to different wavelengths

They hit an object. Some are absorbed, some bounce off in a new direction.

Robert Collins CSE486, Penn State

Robert Collins CSE486, Penn State

Light Transport

Source emits photons

Illumination

And then some reach an eye/camera and are measured.

Color of Light Source

Spectral Power Distribution:

Relative amount of light energy at each wavelength

Amplitude

Photons travel in a straight line

Wavelength λ UV

Visible

IR

They hit an object. Some are absorbed, some bounce off in a new direction.

1

Robert Collins CSE486, Penn State

Some Light Source SPDs

Robert Collins CSE486, Penn State

Robert Collins CSE486, Penn State

Light Transport

Source emits photons

Robert Collins CSE486, Penn State

And then some reach an eye/camera and are measured.

IRRADIANCE

RADIANCE

Incoming light

Outgoing light

Photons travel in a straight line

surface

Surface Reflection

Robert Collins CSE486, Penn State

(Ir)radiance

They hit an object. Some are absorbed, some bounce off in a new direction.

Specular Surfaces

Robert Collins CSE486, Penn State

Lambertian Surfaces

Light rays purely reflect via Snell’s law (angle of reflection = angle of incidence)

Purely “matte” surface.

Properties:

Apparent brightness is proportional to cosine of angle between observer’s line of sight and the surface normal (Lambert’s Law)

Outgoing light has same SPD (“color”) as incoming light. If you stand in the right place you see a little picture of the light source reflected off the surface.

Properties:

Outgoing light has SPD that depends on spectral albedo of surface (what wavelengths get absorbed vs transmitted).

2

Robert Collins CSE486, Penn State

Robert Collins CSE486, Penn State

More General Surfaces

Have both a specular and diffuse reflections.

Spectral Albedo

Ratio of outgoing to incoming radiation at different wavelengths. (proportion of light reflected) Spectral albedo for several different leaves

embedded colorant e.g. paint

Robert Collins CSE486, Penn State

Robert Collins CSE486, Penn State

Spectral Radiance

Light Transport

Source emits photons

And then some reach an eye/camera and are measured.

to a

Sensor Response Spectral Irradiance

Spectral Albedo

Spectral Radiance

They hit an object. Some are absorbed, some bounce off in a new direction.

Robert Collins CSE486, Penn State

Human Vision

• Human eyes have 2 types of sensors:

Robert Collins CSE486, Penn State

Human Eye: Rods and Cones

near fovea

– CONES • Sensitive to colored light, but not very sensitive to dim light

– RODS • (very) Sensitive to achromatic light

near periphery

rods (overall intensity) S cones (blue) M cones (green) L cones (red)

3

Robert Collins CSE486, Penn State

Robert Collins CSE486, Penn State

Putting it all Together = Color

Simple Example Spectral albedo of apple (red)

1

1

.*

0 400

albedo

Relative power

Relative Spectral Power Distribution of White Light

0

700

600

Wavelength (nm)

700

Wavelength (nm)

3 cones Relative power

Spectral Radiance

COLOR!

1

continued

0 600

700

Wavelength (nm)

.*

Blue Cones

0

1

400 500 600 700 Wavelength (nm)

400 500 600 700 Wavelength (nm)

600 700 Wavelength (nm)

Red Cones

Red Cones response

0

(no response)

400 500 600 700 Wavelength (nm) Green Cones

Green Cones 1

400

500

albedo 0

700

600

Wavelength (nm)

700

Wavelength (nm)

Spectral Radiance

looks “red”

(no radiance)

0 400

700

continued

Wavelength (nm)

Robert Collins CSE486, Penn State

relative numeric response (area)

1

The Abyss Clip

=0 “One-way ticket” clip from DVD =0

Blue Cones 1

=0 (no response)

0 400 500 600 700 Wavelength (nm)

.*

0

(no response)

Blue Cones

0

1

0 400 500 600 700 Wavelength (nm)

0 400 500 600 700 Wavelength (nm) 1

Spectral albedo of apple (red)

1

1

0 400 500 600 700 Wavelength (nm)

1

Relative Spectral Power Distribution of Blue Light

=0 (no response)

0

1

Simple Example

(no response)

Blue Cones

response

(no radiance)

Relative response

.*

1

Relative response

Relative power

=0

0 400 500 600 700 Wavelength (nm)

Spectral Radiance

.*

1

Simple Example (continued)

.*

0

0 400 500 600 700 Wavelength (nm)

0 400 500 600 700 Wavelength (nm) 1

Relative response

Robert Collins CSE486, Penn State

1

response

600 700 Wavelength (nm)

=100

Green Cones

response

0

1

Green Cones

Relative response

.*

Relative response

Relative power

Spectral Radiance 1

400 500 600 700 Wavelength (nm)

relative numeric response (area)

Relative power

0

response

1

response

.*

Red Cones

Red Cones

Robert Collins CSE486, Penn State

Relative power

Simple Example (continued) Relative response

Robert Collins CSE486, Penn State

400 500 600 700 Wavelength (nm)

looks “black”

4

Robert Collins CSE486, Penn State

What is Going On in This Clip?

Robert Collins CSE486, Penn State

Black/Yellow under Yellow Light .*

yellow

Under yellowish green light, both the blue/white wire and the black/yellow wire look identical.

0

black

Spectral Albedo

Irradiance black

Radiance Now for the spectral explanation of why this happens…

.*

yellow

yellow

Spectral Albedo

Irradiance yellow

Radiance

Robert Collins CSE486, Penn State

Blue/White under Yellow Light .*

yellow 0

blue

Spectral Albedo

Irradiance

Robert Collins CSE486, Penn State

Lesson Learned

Surfaces materials that look different under white light can appear identical under colored light.

black

Radiance .*

yellow

white

Spectral Albedo

Irradiance yellow

Radiance

Robert Collins CSE486, Penn State

Metamers

Robert Collins CSE486, Penn State

Sample Metamers

Metameric curves for human eye under daylight

Test pattern viewed under daylight

Definition: two different spectral reflectances that appear indistinguishable to a given observer under given illumination conditions. Illumination metamerism: two color distributions look the same under a given illumination Observer metamerism: two color distributions look the same to a given observer.

Overcoming metamerism by viewing under different illumination

Viewed under incandescent lighting

Overcoming metamerism by having a different observer

Viewed by camera with more sensitive red response than human eye

From http://www.iitp.ru/projects/posters/meta/

5

Robert Collins CSE486, Penn State

Metamers

To further explore observer metamerism, see the interactive metamer applet at: http://www.cs.brown.edu/exploratories/freeSoftware/catalogs/color_theory.html

Robert Collins CSE486, Penn State

Why is Color Constancy Hard?

Robert Collins CSE486, Penn State

Perception: Color Constancy

Humans are very good at recognizing the same material colors under different illumination. Not clear how this is achieved in the general case.

Robert Collins CSE486, Penn State

Color Blindness Normal color perception

Red/Green color blindness Want to factor this signal into these two components. Need prior knowledge!

6