Download - C O L O R
![Page 1: C O L O R](https://reader033.vdocument.in/reader033/viewer/2022051623/5681580f550346895dc57c94/html5/thumbnails/1.jpg)
COLORAngel 1.4 and 2.4
J. Lindblad 2001-11-01
![Page 2: C O L O R](https://reader033.vdocument.in/reader033/viewer/2022051623/5681580f550346895dc57c94/html5/thumbnails/2.jpg)
Elements of color
![Page 3: C O L O R](https://reader033.vdocument.in/reader033/viewer/2022051623/5681580f550346895dc57c94/html5/thumbnails/3.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022051623/5681580f550346895dc57c94/html5/thumbnails/4.jpg)
Visible spectrum
![Page 5: C O L O R](https://reader033.vdocument.in/reader033/viewer/2022051623/5681580f550346895dc57c94/html5/thumbnails/5.jpg)
![Page 6: C O L O R](https://reader033.vdocument.in/reader033/viewer/2022051623/5681580f550346895dc57c94/html5/thumbnails/6.jpg)
The Fovea
There are three types of cones, S, M and L
![Page 7: C O L O R](https://reader033.vdocument.in/reader033/viewer/2022051623/5681580f550346895dc57c94/html5/thumbnails/7.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022051623/5681580f550346895dc57c94/html5/thumbnails/8.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022051623/5681580f550346895dc57c94/html5/thumbnails/9.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022051623/5681580f550346895dc57c94/html5/thumbnails/10.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022051623/5681580f550346895dc57c94/html5/thumbnails/11.jpg)
Projection of the CIE XYZ-space
Perceptual equal distances
![Page 12: C O L O R](https://reader033.vdocument.in/reader033/viewer/2022051623/5681580f550346895dc57c94/html5/thumbnails/12.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022051623/5681580f550346895dc57c94/html5/thumbnails/13.jpg)
Additive Subtractive
R G B C M Y (K)
Mixing light and mixing pigment
![Page 14: C O L O R](https://reader033.vdocument.in/reader033/viewer/2022051623/5681580f550346895dc57c94/html5/thumbnails/14.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022051623/5681580f550346895dc57c94/html5/thumbnails/15.jpg)
RGB within CIE XYZ-space
![Page 16: C O L O R](https://reader033.vdocument.in/reader033/viewer/2022051623/5681580f550346895dc57c94/html5/thumbnails/16.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022051623/5681580f550346895dc57c94/html5/thumbnails/17.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022051623/5681580f550346895dc57c94/html5/thumbnails/18.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022051623/5681580f550346895dc57c94/html5/thumbnails/19.jpg)
Color is relative
![Page 20: C O L O R](https://reader033.vdocument.in/reader033/viewer/2022051623/5681580f550346895dc57c94/html5/thumbnails/20.jpg)
gröngrön lilalila gulgul blåblå svartsvart
hjärnan är lättlurad
![Page 21: C O L O R](https://reader033.vdocument.in/reader033/viewer/2022051623/5681580f550346895dc57c94/html5/thumbnails/21.jpg)
Non-existing colors(without use of psychadelic drugs)
![Page 22: C O L O R](https://reader033.vdocument.in/reader033/viewer/2022051623/5681580f550346895dc57c94/html5/thumbnails/22.jpg)
Blind spot; look at left cross with your right eye
![Page 23: C O L O R](https://reader033.vdocument.in/reader033/viewer/2022051623/5681580f550346895dc57c94/html5/thumbnails/23.jpg)
![Page 24: C O L O R](https://reader033.vdocument.in/reader033/viewer/2022051623/5681580f550346895dc57c94/html5/thumbnails/24.jpg)
Colour context
![Page 25: C O L O R](https://reader033.vdocument.in/reader033/viewer/2022051623/5681580f550346895dc57c94/html5/thumbnails/25.jpg)
Shape context
![Page 26: C O L O R](https://reader033.vdocument.in/reader033/viewer/2022051623/5681580f550346895dc57c94/html5/thumbnails/26.jpg)
Chromaticadaption
![Page 27: C O L O R](https://reader033.vdocument.in/reader033/viewer/2022051623/5681580f550346895dc57c94/html5/thumbnails/27.jpg)
Mach bands
![Page 28: C O L O R](https://reader033.vdocument.in/reader033/viewer/2022051623/5681580f550346895dc57c94/html5/thumbnails/28.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022051623/5681580f550346895dc57c94/html5/thumbnails/29.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022051623/5681580f550346895dc57c94/html5/thumbnails/30.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022051623/5681580f550346895dc57c94/html5/thumbnails/31.jpg)
Different blending versions(how to combine color values)
![Page 32: C O L O R](https://reader033.vdocument.in/reader033/viewer/2022051623/5681580f550346895dc57c94/html5/thumbnails/32.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022051623/5681580f550346895dc57c94/html5/thumbnails/33.jpg)
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