Color. Light Spectrum Visible light comes in different wavelengths (or frequencies). Each wavelength...

9
Color
  • date post

    20-Dec-2015
  • Category

    Documents

  • view

    219
  • download

    0

Transcript of Color. Light Spectrum Visible light comes in different wavelengths (or frequencies). Each wavelength...

Page 1: Color. Light Spectrum Visible light comes in different wavelengths (or frequencies). Each wavelength represents a color. Red (~700-630nm), Green(~560-490nm),

Color

Page 2: Color. Light Spectrum Visible light comes in different wavelengths (or frequencies). Each wavelength represents a color. Red (~700-630nm), Green(~560-490nm),

Light Spectrum

• Visible light comes in different wavelengths (or frequencies).

• Each wavelength represents a color.• Red (~700-630nm), Green(~560-490nm), Blue

(~490-450nm).

Page 3: Color. Light Spectrum Visible light comes in different wavelengths (or frequencies). Each wavelength represents a color. Red (~700-630nm), Green(~560-490nm),

Human Vision

• The retina in human eyes has three color receptor cells, or cones.

Page 4: Color. Light Spectrum Visible light comes in different wavelengths (or frequencies). Each wavelength represents a color. Red (~700-630nm), Green(~560-490nm),

RGB

• RGB is an additive color model.• The primary colors are added to

produce new colors.

Page 5: Color. Light Spectrum Visible light comes in different wavelengths (or frequencies). Each wavelength represents a color. Red (~700-630nm), Green(~560-490nm),

RGB• Numeric Representation

– (0, 0, 0) is black– (255, 255, 255) is white– (255, 0, 0) is red– (0, 255, 0) is green– (0, 0, 255) is blue– (255, 255, 0) is yellow– (0, 255, 255) is cyan– (255, 0, 255) is magenta– (255,255,0) green– (0,255,0) cyan– (0,255,255) red

Geometric Representation

Page 6: Color. Light Spectrum Visible light comes in different wavelengths (or frequencies). Each wavelength represents a color. Red (~700-630nm), Green(~560-490nm),

Normalization

• Intensity I = (R + G + B)/3.• Normalized Red

r = R/(R + G + B).• Normalized Green

g = G/(R + G + B).• Normalized Blue

b = B/(R + G + B).

Page 7: Color. Light Spectrum Visible light comes in different wavelengths (or frequencies). Each wavelength represents a color. Red (~700-630nm), Green(~560-490nm),

HSI Color Model

• HSI = Hue, Saturation and Intensity.

Page 8: Color. Light Spectrum Visible light comes in different wavelengths (or frequencies). Each wavelength represents a color. Red (~700-630nm), Green(~560-490nm),

RGB to HSI Conversion

• To find the hue angle h [0, 360]∈

Page 9: Color. Light Spectrum Visible light comes in different wavelengths (or frequencies). Each wavelength represents a color. Red (~700-630nm), Green(~560-490nm),

HSI to RGB Conversion

• HSI to RGB