Beruflich Dokumente
Kultur Dokumente
Computer graphics
Image clarity
Memory
required
Clarity of
image in MP
2560 X 1920
4.91 X 10 ^ 6
5 MP
2048 X 1536
3.145 X 10 ^ 6
3.2 MP
1600 X 1200
1.92 X 10 ^ 6
2 MP
1280 X 960
1.228 X 10 ^ 6
1.3 MP
640 X 480
0.307 X 10 ^ 6
0.3 MP
Image formats
Print resolution
Output devices
CRT
Flat CRT
Plasma display
Liquid color display
Electrostatic plotters
Ink jet plotters
Thermal plotters
Dye sublimation printers
Pen & ink plotters
Laser printers
Tablets
Touch panels
Joysticks
Trackball
Mouse
Light pen
Keyboard
Space ball
DAC
Electron gun
1
0
0
0 0 1
2^3 DAC
Electron gun
1
0
0
DAC
blue
0
0
DAC
green
DAC
red
GREEN
BLUE
Black
Red
Green
Blue
Yellow
Cyan
Magenta
White
0 0 0 0 1 0 1 0
RED 10
2D Graphics Pipeline
Clipping
Object
World Coordinates
Applying
world window
Object
subset
window to
viewport
mapping
Display
Rasterization
Object
Screen coordinates
Rasterization Operations
8
7
6
5
4
3
2
1
0 1 2 3 4 5 6 7 8 9 10 11 12
Which intermediate
pixels to turn on?
y = mx + b
Given two end points (x0,y0), (x1, y1), how to compute m
and b?
dy y1 y0
m
dx x1 x0
(x1,y1)
dy
(x0,y0)
dx
b y 0 m * x0
By Ay 96 41 55
m
0.5392
Bx Ax 125 23 102
(x1,y1)
dy
(x0,y0)
dx
y k 1 y k m
(x1,y1)
y = y0
y = y0 + 1 * m
y=y+1*m
(x0, y0)
Until x == x1
x k 1
1
xk
m
x = x0
(x1,y1)
y = y0
x = x0 + 1 * 1/m
x = x + 1 /m
(x0,y0)
Until y == y1
m<1
m>1