HW SW
HW SW
graphics
Hardware Components:
monitors, mouse and joy-sticker, and hard-copy
devices, e.g. high-resolution color printer
Touch Panels
The touch panel allows the user to point at the screen directly with a
finger to move the cursor around the screen or to select the icons.
i. Optical Touch Panel
Light pen
It is a pencil shaped device to determine the coordinates of a point on the
screen where it is activated such as pressing the button .
In raster display ‘y’ is set at ymax and ‘x’ changes from 0 to xmax the first scan
line .
For the second line ‘y’ decreases by one and ‘x’ again changes from 0 to x max
and so on
When activated light pen sees a burst of light at certain position as the
electron beam hits the phosphor coating at that position it generates an
electric pulse
DISADVANTAGES:
1. Poor resolution of up to 60 d.p.i.
2. It requires complex addressing and wiring.
3. It is costlier than CRT.
Hard Copy Devices
Printers
Printed output is referred to as hard copy and do not
require electric power as they are printed on papers to
read after printing and provide permanent readable
form information
According to how they print printers can be of different
types:
Character printers prints one character of a text at a
time
Line printer prints one line of the text at a time
A page printer prints one page of the text a t a time
Computer Graphics, Nepal College of
31
Information Technology, 2009
According to the technology used printers produce
output by either impact or non impact methods
Impact printers
Impact printers press the formed character faces against
an inked ribbon onto paper
Individual characters or graphics patterns are obtained
by retracting certain pins so that the remaining pins
form the pattern to be printed.
Non-Impact Printers
Non impact printers use laser techniques, ink-jet sprays
etc to get images onto paper.
Computer Graphics, Nepal College of
32
Information Technology, 2009
Ink-jet Devices
Persistence
A phosphor’s persistence is defined as the time from the removal of
excitation to the moment when phosphorescence has decay to 10 percent of
the initial light output
The range of persistence of different phosphors can reach many seconds
The phosphors used for graphics display devices usually have persistence of
10 to 60 micro seconds
A phosphor with low persistence is useful for animation and a high
persistence phosphor is useful to highly complex static pictures
Resolution
Resolution is defined as the maximum number of points that can be
displayed horizontally and vertically with out overlap on a display device
Factors affecting the resolution are as follows
i. Spot profile:
The spot intensity has a Gaussian distribution. So two adjacent
spots on the display device appear distinct as long as their
separation D2 is greater than the diameter of the spot D1 at which each
spot has an intensity of about 60 percent of that at the center of the
spot
Intensity 60%
D1
D2
ii.Intensity:
As the intensity of the electron beam increases the spot size on the
display tends to increase because of spreading of energy beyond the point of
bombardment
This phenomenon is called blooming Consequently , the resolution decreases.
Thus it is noted that resolution is no necessarily a constant and it is not
necessarily equal to the resolution of a pix-map, which is allocated in a buffer
memory
Color CRTs
Color depends on the light emitted by phosphor.
Two type:
Beam Penetration Method
Shadow Mask Method
CPU Peripheral
Devices
System Bus
.
. Display
MoveTo(10,10) List ->
LineTo(639,479)
.
.
.
Disadvantages:
i. A vector display can not fill areas with patterns and manipulate bits
ii. Time required for refreshing an image depends upon its complexity
(more the lines, longer the time) the flicker may therefore appear as the
complexity of the image increases. The fastest vector display can draw
about 100000 short vectors in a refresh cycle without flickering
CPU Peripheral
Devices
System Bus
0000000000
0100000000
0010000000 Frame Buffer ->
0001000000
0000100000
0000000000 0 Screen
0100000000 Electron
0010000000 Gun
0001000000
0000100000
Frame Buffer
0000000001 1 Screen
0100000000 Electron
0010000000 Gun
0001000000
0000100000
Frame Buffer
0000000001 1
0100000000 r Screen
0 00 10 00 00 00 00 00 00 00 1 1
0 00 01 10 00 00 00 00 00 00 0
0000000000
0 00 00 01 10 00 00 00 00 00 0 0 Electron
0 00 01 10 00 00 00 00 00 00 0
0 00 00 01 10 00 00 00 00 00 0 Guns
0001000000
0000100000
Frame Buffer
0000000001 1
0100000000 r Screen
0 00 10 00 00 00 00 00 00 00 1 1
0 00 01 10 00 00 00 00 00 00 0
0000000001
0 00 00 01 10 00 00 00 00 00 0 1 Electron
0 00 01 10 00 00 00 00 00 00 0
0 00 00 01 10 00 00 00 00 00 0 Guns
0001000000 R G B
0000100000
11 1 white
Frame Buffer 0 1 0 green
1 0 0 red
0 0 1 blue
1 1 0 yellow
0 1 1 cyan
10 1 purple
0 0 0 black
Screen
0000000001
0000000001
0 10000000000000000000000000011
0100000000
0 000110100000000000000000000000000000000011 Electron
0 0 1 10 00 00 00 00 00 00 0 0
0 0000000011 00 0 0 0 0 0 0 Guns
0 0 00 011110000000000000000000000000000
000000000000000
11111
000000000000000000000000 0 11111111
0000000000000011110000000000000000000000
0000100000
0000100000
If n bits are assigned to a single
Frame Bufferpixel and the
resolution of the screen is 1024 x 800 then the total
size of the required frame buffer is n x 1024 x 800
00000000000000000001
0 10000000000000000000000000011
0100000000
0 000110100000000000000000000000000000000011
0 0 111000000000000000000000 0
0 00000000
10
0 0 0 111110000000000000000000000000000000000
0 000000000000
100000
00000000000111110000000000000000000000000
11111111
0 00 00 00 11 00 00 00 00 00 0
00000000110000000000
63
Computer Graphics, Nepal College of Information Technology, 2009
Computer Graphics, Nepal College of
64
Information Technology, 2009
Computer Graphics, Nepal College of
65
Information Technology, 2009
Computer Graphics, Nepal College of
66
Information Technology, 2009
Video Cards and CRT Monitors
• Many CRT monitors use an analog signal to
produce an image
• Video card converts digital output from the
computer into an analog video signal and
sends the signal through a cable to the
monitor
– Also called a graphics card
Look up Tables
Video Cards and CRT Monitors
• The number of colors a video card displays is determined
by its bit depth
• The video card’s bit depth, also called the color depth, is
the number of bits it uses to store information about
each pixel
• i.e. 8-bit video card uses 8 bits to store information
about each pixel; this video card can display 256 colors
(2x2x2x2x2x2x2x2)
• i.e. 24-bit video card uses 24 bits to store information
about each pixel and can display 16.7 million colors
• The greater the number of bits, the better the resulting
image
Video Cards and CRT Monitors
Video Display StandardsVideo Electronics Standards
Association (VESA), which consists of video card and
monitor manufacturers, develops video stands to define
the resolution, number of colors, and other display
properties.
Monochrome Display Adapter (MDA)
Hercules Graphics Card
Color Graphics Adapter (CGA)
Enhanced Graphics Adapter (EGA)
Video Graphics Adapter (VGA)
Super VGA (SVGA) and Other Standards Beyond VGA
How long would it take to load a 640 by 480 frame buffer with 12 bits per pixel, if
105bits can be transferred per second? How long would it take to load a 24-bit
per pixel frame buffer with a resolution of 1280 by 1024 using this same transfer
rate?
Total number of bits for the frame = 640 x 480 x 12 bits = 3686400 bits
The time needed to load the frame buffer = 3686400 / 105 sec = 36.864 sec
Total number of bits for the frame = 1280 x 1024 x 24 bits = 31457280 bits
The time needed to load the frame buffer = 31457280 / 105 sec = 314.5728 sec
Assuming that a certain RGB raster system has 512*512 frame buffer with 12
bit per pixel
1. How many distinct color choice we have available
2. How many different color could we display at any one time?
Your mobile phone has a total resolution of 1080 x 2160 with 401 PPI.
What is the display size of your mobile?
Your mobile phone has a total resolution of with PPI. What is the
display size of your mobile?