Line Drawing Displays: Computer Graphics (CST-323)
Line Drawing Displays: Computer Graphics (CST-323)
Outline
• Display Devices & Controllers
• CRT
• Inherent Memory Devices
• Storage Tube Display
• Refresh Line Drawing Displays
• The purpose of the display device is to convert electrical signals into visible
images.
• The display controller sits between computer and display devices, receiving
information from computers and converting it into signals acceptable to
device. Task done by display controllers includes voltage level conversions
between computer and display devices, buffering to compensate for
differences in speed of operation and generation of lines segments and text
characters.
• Display controller thus has the overall task of compensating for any features
or limitations that the display device may possess so as to provide the
computer and its programmer with a reasonably straight forward interface to
the device.
Raster Display
Peripheral
CPU
Devices
System bus
System
Display Processor
Memory
Video Display
Display Frame
Controller Processor
Buffer
Memory
• In addition to the central processing unit (CPU), a special processor, called the
video controller or display controller, is used to control the operation of the
display device.
• A fixed area of the system memory is reserved for the frame buffer, and the
video controller is given direct access to the frame buffer memory.
• Frame buffer location, and the corresponding screen positions, are referenced in Cartesian
coordinates. Scan lines are then labeled from ymax at the top of the screen to 0 at the bottom.
Along each scan line, screen pixel positions are labeled from 0 to xmax. Two registers are used to
store the coordinates of the screen pixels.
Raster Scan Generator
x Register y Register
Memory Address
Frame Buffers
Video Controller
Display Processor
• In a raster scan system, the electron beam is swept across the screen, one
row at a time from top to bottom.
• As the electron beam moves across each row, the beam intensity is turned
on and off to create a pattern of illuminated spots.
• Stored intensity values then retrieved from refresh buffer and “painted”
on the screen one row (scan line) at a time.
• Intensity range for pixel positions depends on the capability of the raster
system.
• A black-and-white system: each screen point is either on or off, so only
one bit per pixel is needed to control the intensity of screen positions.
• On a black-and-white system with one bit per pixel, the frame buffer is
called bitmap.
• For system with multiple bits per pixel, the frame buffer is called pixmap.
• Sometimes, refresh rates are described in unit of cycles per second, or Hertz
(HZ). Refreshing on raster scan displays is carried out at the rate 60 to 80
frame per second.
• Horizontal retrace: The return to the left of the screen, after refreshing each
scan line.
• Vertical retrace: At the end of each frame (displayed in 1/80th to 1/60th of a
second) the electron beam returns to the top left corner of the screen to begin
the next frame
Interlacing
• On some raster systems (TV), each frame is displays in two passes using
an interlaced refresh procedure.
• On an older, 30 frame per-second, non interlaced display, some flicker is
noticeable.
• With interlacing, each of the two passes can be accomplished in 1/60th of a
second.
Raster image
Vector Display
• Random scan displays are designed to draw all the component lines of a
picture 30 to 60 times each second.
• Random scan displays are designed for line-drawing applications and
can not display realistic shaded scenes.
Raster
Vector display
• Accurate (high resolution) for line drawings
• Requires display processor (controller) to interpret display commands
• High-cost
• Flickering when the number of primitives in the buffer becomes too large
Raster display
• Low-cost
• Requires frame buffer
• Fresh rate is independent of complexity of the display contents
• Easy to fill a region
• Line or polygon must be scan-converted into the component pixels in the
frame buffer, which is computationally expensive.
• Less accurate: lines are approximated with pixels on the raster grid.
This visual effect (I.e., jaggies or stair-casing) due to a sampling error is called “aliasing”
Display Devices
Display Devices
• Emissive display -- convert electrical energy into light
- Cathode ray tube (CRT)
- Flat panel CRT
- Plasma panels (gas-discharge display)
- Thin-film electroluminescent (EL) display
- Light-emitting diodes
CRT
1. Electron Guns
2. Electron Beams
3. Focusing Coils
4. Deflection Coils
5. Anode Connection
6. Shadow Mask
7. Phosphor layer
8. Close-up of the
phosphor coated inner
side of the screen
Refresh CRT
• Refresh CRT: One way to keep the phosphor glowing is to redraw the
picture repeatedly by quickly directing the electron beam back over the same
points.
• A cathode ray tube (CRT) contains four basic parts:
• Electron gun,
• Focusing and accelerating systems,
• Deflecting systems
• Evacuated glass envelope with a phosphorescent screen that glows visibly when
struck by the electron beam.
Electron Gun
• An accelerating anode .
Electron Gun
Focusing System
• The focusing system is needed to force the electron beam to converge into a
small spot as it strikes the phosphor.
• Electrostatic focusing is commonly used in computer graphics monitor.
• With electrostatic focusing, the electron beam passes through a positively
charged metal cylinder that forms an electrostatic lens.
Focusing System
• Similar lens focusing effects can be accomplished with a magnetic field set
up by a coil mounted around the outside of the CRT envelope.
• The distance that the electron beam must travel to different points on the
screen varies because the radius of curvature for most CRTs is greater than
the distance from the focusing system to the screen center.
• The electron beam will be focused properly only at the center of the screen.
• As the beam moves to the outer edges of the screen, displayed images
become blurred.
• Dynamically focusing lens work based on beam position.
Deflection Systems
• Deflection of the electron beam can be controlled either with electric
fields or with magnetic fields.
• The magnetic deflection coils mounted on the outside of the CRT
envelope.
• Two pairs of coils are used, with the coils in each pair mounted on
opposite sides of the neck of the CRT envelope.
Deflection Systems
• One pair is mounted on the top and bottom of the neck, and the other pair is
mounted on opposite sides of the neck.
• Horizontal deflection is accomplished with one pair of coils, and vertical
deflection by the other pairs.The proper deflection amounts are attained by
adjusting the current through the coil.
• Electrostatic deflection: Two pairs of parallel plates are mounted inside the CRT
envelope.One pair of plates is mounted horizontally to control the vertical deflection,
and the other pair is mounted vertically to control horizontal deflection.
Spots of Light
• Spots of lights are produced on the screen by the transfer of the CRT beam
energy to the phosphor.
• Part of the beam energy is converted into heat energy.
• The excited phosphor electrons begin dropping back to their stable ground
state, giving up their extra energy as small quantum of light energy.
• Persistence :The time it takes the emitted light from the screen to decay to
one-tenth of its original intensity.
• The intensity is greatest at the center of the spot, and decrease with Gaussian
distribution out to the edges of the spot.
Aspect Ratio: This numbers gives the ratio of vertical points to horizontal
points necessary to produce equal length lines in both directions on the
screen.
Color Models
Gray axis
CMY (short for Cyan, Magenta, Yellow, and key) is a subtractive color model.
Bit Plane
• The block of memory which stores (or is mapped with) intensity values for
each pixel (B& W image) is called a bit plane or bitmap.
• Color or gray levels can be achieved in the display using additional bit
planes.
• The result for n bits per pixel (color depth=n) is a collection of n bit planes
(2n colors or gray shades at every pixel)
True Color
• For true Color three bytes of information are used, one for each of the
red, blue and green signals that make a pixel.
• A byte can hold 256 different values and so 256 intensities setting are
possible for each electron gun which mean each primary color can have
256 intensities (256*256* 256 color possible)
High Color
• For high Color two bytes of information are used, to store the intensity
values for all three color. This is done by dividing 16 bits into 5 bits for
blue, 5 bits for red and 6 bits for green. This means 32(=25) intensities for
blue, 32 (=25) for red, and 64 (=26) for green.
• Loss of visible image quality.
• The PC uses only 8 bits, 2 bits for blue and 3 each for green and red.
Color Palette
CRT
Shadow Mask
Electron Guns
Red Input
Green
Input
Blue Input
Deflection
Yoke Red, Blue,
and Green
Phosphor Dots
• Methods
Beam Penetration
Shadow Mask
• Two layers of phosphor (red and green) are coated onto the inside of the
CRT screen.
• The display color depends on haw far the electron beam penetrates into
the phosphor layers.
• The speed of the electrons, and the screen color at any point, is controlled
by the beam acceleration voltage.
• The beam penetration method:
• Used with random scan monitors
• Only four colors are possible (red, green, orange, and yellow).
• High quality raster graphics system have 24 bits per pixel in the frame
buffer (a full color system or a true color system)
• A class of video devices that have reduce volume and weight compared to
a CRT.
• A significant feature of flat panel displays is that they are thinner than
CRTs.
Current uses for flat panel displays:
• Small TV monitors
• Calculators
• Pocket video games
• Laptop computers
• Advertisement boars in elevators
Non-Emissive
(or Non-Emitters) Displays
• Use optical effects to convert sunlight or light from some other source
into graphics pattern.
Flat CRT
Flat CRT
• Electron beams are accelerated parallel to the screen, then deflected 90º to
the screen.
Plasma Panel
• A neon bulb is the simplest gas discharge display. Two electrodes are scaled
in a glass bulb filled with a mixture of neon and argon gas. When high
enough voltage is applied (typically 100 to 200 V), an electrical discharge
begins in the gas. Free electrons acquire high kinetic energies from the
electric field. When they collide with gas atoms they transfer this energy to
the atoms, thereby exciting them into energy levels above the ground state.
The atoms may then lose energy radioactively and return to the ground state.
Then the gas emits orange-red light. The ionized gas is called plasma and gas
displays are therefore often called plasma displays.
Plasma Panel
• The region between the glass plates is filled with a phosphor, such as zinc
sulfide doped with manganese. When sufficiently large ac voltage
(typically 150 to 200 V) is applied between the front and rear electrodes,
the material between them emits light.
• The advantages of electroluminescent displays include very thin and
rugged constructions, very high brightness, high resolution, wide operating
temperature range, and moderate power consumption.
LED displays
• In the most common type of LCD cell based on twisted nematic field effect,
two sheets of glass form the main structure. Between the sheets of glass there
is a very thin layer of liquid crystal material. The inner surface of each piece
of glass is coated with a transparent, conductive layer of metal oxide. The
sandwich is completed with a polarizer on the outside of each piece of glass
and a reflector on the back of the display.
On State
Off State
• LCDs also have their disadvantages. They cannot be seen in the sunlight,
have a limited viewing angle and a limited temperature range.
Advantages
• A DVST monitor has both disadvantages and advantages compared to the
refresh CRT.
• Because no refreshing is needed, very complex pictures can be displayed at
very high resolutions without flicker.
• Provides flicker-free display
• No refreshing necessary
Drawbacks
• Modifying any part of the image requires redrawing the entire modified image
• Change in the image requires to generate a new charge distribution in the DVST
• Slow process of drawing – typically a few seconds are necessary for a complex
picture
• To eliminate a picture section, the entire screen must be erased and the modified
picture redrawn. The erasing and redrawing process can take several seconds for
a complex picture.
• No animation possible with DVST
• For these reasons, storage displays have been largely replaced by raster systems.
• Storage tubes are a class of cathode-ray tubes (CRTs) that are designed to
hold an image for a long period of time, typically as long as power is
supplied to the tube. Storage tubes were used as a specialist display
mechanism during the 1950s and had a major rebirth during the 1960s and
70s for use in computer graphics. A specialized type, the Williams tube, was
also used as a main memory system on a number of early computers, from
the late 1940s into the early 1950s. Today they are obsolete, their functions
provided by low-cost memory devices and LC displays.
• Storage tubes could be divided into two categories. In the more common
category, they were only capable of storing "binary" images; any given point
on the screen was either illuminated or dark.
• The Tektronix Direct-View Bistable Storage Tube was perhaps the most
famous example in this category. Other storage tubes were able to store
greyscale images; the tradeoff was usually a much-reduced storage time.
The Tektronix 401x series was a family of text and graphics computer terminals based on
the storage tube technology. The 4000 series were less expensive than earlier graphics
terminals, such as the IBM 2250 because no additional electronics were needed to maintain
the display on the screen (beyond providing proper voltages to it). They were widely used in
the CAD market in the 1970s and early 1980s. There were several members of the family
introduced through the 1970s, the best known being the 4010 and 4014. They remained
popular until the introduction of inexpensive graphics workstations in the 1980s. The new
graphics workstations used raster displays and dedicated screen buffers that became more
affordable as solid state memory chips became cheaper.
Memory Data
Instruction Register X Register
Path
Opcode DATA
Y Register
Control
CPU
Control
Path
∆X Register
Vector Deflection
Generator System
∆Y Register
Brightness
Register
• Refresh Line Drawing display was one of the earliest types of display to be
widely used in interactive graphics.
• It consists of CRT & Display processor i.e. a controller capable of maintaining
the refresh cycle more or less unaided by the computer.
• The display processor reads instructions from memory into an instruction
register where they are decoded. Instructions may represent line generation
commands or commands to reset the address of the next instruction. According
to the type of instruction, the data content of the instruction register is copied
into one of several other registers that directly control the CRT or the
instruction address.
• Display controller converts the computer’s output signals into deflection
voltages for the yoke of the CRT.