Top Banner
Color as Attention
19

Color as Attention

Jan 29, 2016

Download

Documents

Sheri

Color as Attention. Color. What is Color?. Colors are different wavelengths (frequencies) of light Only some colors occur as pure wavelengths; many are mixtures of pure colors (e.g. white). What is Color?. What is Color?. - PowerPoint PPT Presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Color as Attention

Color as Attention

Page 2: Color as Attention

Color

Page 3: Color as Attention

What is Color?• Colors are different

wavelengths (frequencies) of light

• Only some colors occur as pure wavelengths; many are mixtures of pure colors (e.g. white)

Page 4: Color as Attention

What is Color?

Page 5: Color as Attention

What is Color?• We almost never see a “pure” wavelength

of light; rather a mixture of wavelengths, each with a different “power”

• Only some colors occur as pure wavelengths; many are mixtures of pure colors (e.g. white)

Page 6: Color as Attention

“Red” cone“Green” cone“Blue” cone

How Do We See Color?

There are three kinds of cones in our retina: S, M, and L. They see Blue, Green, and Reddish light.

Page 7: Color as Attention

EXAMPLE: THE HUMAN EYE

Page 8: Color as Attention

THE HUMAN EYE: RESPONSE

λλλ

λλλ

λλλ

λ

λ

λ

λ

λ

λ

dIb

dIg

dIr

nm

nm

nm

nm

nm

nm

)()( BLUE

)()(GREEN

)()( RED

700

400

700

400

700

400

=

=

=

=

=

=

=

=

=

b(λ) g(λ)r(λ)

λλλλ

λ

dIRnm

nm

)()( BRIGHTNESS700

400∫

=

=

=

R(λ)

Page 9: Color as Attention

Color

The human eye can see 7,000,000 colors

Yellow is the most fatiguing color (reflectance)(Babies cry more in yellow rooms)

Page 10: Color as Attention

How Color Cameras Work

• 1 CCD cameras– A Bayer pattern is

placed in front of the CCD

– A Demosaicing process reads the pixels in a region and computes color and intensity

* CCD - charge-coupled device

Page 11: Color as Attention

How Color Cameras Work• 3 CCD camera use a

beam splitter and 3 separate CCDs– higher color fidelity– needs lots of light– requires careful

alignment of ccds

Page 12: Color as Attention

Standard Linear Color Systems

• Several standards are used to define “color” based on spectral response functions – CIE (Commission International d’Eclairage)

establishes standards– CIE XYZ is a popular standard with everywhere

positive response– RGB requires a negative (subtractive) component

in R response– YIQ, YUV

Page 13: Color as Attention

RGB Color SystemRED

GREEN

BLUE

yellowmagenta

cyan

RGB

Page 14: Color as Attention

ANOTHER LINEAR SCHEME FOR REPRESENTING COLOR

YIQ (also YUV)

⎥⎥⎥

⎢⎢⎢

⎥⎥⎥

⎢⎢⎢

−−−=

⎥⎥⎥

⎢⎢⎢

B

G

R

Q

I

Y

31.52.21.

32.28.6.

11.59.3.

•Invented for color television (NTSC)•Backward compatible with B/W TV (Y val)•Y given higher bandwidth than I/Q

Page 15: Color as Attention

Dividing Up Color Space

Intensity

Hue

SaturationI = (R+G+B)/3 orL = .3 R + .6G + .1B

x= (R-G) + (R-B)/((R-G)2 + (R-B)(G-B))1/2

S = 1- 3 min(R,G,B)/I

cos-1(x) if G > B - cos-1(x) if G < BH =

HSI is a nonlinear representation of color space. Note the non-uniform treatment of color

Page 16: Color as Attention

Pixel

Binary1 bit

Grey1 byte

Color3 bytes

THE ORGANIZATION OF A 2D IMAGE

Page 17: Color as Attention

Storing Images• Non-lossy schemes

– pbm/pgm/ppm/pnm• code for file type, size, number of

bands, and maximum brightness– tif (lossless and lossy versions)– bmp– gif (grayscale)

• Lossy schemes– gif (color)– jpg

• uses Y Cb Cr color representation; subsamples the color

• Uses DCT on result• Uses the fact the human system is

less sensitive to color than spatial detail

Page 18: Color as Attention

GIF IMAGE FORMAT

• GIF (Graphics Interchange Format)– Limited to 8 bits/pixel for both color and gray-scale.

0 R0 G0 B0

1 R1 G1 B1

8-bit index

2 R2 G2 B2

254 R254 G254 B254

255 R255 G255 B255

RED GREEN BLUE

Page 19: Color as Attention

TIFF IMAGE FORMAT

• TIFF (Tagged Image File Format)– More general than GIF– Allows 24 bits/pixel– Supports 5 types of image

compression including:• RLE (Run length encoding)• LZW (Lempel-Ziv-Welch)• JPEG (Joint Photographic Experts Group)