Unit 2 Graphics Hardware
Unit 2 Graphics Hardware
Display Technology
A display is a computer output surface and projecting mechanism that shows text
and often graphics image to the computer user, using a Cathode Ray Tube (CRT),
Liquid Crystal Display (LCD), Light Emitting Diode (LED), Gas Plasma or other image
projection technology.
Display can be characterized as:
- Color capability
- Sharpness and viewability
- Size of the screen
- Projection technology
Cathode Ray Tube(CRT)
A CRT is a specialized vacuum tube in which images are produced when an electron
beam strikes a phosphorescent surface. It modulates, accelerates and deflects
electron beam onto the screen to create the images.
Most desktop computer displays make use of CRTs.
The CRT in a computer display is similar to the picture tube in a television receiver.
Cathode Ray Tube(CRT)
Basic component of CRT:
- Tube pin (connectors): A CRT typically has a set of connector pins at the back of the tube,
to control the tube. Types of tube pin are:
- Heater pins: There are two heater pins, for power connections. They power the
filament which generates the CRT’s electrons.
Cathode Ray Tube(CRT)
- Deflection pin: It is not mounted at the back of the tube. In tubes which donot include
these pins as part of the regular pinout, you should find the pins upon the neck of the
tube, mounted upon the actual yoke. There are four yoke control pins total, 2 for
horizontal positions and two for vertical position. Changing the voltage across these
pins changes the vertical or horizontal position of the electron beam on the screen.
Cathode Ray Tube(CRT)
Basic component of CRT:
- Grid pins: Control the level of voltage in CRT’s grids.
- Cathode pin: In monochrome CRT there is only one cathode pin but in colour CRT there
are three, one for each of the light’s primary color). These pins are basically used as
digital inputs rather than analog. They are turned on when that particular cathode is
meant to shine and turned off when it is not meant to. They are used in conjunction
with the deflection control pins to control what colors are placed on the screen and
where.
Cathode Ray Tube(CRT)
Basic component of CRT:
- Cathode: It is negatively charged electrode that attracts +ve charge. It produce
electron i.e. cathode is the source of electron.
- Electron: Electron is a subatomic particle whose electric charge is –ve.
Heating filament
Cathode
Cathode Ray Tube(CRT)
- Electron beam: Stream of electrons generated by heat. The electron in vacuum
can be accelerated and their orbits controlled by electric or magnetic fields. A
electron beam carry high kinetic energy.
- Anode: It is positively charged electrode that attracts –ve charge.
Heating filament
Cathode
Cathode Ray Tube(CRT)
Basic component of CRT:
- Grid: There important anodes between the heater and the rest of the CRT assembly.
These anodes are commonly called the grids.
- The first grid is the control grid, second grid is the screen grid and the third grid is
the focus grid.
Heating filament
Cathode
Cathode Ray Tube(CRT)
- Control grid control the brightness of the CRT. It is placed directly on the top of
the cathode. If there is no voltage on control grid, the electrons can flow freely
from the cathode. If there is some negative voltage, the electrons from the
cathode are repelled and the screen appears darker. The more the voltage on
control Grid, the darker the screen becomes.
Heating filament
Focusing anode
Heating filament
- PHIGS only provide a specification for basic graphics functions, it doesnot provide a
standard methology for a graphics interface to output devices.
- Computer Graphics Interface (CGI) is a standardization for device interface
methods.
- Computer Graphics Metafile (CGM) system specifies standards for archiving and
transporting pictures.
Software Standards
- PHIGS Workstations:
- The term workstation refers to a computer system with a combination of input and
output devices that is designated for a single user.
- PHIGS and GKS workstation is used to identify various combinations of graphics
hardware and software.
- A PHIGS workstation can be a single output device, a single input device, a
combination of input and output devices, a file or even a window displayed on a
video monitor.
Raster Scan Systems
- Video Controller
- A special purpose processor called video controller or display controller is used to
control the operation of the display device.
- In addition to the video controller most sophisticated raster system employ other
processors as coprocessors and accelerators to implement various graphics
operations.
Raster Scan Systems
- Video Controller
- In a raster system, 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 locations and screen positions are referenced in Cartesian
coordinates.
- In most of the graphics monitors the coordinates origin from lower left screen
corner. The screen surface is then represented at the first quadrant of 2D system
with +ve x values increasing to the right and positive y values increasing from
bottom to top.
- Scan line are labelled from ymax at the top to 0 at the bottom, each scan line screen
pixel positions are labelled from 0 to xmax.
Raster Scan Systems
- Video Controller
- In video controller, two registers (x register and y register) are used to store the
coordinates of the screen pixels where initially, x register is set to 0 and y register is
set to ymax.
- The value stored in the frame buffer for this pixel position is then retrieved and
used to set the intensity of the CRT beam. Then the x-register is incremented by 1
and the process repeated for the next pixel position on the top of the scan line.
Raster Scan Systems
- Video Controller
- After the last pixel on the top of the scan line has been processed, the x-register is
reset to 0 and the register y is decremented by 1. After cycling through all pixels
along last scan line (y=0) the video controller resets the registers to the first pixel
position on the top scan line and the refresh process start over.
- To speed up the pixel processing, video controller can retrieve multiple pixel values
from the refresh buffer on each pass and multiple intensities values are stored in
separate register and used to control the CRT beam intensity for a group of
adjacent pixels. When that group of pixels has been processed the next block of
pixel values is retrieved from the frame buffer.
Raster Scan Systems
- Video Controller
- In high quality systems, two buffers are often used, one for refreshing and other to
fill the intensity values where the two buffers can switch the roles.
- This is used to provide fast mechanism for generating real-time animations, since
different views of moving objects can be successively loaded into the refresh buffer
and also some transformations can be accomplished by the video controller.
Raster Scan Systems
- Raster Scan Display Processor:
- It is also referred to as graphics controller or display coprocessor. It’s main task is to
free the CPU from the graphics routine rasks.
- It’s major task is to digitizing a picture definition given in an application program
into a set of pixel intensity values for storage in the frame buffer. The digitization
process is called scan conversion.
- It can also be used for generating various lines sytles (dashed, dotted, solid),
displaying color areas and performing certain transformations and manipulations
on displayed objects. As well as to interface with interactive input devices such as
a mouse.
Raster Scan Systems
- Raster Scan Display Processor:
- There are three common methods for storing raster data:
- Cell encoding
- Run-length encoding
- Quad tree
Raster Scan Systems
- Raster Scan Display Processor:
- To reduce the memory requirements in raster system, frame buffer has been
organized in linked list and encoding the intensity information. For this, one way is
to store each scan line as a set of integer pairs, where one number repesents the
intensity value and the second number represents the number of adjacent pixels
on the scan line that are to have that intensity. This method is called run length
encoding. This method help to save the storage space if a picture is to be
constructed with long runs of a single color each.
- Another method is cell encoding which encode the raster as a set of rectangular
areas i.e. raster is stored as a matrix and its cell values are written into a file by row
and column.
- The disadvantages of encoding runs are :
- Intensity changes are difficult to make and storage requirements actually
increase as the length of the runs decreases.
- It is difficult for display controller to process the raster when many short runs
are involved.
Random Scan Systems
- In this system, an application program is input and stored in the system memory along
with a graphics package. Graphics commands in the application program are translated
by the graphics package into a display file stored in the system memory.
- This display file is then accessed by the display processor to refresh the screen.
- The display processor cycles through each command in the display file program once
during every refresh cycle.
- Graphics patterns drawn on this system by directing electron bema along the
component lines of the pictures.
- Lines are defined by the values of their coordinate endpoints and these input
coordinate values are converted to x and y deflection voltage.
- A scene is then drawn one line at a time by positioning the beam to fill in the line
between specified endpoints.