c o l o r

33
COLOR Angel 1.4 and 2.4 J. Lindblad 2001-11-

Upload: vivian

Post on 30-Jan-2016

25 views

Category:

Documents


0 download

DESCRIPTION

C O L O R. Angel 1.4 and 2.4. J. Lindblad 2001-11-01. Elements of color. Color = The eye’s and the brain’s impression of electromagnetic radiation in the visual spectra. How is color perceived?. detector. rods & c o n e s. light source. red -sensitive green -sensitive blue -sensitive. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: C O L O R

COLORAngel 1.4 and 2.4

J. Lindblad 2001-11-01

Page 2: C O L O R

Elements of color

Page 3: C O L O R

Color = The eye’s and the brain’s impression of electromagnetic radiation in the visual spectra.

How is color perceived?

light source

reflecting object

detector

s( )r( )

r

g

b

( )

( )

( )

rodsrods & cones

red-sensitive

green-sensitive

blue-sensitive

Page 4: C O L O R

Visible spectrum

Page 5: C O L O R
Page 6: C O L O R

The Fovea

There are three types of cones, S, M and L

Page 7: C O L O R

RodsSense luminance, or ”brightness”, but not color.Are spread out across the whole retina, and dominate when the pupil is large, i.e. night vision. Less color is seen at night. The respons is not linear, but logarithmic.The appearance of an object’s intensity depends on the surroundings; the sensation is relativ and not absolute.

Page 8: C O L O R

Three kinds of conesr

g

b

( )

( )

( )

red-sensitive

green-sensitive

blue-sensitive

wavelength

r=700nmg=546.1nm

b=435.8nm

In order to standardize the description of color, a large number of people were instructed to say what combination of basic colors a certain color sample consisted of in standard lighting. This resulted in the color matching curves, i.e. transform

r g b( ), ( ), ( ) x y z( ), ( ), ( )

CIE standard(Comission Internationale de L’Eclairage, 1931)

Page 9: C O L O R

Color perception•Different spectra can result in identical sensations, called metamers•Color perception results from the simultaneous stimulation of 3 cone types (trichromat)•Our perception of color is affected by surrounding effects and adaptation

Page 10: C O L O R

standard lightsource

object reflectance

CIE 1931 standard observer

CIE XYZ values

400nm 700nm 400nm 700nm 400nm 700nm

xy

z

xx =X=14.27Y=14.31Z=71.52

s( ) r( )

Each color is represented by a point (X,Y,Z) in the 3D CIE color space. The point is called the tristimulus value.

X s r x d

Y s r y d

Z s r z d

( ) ( ) ( )

( ) ( ) ( )

( ) ( ) ( )

Page 11: C O L O R

Projection of the CIE XYZ-space

Perceptual equal distances

Page 12: C O L O R

RGB/CMY color space

RGB - for additive color mixing, e.g. computer screen.CMY - for subtractive color mixing, e.g. printing or painting.

Page 13: C O L O R

Additive Subtractive

R G B C M Y (K)

Mixing light and mixing pigment

Page 14: C O L O R

Mixing light and mixing pigment

green

blue

red

yellow

cyan

magenta

green

blue

red

yellow

cyan

magenta

CMY

RGB

= 1- [][] R+B+G=white (additive) R+G=Y

C+M+Y=black (subtractive) C+M=B etc...

(CMYK common in printing, where K is black pigment)

Page 15: C O L O R

RGB within CIE XYZ-space

Page 16: C O L O R

HLS color spaceHueLightnesSaturation

Hue=dominant wavelength, toneLightness=intensity, brightnessSaturation=purity, dilution by white

Important aspects:•Intensity decoupled from color•Related to how humans perceive color

Page 17: C O L O R

YIQ color space

Y= Lightness I= Inphase = ammount red-greenQ= Quadrature = ammount blue-yellow

• Optimised for transmission (TV broadcast).

• Compatible with BW monitors (use only Y component)

• Human eye is more sensitive to variations in lightness than variations in hue and saturation and more bandwith (bits) is used for Y.

Page 18: C O L O R

NCS color description

NCS=Natural Color SystemA psychological more than a physiological description of color.Common among artists, designers etc.

w

b

c

2060-R50B=20% white60% blackred with 50% blue20

60

40

Page 19: C O L O R

Color is relative

Page 20: C O L O R

gröngrön lilalila gulgul blåblå svartsvart

hjärnan är lättlurad

Page 21: C O L O R

Non-existing colors(without use of psychadelic drugs)

Page 22: C O L O R

Blind spot; look at left cross with your right eye

Page 23: C O L O R
Page 24: C O L O R

Colour context

Page 25: C O L O R

Shape context

Page 26: C O L O R

Chromaticadaption

Page 27: C O L O R

Mach bands

Page 28: C O L O R

Gamma correctionMost displays have non-linear intensity scales. The most common correction method is called gamma correction (usually implemeted with a lookup table)

Sometimes in computer graphics this effect is exaggerated to compensate for the adaptation of the eye.

Page 29: C O L O R

True-color frame buffer

Store R,G,B values directly in the frame-buffer.

Each pixel requires at least 3 bytes => 2^24 colors.

Page 30: C O L O R

Indexed-color frame buffer

Store index into a color map in the frame-buffer.

Each pixel requires at least 1 bytes => 2^8 simultaneous colors.

Enables color-map animations.

Page 31: C O L O R

Different blending versions(how to combine color values)

Page 32: C O L O R

Additive blending

C=A+B

e.g. combining light

Subtractive blending

C=A-(1-B)

e.g. filter effect

Page 33: C O L O R

Average blending

C=(A+B)/2 or C=uA+vB

e.g. for anti-aliasing

Multiplicative blending

C=A*B

e.g. combining light and matter