CSE399b Computer Vision Spring 2006 Jianbo Shi Color.

32
CSE399b Computer Vision Spring 2006 Jianbo Shi Color QuickTime™ and aTIFF (Uncomp
  • date post

    21-Dec-2015
  • Category

    Documents

  • view

    230
  • download

    0

Transcript of CSE399b Computer Vision Spring 2006 Jianbo Shi Color.

Page 1: CSE399b Computer Vision Spring 2006 Jianbo Shi Color.

CSE399b Computer Vision

Spring 2006

Jianbo Shi

Color

QuickTime™ and aTIFF (Uncompressed) decompressorare needed to see this picture.

Page 2: CSE399b Computer Vision Spring 2006 Jianbo Shi Color.
Page 3: CSE399b Computer Vision Spring 2006 Jianbo Shi Color.

QuickTime™ and aTIFF (Uncompressed) decompressorare needed to see this picture.

Page 4: CSE399b Computer Vision Spring 2006 Jianbo Shi Color.

Light: consisting of EM waves

QuickTime™ and aTIFF (Uncompressed) decompressorare needed to see this picture.

Page 5: CSE399b Computer Vision Spring 2006 Jianbo Shi Color.

Reflectance and Light– Materials may reflect different wavelengths of light differently

Page 6: CSE399b Computer Vision Spring 2006 Jianbo Shi Color.
Page 7: CSE399b Computer Vision Spring 2006 Jianbo Shi Color.

Color, the physics– As previously noted different wavelengths/frequencies of EM radiation

correspond to different colors

– Different light sources have different spectral characteristics

Page 8: CSE399b Computer Vision Spring 2006 Jianbo Shi Color.
Page 9: CSE399b Computer Vision Spring 2006 Jianbo Shi Color.

Why is the sky blue, and red looks hot

1) air: intensity of radiation scatters by fourth power of the frequency

2) Long frequency(short wavelength) scatters more short ones, – light of a long wavelength can travel very much further

before being scattered than light of a short wavelength– when the sun is high in the sky, blue light is scattered out

of the ray from the sun to the earth

3) We refer to the color temperature of a source by comparing its spectral character to the character of a block body radiator

Page 10: CSE399b Computer Vision Spring 2006 Jianbo Shi Color.

Grassmans Law

– Trichromacy in human perception• Any colored light can be matched by a weighted

combination of three primary light sources

Page 11: CSE399b Computer Vision Spring 2006 Jianbo Shi Color.

Additive and Subtractive Color

Page 12: CSE399b Computer Vision Spring 2006 Jianbo Shi Color.
Page 13: CSE399b Computer Vision Spring 2006 Jianbo Shi Color.
Page 14: CSE399b Computer Vision Spring 2006 Jianbo Shi Color.
Page 15: CSE399b Computer Vision Spring 2006 Jianbo Shi Color.

Human Color Perception

– The color sensitive elements in the HVS come with three spectral responses which helps to explain trichromacy

Page 16: CSE399b Computer Vision Spring 2006 Jianbo Shi Color.
Page 17: CSE399b Computer Vision Spring 2006 Jianbo Shi Color.

QuickTime™ and aTIFF (Uncompressed) decompressorare needed to see this picture.

Page 18: CSE399b Computer Vision Spring 2006 Jianbo Shi Color.

Light: consisting of EM waves

QuickTime™ and aTIFF (Uncompressed) decompressorare needed to see this picture.

Page 19: CSE399b Computer Vision Spring 2006 Jianbo Shi Color.

CIE color space

• CIE XYZ(x,y) = (X/(X+Y+Z), Y/(X+Y+Z)

Page 20: CSE399b Computer Vision Spring 2006 Jianbo Shi Color.
Page 21: CSE399b Computer Vision Spring 2006 Jianbo Shi Color.

QuickTime™ and aTIFF (Uncompressed) decompressorare needed to see this picture.

Page 22: CSE399b Computer Vision Spring 2006 Jianbo Shi Color.
Page 23: CSE399b Computer Vision Spring 2006 Jianbo Shi Color.

CIE color space

• CIE XYZ

• CIE LAB

(x,y) = (X/(X+Y+Z), Y/(X+Y+Z)

L = 116*(Y/Yn)^1/3 - 16;A = 500[(X/Xn)^1/3 - (Y/Yn)^1/3]B = 200[(Y/Yn)^1/3 - (Z/Zn)^1/3]

Difference in this space is more close to human color space

Page 24: CSE399b Computer Vision Spring 2006 Jianbo Shi Color.
Page 25: CSE399b Computer Vision Spring 2006 Jianbo Shi Color.
Page 26: CSE399b Computer Vision Spring 2006 Jianbo Shi Color.
Page 27: CSE399b Computer Vision Spring 2006 Jianbo Shi Color.

Vincent van Gogh Painting Sunflowers, By Paul Gauguin, 1888, Rijksmuseum, Amsterdam

Page 28: CSE399b Computer Vision Spring 2006 Jianbo Shi Color.

• Color Contrast The visual system compares colors

• Contrast that results from spatial comparison is called simultaneous contrast, while contrast that results from

temporal comparison is called successive contrast.

QuickTime™ and aTIFF (Uncompressed) decompressorare needed to see this picture.

Page 29: CSE399b Computer Vision Spring 2006 Jianbo Shi Color.

QuickTime™ and aTIFF (Uncompressed) decompressorare needed to see this picture.

Page 30: CSE399b Computer Vision Spring 2006 Jianbo Shi Color.

How to measure the opponent color theory?

• We will start with low wavelength, and add color of yellow to cancel out the color of blue,

• The amount of yellow we add tells us how blue that wavelength is percieved

• At 500nm, the color appears to be Green. No addition is needed

600nm, we need to add blue to cancel out the color of yellow

The ratio of blue and yellow we need to add tells us the tuning curve for the B-Y perceptor

Page 31: CSE399b Computer Vision Spring 2006 Jianbo Shi Color.

Color-opponent theory • The black-white or achromatic channel sums signals from R, G

and B cones.

• The red-green color-opponent channel is excited by signals from R cones and inhibited by signals from G cones.

• The blue-yellow color-opponent channel is excited by signals from B cones and is inhibited by a combination of signals from R and G cones.

A = R+G+B

RG= R-G

Y = R +G; BY = B-(R+G)

Page 32: CSE399b Computer Vision Spring 2006 Jianbo Shi Color.

Perception of color and lightness

QuickTime™ and aTIFF (Uncompressed) decompressorare needed to see this picture.