CIT 2211 - Lecture 2 - Graphics Hardware
CIT 2211 - Lecture 2 - Graphics Hardware
Raster: A rectangular
array of points or dots.
Pixel (Pel): One dot or
picture element of the
raster
Scan line: A row of Video raster devices display an
image by sequentially drawing
pixels out the pixels of the scan lines
that form the raster.
Frame Buffer
A frame buffer is
characterized by its size, x, y,
and pixel depth.
the resolution of a frame
buffer is the number of pixels
in the display. e.g. 1024x1024
pixels.
Bit Planes or Bit Depth is the Bilevel or monochrome displays have 1
bit/pixel (128Kbytes of RAM)
number of bits corresponding 8bits/pixel -> 256 simultaneous colors
to each pixel. This determines 24bits/pixel -> 16 million simultaneous
the color resolution of the colors
buffer.
Output Technology
Calligraphic Displays
also called vector, stroke or line drawing graphics
lines drawn directly on phosphor
display processor directs electron beam according to
list of lines defined in a "display list“
phosphors glow for only a few micro-seconds so lines
must be redrawn or refreshed constantly
deflection speed limits number of lines that can be
drawn without flicker.
Output Technology (2/3)
Raster Display
Display primitives (lines, shaded regions,
characters) stored as pixels in refresh buffer
(or frame buffer)
Electron beam scans a regular pattern of
horizontal raster lines connected by horizontal
retraces and vertical retrace
Video controller coordinates the repeated
scanning
Pixels are individual dots on a raster line
Display Technology
2D Displays 3D Displays
CRT Stereo presentation
LCD (raster) (raster/vector)
plasma screen (raster) Vibrating mirror (vector)
Light valves (raster) Helical rotor (vector)
Micromirror (raster) LED plate (raster)
Projected laser (vector) Photoactive cube
Direct laser (vector) (raster)
Parabolic mirror (raster)
Display Technologies: Cathode Ray
tube
Display Technologies
Cathode Ray Tubes (CRTs)
Some of the common display device today
Evacuated glass bottle (last of the vacuum tubes)
Heating element (filament)
Electrons pulled towards anode focusing cylinder
Vertical and horizontal deflection plates
Beam strikes phosphor coating on front of tube
Display Technologies: CRTs
Vector Displays
First computer displays: basically an
oscilloscope
Control X,Y with vertical/horizontal plate
voltage
Often used intensity as Z
Disadvantage
Display needs constant update to avoid fading
Display Technologies: CRTs
Raster Displays
Black and white television: an oscilloscope with a fixed scan
pattern: left to right, top to bottom
Paint entire screen 30 times/sec
Actually, TVs paint top-to-bottom 60 times/sec, alternating
between even and odd scanlines
This is called interlacing.
To paint the screen, computer needs to synchronize with the
scanning pattern of raster
Solution: special memory to buffer image with scan-out
synchronous to the raster. We call this the framebuffer.
Comparing Raster and Vector
Advantages of vector:
very fine detail of line drawings (sometimes curves),
whereas raster suffers from jagged edge problem
due to pixels.
geometry objects (lines) whereas raster only handles
pixels
eg. 1000 line plot: vector dispaly computes 2000
endpoints
raster display computes all pixels on each line
Comparing Raster and Vector
Advantages of raster:
cheaper
colours, textures, realism
unlimited complexity of picture: whatever you
put in refresh buffer, whereas vector complexity
limited by refresh rate
Display Technology: Color CRTs
Color CRTs are much more complicated
Requires manufacturing very precise geometry
Uses a pattern of color phosphors on the screen:
Resolution
Multiple video Resolutions.
Response Time
Faster response time. Critical to people who watch
best)
Viewing Angle
Smaller, needed to be viewed more directly from the
front.
From the side the images on an LCD screen can seem
order to work .
Problem: is that this plug is not available on most
Printers
Non-Impact printers --- Ink jet; laser;
Xerographic;
Electrostatic;
Dye sublimation.
Plotters
Flatbed, Beltbed
Multiple pens available
Plotter `languages’
Built in character sets, line styles etc.
Pixels and Frames
Images are created on television and computer
displays by combining thousands of little dots
(pixels) on the screen.
Each set of pixels that fills the entire screen is called
a frame.
Many individual still frames are shown every second,
so quickly that they blend together and we see
continuous motion.
The number of different frames that are shown on
the screen every second relates to the refresh rate
Pixels and Frames
Each pixel in a color display is made up of three
colors: red, green and blue.
Red, green and blue light combines in varying
intensities to allow each pixel to display all the colors
of the rainbow and thousands or millions of shades
in between.
The number of shades of colors your computer can
display relates to the bit depth.
Each frame is drawn one pixel at a time, line by line,
from left to right, top to bottom, just as you would
type a paper
Resolution
The number of pixels on a screen relates to
display's resolution.
The more pixels there are on a screen, the
more detail can be seen in an image on the
screen. Higher resolution means smaller
pixels.
If you have a High-Definition Television,
or HDTV, then the display has a higher-
resolution than a standard television.
Computer Display Resolution
Computer Display Resolution vs. Pixel Size
ii) How much storage (in bytes) is required for each system if 24 bits
per pixel are to be stored?
Similarly, each of the above results is just doubled for 24 (12×2)
of 640 x 480 pixels, the access rate of such a system is (640 x 480) * 60 =
1.8432 x 107 pixels/second.
Likewise, for the 1280 x 1024 system, the access rate is (1280 x 1024) *
nanoseconds/pixel for the 640 x 480 system, and the access time is
around 12.7 nanoseconds/pixel for the 1280×1024 system.