What Is Computer Graphics
What Is Computer Graphics
Computer graphics is an art of drawing pictures, lines, charts, etc. using computers with the help of
programming. Computer graphics image is made up of number of pixels. Pixel is the smallest addressable
graphical unit represented on the computer screen.
Introduction
· Computer is information processing machine. User needs to communicate with computer and the
computer graphics is one of the most effective and commonly used ways of communication with the
user.
· It displays the information in the form of graphical objects such as pictures, charts, diagram and graphs.
· Graphical objects convey more information in less time and easily understandable formats for example
statically graph shown in stock exchange.
· In computer graphics picture or graphics objects are presented as a collection of discrete pixels.
· We can control intensity and color of pixel which decide how picture look like.
· The special procedure determines which pixel will provide the best approximation to the desired picture
or graphics object this process is known as Rasterization.
· The process of representing continuous picture or graphics object as a collection of discrete pixels is
called Scan Conversion.
Display devices
· Display devices are also known as output devices.
· Most commonly used output device in a graphics system is a video monitor.
Cathode-ray-tubes
CPU
I/O Port
Display
buffer (Interaction (Display
memory data) command)
Keyboard Mouse
· Vector scan display directly traces out only the desired lines on CRT.
· If we want line between point p1 & p2 then we directly drive the beam deflection circuitry which focus
beam directly from point p1 to p2.
· If we do not want to display line from p1 to p2 and just move then we can blank the beam as we move it.
· To move the beam across the CRT, the information about both magnitude and direction is required. This
information is generated with the help of vector graphics generator.
· Fig. 1.2 shows architecture of vector display. It consists of display controller, CPU, display buffer memory
and CRT.
· Display controller is connected as an I/O peripheral to the CPU.
· Display buffer stores computer produced display list or display program.
· The Program contains point & line plotting commands with end point co-ordinates as well as character
plotting commands.
· Display controller interprets command and sends digital and point co-ordinates to a vector generator.
· Vector generator then converts the digital co-ordinate value to analog voltages for beam deflection
circuits that displace an electron beam which points on the CRT’s screen.
· In this technique beam is deflected from end point to end point hence this techniques is also called
random scan.
· We know as beam strikes phosphors coated screen it emits light but that light decays after few
milliseconds and therefore it is necessary to repeat through the display list to refresh the screen at least
30 times per second to avoid flicker.
· As display buffer is used to store display list and used to refreshing, it is also called refresh buffer.
Raster scan display
CPU
I/O Port
(Interaction (Display
data) command
Keyboard
Display controller
Mouse
00000000000000000
00000111111100000 CRT
00000000100000000 Video controller
T
00000000100000000
00000000100000000
Refresh buffer
· Fig. 1.3 shows the architecture of Raster display. It consists of display controller, CPU, video controller,
refresh buffer, keyboard, mouse and CRT.
· The display image is stored in the form of 1’s and 0’s in the refresh buffer.
· The video controller reads this refresh buffer and produces the actual image on screen.
· It will scan one line at a time from top to bottom & then back to the top.
Horizontal
Vertical
OFF ON Retrace
Retrace
· In this method the horizontal and vertical deflection signals are generated to move the beam all over the
screen in a pattern shown in fig. 1.4.
· Here beam is swept back & forth from left to the right.
· When beam is moved from left to right it is ON.
· When beam is moved from right to left it is OFF and process of moving beam from right to left after
completion of row is known as Horizontal Retrace.
· When beam is reach at the bottom of the screen. It is made OFF and rapidly retraced back to the top left
to start again and process of moving back to top is known as Vertical Retrace.
· The screen image is maintained by repeatedly scanning the same image. This process is known as
Refreshing of Screen.
· In raster scan displays a special area of memory is dedicated to graphics only. This memory is called
Frame Buffer.
· Frame buffer holds set of intensity values for all the screen points.
· That intensity is retrieved from frame buffer and display on screen one row at a time.
· Each screen point referred as pixel or Pel (Picture Element).
· Each pixel can be specified by its row and column numbers.
· It can be simply black and white system or color system.
· In simple black and white system each pixel is either ON or OFF, so only one bit per pixel is needed.
· Additional bits are required when color and intensity variations can be displayed up to 24-bits per pixel
are included in high quality display systems.
· On a black and white system with one bit per pixel the frame buffer is commonly called a Bitmap. And
for systems with multiple bits per pixel, the frame buffer is often referred as a Pixmap.
Electron Beam The electron beam is swept across the The electron beam is directed only to the
screen, one row at a time, from top to parts of screen where a picture is to be
bottom. drawn.
Resolution Its resolution is poor because raster Its resolution is good because this system
system in contrast produces zigzag produces smooth lines drawings because
lines that are plotted as discrete point CRT beam directly follows the line path.
sets.
Picture Definition Picture definition is stored as a set of Picture definition is stored as a set of line
intensity values for all screen points, drawing instructions in a display file.
called pixels in a refresh buffer area.
Realistic Display The capability of this system to store These systems are designed for line-
intensity values for pixel makes it well drawing and can’t display realistic shaded
suited for the realistic display of scenes scenes.
contain shadow and color pattern.
Draw an Image Screen points/pixels are used to draw Mathematical functions are used to draw
an image. an image.
Color CRT monitors
· A CRT monitors displays color pictures by using a combination of phosphors that emit different colored
light.
· It produces range of colors by combining the light emitted by different phosphors.
· There are two basic techniques for color display:
1. Beam-penetration technique
2. Shadow-mask technique
Beam-penetration technique
Shadow-mask technique
Advantage of DVST
· Refreshing of CRT is not required.
· Very complex pictures can be displayed at very high resolution without flicker.
· Flat screen.
Disadvantage of DVST
· They do not display color and are available with single level of line intensity.
· For erasing it is necessary to removal of charge on the storage grid so erasing and redrawing process
take several second.
· Erasing selective part of the screen cannot be possible.
· Cannot used for dynamic graphics application as on erasing it produce unpleasant flash over entire
screen.
· It has poor contrast as a result of the comparatively low accelerating potential applied to the flood
electrons.
· The performance of DVST is somewhat inferior to the refresh CRT.
· It is similar to plasma panel display but region between the glass plates is filled with phosphors such as
zinksulphide doped with magnesium instead of gas.
· When sufficient voltage is applied the phosphors becomes a conductor in area of intersection of the two
electrodes.
· Electrical energy is then absorbed by the manganese atoms which then release the energy as a spot of
light similar to the glowing plasma effect in plasma panel.
· It requires more power than plasma panel.
· In this good color and gray scale difficult to achieve.
Fig. 1.10: - Light twisting shutter effect used in design of most LCD.
· It is generally used in small system such as calculator and portable laptop.
· This non emissive device produce picture by passing polarized light from the surrounding or from an
internal light source through liquid crystal material that can be aligned to either block or transmit the
light.
· The liquid crystal refreshes to fact that these compounds have crystalline arrangement of molecules
then also flows like liquid.
· It consists of two glass plates each with light polarizer at right angles to each other sandwich the liquid
crystal material between the plates.
· Rows of horizontal transparent conductors are built into one glass plate, and column of vertical
conductors are put into the other plates.
· The intersection of two conductors defines a pixel position.
· In the ON state polarized light passing through material is twisted so that it will pass through the
opposite polarizer.
· In the OFF state it will reflect back towards source.
· We applied a voltage to the two intersecting conductor to align the molecules so that the light is not
twisted.
· This type of flat panel device is referred to as a passive matrix LCD.
· In active matrix LCD transistors are used at each (x, y) grid point.
· Transistor cause crystal to change their state quickly and also to control degree to which the state has
been changed.
· Transistor can also serve as a memory for the state until it is changed.
· So transistor make cell ON for all time giving brighter display then it would be if it had to be refresh
periodically
CRT
Viewer
· Vibrating mirror changes its focal length due to vibration which is synchronized with the display of an
object on CRT.
· The each point on the object is reflected from the mirror into spatial position corresponding to distance
of that point from a viewing position.
· Very good example of this system is GENISCO SPACE GRAPH system, which use vibrating mirror to
project 3D objects into a 25 cm by 25 cm by 25 cm volume. This system is also capable to show 2D cross
section at different depth.