Professional Documents
Culture Documents
Reading
• Foley van Dam. 4.1-3, 13.3-4.
• Hearn Baker (3/E). 2.1-2, 12-2.7
Further reading:
• I.E. Sutherland. Sketchpad: a man-machine graphics communication
system. Proceedings of the Spring Joint Computer Conference, p.
329-346, 1963.
• T.H. Myer & I.E. Sutherland. On the design of display processors.
Communications of the ACM 11(6): 410-414, 1968.
• Brian Wandell. Foundations of Vision. Chapter 4. Sinauer Associates,
Sunderland, MA, 1995.
• Gerald S. Wasserman. Color Vision: An Historical Introduction. John
Wiley & Sons, New York, 1978
Lecture outline:
1. Display devices (CRT, LCD, and FED)
2. Frame Buffer (Memory to Display)
3. Color Lookup Table
4. Gamma Correction
5. Color Spaces: RGB, CMY, HSV, YIQ, CIE XYZ
6. Alpha Channel and Double Buffering
DISPLAY DEVICES
Vertical Retrace
(large delay)
end
Refresh rate
Intensity on one line is like a graph
– number of pictures drawable
Intensity
in one second
x distance
How do you see a whole image ?
Phosphor light emission decays with time.
I
bright at spot,
time fading trail
Beam .. hit
Look like
483 482
Video Terminology Summary
1. Refresh Rate : 30Hz, 60Hz = # times full image is redrawn each second
2. Interlaced, Non-Interlaced :
Image drawn twice (even lines then odd lines) in one, refresh
time OR, Image drawn once in one refresh time
3. Persistence :
Short phosphor : disappears quickly allows quick moving images
Long phosphor : disappears slowly prevents flicker on 30 Hz
refresh systems
(2) LCD ( Liquid Crystal Display )
• Thinner than CRT
• Consumes less power
• Concept: It blocks light rather than emits light
• Passive matrix
• Grid of conductors
• Pixels located at the intersection of the grid
• Light is controlled by sending current
• Active matrix (TFT, thin film transistor)
• One transistor at one pixel location
• Require less current
• Faster refresh time
• Viewing angle is much smaller than CRT
(3) FED ( Field Emission Display )
• A better technology
• Flat display
• Same viewing angle as CRT
• As bright as CRT
• Actually it is a flat CRT
FED (Field Emission Display)
• Instead of one electron gun as in the case of CRT
• there are thousands of micro-electron guns
• Phosphors are used to give same brightness and
viewing angle
FED (Field Emission Display)
R G B
Additive Color Mixing
• Color tables allow more color versatility when you only have
a few bits per pixel. You get to select a small palette from a
large number of available colors.
• Each frame buffer element is now an index into the color
table, where the actual values of each channel are stored.
– Color table entries can be changed in software.
• Back to the old days when memory is limited (see color index
mode in OGL: glIndexi and glutSetColor)
8-bit Indices in Color Table
Uses of Look Up Tables (LUT)
1. Pseudo Color:
Assign computed values systematically to a gray or color spectrum to
emphasize important differences
Examples:
1. Bone in X-ray negative has pixel value > 100, change from gray to
blue above 100.
2. Coloring wind speed
can be implemented
LUT
(in frame buffer) time
01 …
Contents of LUT address 1
10 …
Bitplane 0 Bitplane 1 11 … time
• Multiply everything, 1
1 n
r
I0 I255 = 1 and n = 255
• For a level j j
n j
1 n
I j r j I 0 I 0 I 0 n
I0
• Step 3: Find V by V
k
A Good Practice
• Adjust your monitor (gamma/brightness/contrast)
until you can distinguish full range of grays
[Digital Lighting
and Rendering]
Now you should know…
It’s all about this picture:
[from GIMP]
Color space: YIQ
nonspectral color
(purple line)
More about Chromaticity
• Dominant wavelengths go around the perimeter of
the chromaticity blob.
– A color’s dominant wavelength (let the color be C1) is where
a line from white through C1 intersects the perimeter
– Some colors, called nonspectral colors, don’t have a
dominant wavelength (e.g. C2). Its complementary
dominant wavelength is taken.
• Excitation purity is measured in terms of a color’s
position on the line to its dominant wavelength.
Dominant Wavelength & Excitation Purity
=50%
A2 = Alpha Mask
[0,1]
Resultant R = R1 * ( 1 – α * A2 ) + R2 * α * A2
Double Buffering
• Q: What happens when you write to the frame buffer while it
is being displayed on the monitor?
• Double-buffering provides a solution
– Render to the back buffer and swap when rendering is done
– Double the memory
front
back
Summary: