src ]

light and color

COS 351 - Computer Vision

building a camera

Let's design a camera!

What do you need to make a camera from scratch?

image formation

Idea 1: put a piece of film in front of an object

image formation

Idea 1: put a piece of film in front of an object

image formation

Idea 1: put a piece of film in front of an object

image formation

Idea 2: add a barrier to block off most of the rays

image formation

Idea 2: add a barrier to block off most of the rays

pinhole camera

f = focal length
c = center of the camera

camera obscura: the pre-camera

illustration of camera obscura
freestanding camera obscura at UNC Chapel Hill
[ Photo by Seth Ilys ]

camera obscura used for tracing

Lens Based Camera Obscura, 1568

accidental cameras

Accidental pinhole and pinspeck cameras revealing the scene outside the picture

[ Antonio Torralba, William T. Freeman ]

accidental cameras

Accidental pinhole and pinspeck cameras revealing the scene outside the picture

[ Antonio Torralba, William T. Freeman ]

pinhole camera apartment

source ]

first photograph

Oldest surviving photograph

Joseph Niepce, 1826
Photograph of the first photograph, stored at UT Austin

first photograph

Niepce later teamed up with Daguerre, who eventually created Daguerrotypes

image formation


film


digital camera

eye

a photon's life choices

  • absorption
  • diffusion
  • reflection
  • transparency
  • refraction
  • fluorescence
  • subsurface scattering
  • phosphorescence
  • interreflection

a photon's life choices

  • absorption
  • diffusion
  • reflection
  • transparency
  • refraction
  • fluorescence
  • subsurface scattering
  • phosphorescence
  • interreflection

a photon's life choices

  • absorption
  • diffusion
  • reflection
  • transparency
  • refraction
  • fluorescence
  • subsurface scattering
  • phosphorescence
  • interreflection

a photon's life choices

  • absorption
  • diffusion
  • **reflection
  • transparency
  • refraction
  • fluorescence
  • subsurface scattering
  • phosphorescence
  • interreflection

a photon's life choices

  • absorption
  • diffusion
  • reflection
  • transparency
  • refraction
  • fluorescence
  • subsurface scattering
  • phosphorescence
  • interreflection

a photon's life choices

  • absorption
  • diffusion
  • reflection
  • transparency
  • refraction
  • fluorescence
  • subsurface scattering
  • phosphorescence
  • interreflection

a photon's life choices

  • absorption
  • diffusion
  • reflection
  • transparency
  • refraction
  • fluorescence
  • subsurface scattering
  • phosphorescence
  • interreflection

a photon's life choices

  • absorption
  • diffusion
  • reflection
  • transparency
  • refraction
  • fluorescence
  • subsurface scattering
  • phosphorescence
  • interreflection

a photon's life choices

  • absorption
  • diffusion
  • reflection
  • transparency
  • refraction
  • fluorescence
  • subsurface scattering
  • phosphorescence
  • interreflection

a photon's life choices

  • absorption
  • diffusion
  • reflection
  • transparency
  • refraction
  • fluorescence
  • subsurface scattering
  • phosphorescence
  • interreflection

lambertion reflection

In computer vision, surfaces are often assumed to be ideal diffuse reflectors with no dependence on viewing direction

digital camera

A digital camera replaces film with a sensor array

sensor array

CMOS sensor

sampling and quantization

interlace vs progressive scan



motion: progressive scan

motion: interlace

rolling shutter

CMOS captures row at a time

the eye

The human eye is a camera!

the retina

what human's don't have: tapetum lucidum




raccoon, cat, cow ]

two types of light-sensitive receptors

CONES

  • cone-shaped
  • less sensitive
  • operate in high light
  • color vision

RODS

  • rod-shaped
  • highly sensitive
  • operate at night
  • gray-scale vision

rod/cone sensitivity

distribution of rods and cones

Night Sky: Why are there more stars off-center?

eye movements

Saccades

Microsaccades

Ocular microtremor (OMT)

electromagnetic spectrum

human luminance sensitivity function

visible light

Why do we see light of these wavelengths?
... because that's where the Sun radiates EM energy

[ Stephen E. Palmer, 2002 ]

the physics of light

Any patch of light can be completely described physically by its spectrum: the number of photons (per time unit) at each wavelength 400–700nm.

[ Stephen E. Palmer, 2002 ]

the physics of light

Some examples of the spectra of light sources

[ Stephen E. Palmer, 2002 ]

the physics of light

Some examples of the reflectance spectra of surfaces

[ Stephen E. Palmer, 2002 ]

the physics of light

There is no simple function description for the perceived color of all lights under all viewing conditions, but...

A helpful constraint: consider only physical spectra with normal distributions

[ Stephen E. Palmer, 2002 ]

the psychophysical correspondence

[ Stephen E. Palmer, 2002 ]

the psychophysical correspondence

[ Stephen E. Palmer, 2002 ]

the psychophysical correspondence

[ Stephen E. Palmer, 2002 ]

physiology of color vision

Three kinds of cones

impossible colors

Can you make the cones respond in ways that typical light spectra never would?

tetrachromatism

more spectra, metamers

Metamers: a color that appears to the eye to be identical to another color but which in fact has a different spectral composition

more spectra, metamers

practical color sensing: bayer grid

Estimate RGB at 'G' cells from neighboring values

color image

Color image above; red, green, blue channels at right

images in Matlab

color spaces

How can we represent color?

image ]

color spaces: RGB

  • default color space
  • some drawbacks
    • strongly correlated channels
    • non-perceptual

image ]

color spaces: HSV

intuitive color space

color spaces: YCbCr

fast to compute, good for compression, used by TV

color spaces: L*a*b*

"perceptually uniform"* color space

if you had to choose, would you rather go without luminance or chrominance?
only color shown, constant intensity
only intensity shown, constant color
original image

most information in intensity

back to grayscale intensity

loading...