Applications of Computer Graphics
Applications of Computer Graphics
Computer graphics is an art of drawing pictures, lines, circles, charts etc. using a computer
with the help of programming
•In a broad sense it includes everything on computers that is not text or sound. Typically
CG refers to,
•Representation and manipulation of image data by computer.
•Various technologies used to create and manipulate images.
•The subfield of computer science which studies methods for digitally
synthesizing and manipulate visual content.
•Electronics: Circuits and networks for communications, water supply, or other utilities are
constructed with repeated placement of a few graphical shapes.
•Real time animations using wireframe displays on a video monitor are useful for testing
performance of a vehicle or system.
•Realistic display for layout floor plans that shows the positioning of rooms, doors,
windows, stairs and other building features.
•Virtual reality system, designers can even go for simulated walk through the rooms or
around the out sides of building to view all.
2. PRESENTATION GRAPHICS
•Examples
•Bar charts (2D, 3D)
•Line graphs
•Surface charts
•Pie charts
•Power point presentations
3. COMPUTER ART
•Any art in which computers play a role in production or display of the artwork
•They are used in both fine art and commercial art.
• Fine artiste’s use a variety of technologies like special purpose h/w, artist’s paint brush
program, other paint packages, cad packages to produce image.
•In commercial art they are used for logos and other design, advertising etc.
•paintbrush program that allows artists to "paint" pictures on the screen of a video monitor.
Actually, the picture is usually painted electronically on a graphics tablet (digitizer)
using a stylus, which can simulate different brush strokes, brush widths, and colours.
•mathematical art. This artist uses a combination of mathematical functions, fractal
procedures, Mathematics software, ink-jet printers, and other systems to create a variety
of three-dimensional and two-dimensional shapes and stereoscopic image pairs.
4. ENTERTAINMENT
•Computer graphics methods are now commonly used in making motion pictures, music
Videos, Games and television shows.
•Sometimes the graphics scenes are displayed by themselves, and sometimes graphics
objects are combined with the actors and live scenes.
Games
•Interactive virtual worlds
Movies
•Animation – movement on the screen created by displaying sequence of still
images (frames)
•Special effects
Television
•Cartoons - simple animation
•Advertisements - simple special effects, graphics and image processing
techniques can be used to produce a transformation of one person or object
into another (morphing).
•Ship captains
• Aircraft pilots
• Heavy-equipment operators
• Air traffic control personnel.
•Some simulators have no video screens; for example, a flight simulator with only a
control panel for instrument flying. But most simulators provide graphics screens for
visual operation.
6. SCIENTIFIC VISUALIZATION
•Scientists, engineers, medical personnel, business analysts, and others often need
to analyse large amounts of information or to study the behaviour of certain processes.
•Produce graphical representation from numerous data.
•Scientific, engineering and medical data sets to graphical images.
• Scalar, vector also 2d and 3d images are produced
•For better visualization use Color coding, graphs, charts, also image processing with
graphics
•Some applications
* Numerical visualization of ocean currents
* Thunderstorm simulation
* Molecular visualization
7. IMAGE PROCESSING
Electron Gun
•Major elements are the heated metal cathode and the control grid.
•Heat is supplied to the cathode by directing a current through filament.
•This causes electrons to be ‘boiled off’ the hot cathode surface.
•Intensity of the electron beam is controlled by setting voltage levels on the control grid.
•A high positive voltage accelerates the free, negatively charged electrons towards the
phosphor coating
•A high negative voltage applied to the control grid will shut off the beam by repelling
electrons.
•A smaller negative voltage on the control grid simply decreases the no of electrons passing
through.
•We control the brightness of a display by varying the voltage on the control grid.
The accelerating anode
•The accelerating voltage can be generated with an accelerating anode.
•Sometimes the electron gun is built to contain the accelerating anode and focusing system
within the same unit.
•Used to force the electron beam to converge into a small spot as it strikes the phosphor.
• Focusing is accomplished with either electric fields or magnetic fields
•Electrostatic focusing is commonly used in TV and computer graphics monitors.
•With electrostatic focusing, the electron beam passes through a positively charged metal
cylinder that forms an electrostatic lens.
•The action of the electrostatic lens focuses the electron beam at the center of the screen.
•Magnetic lens focusing produces the smallest spot size on the screen and is used in special
purpose devices.
Phosphor screen
•Different kinds of phosphors are available for use in a CRT.
•Besides color, a major difference between phosphors is their persistence:
•How long they continue to emit after the CRT beam is removed.
•Persistence is defined as the time it takes the emitted light from the screen to decay to
one-tenth of its original intensity.
•Lower persistence phosphors require higher refresh rates to maintain a picture on the screen
without flicker.
•A phosphor with low persistence is useful for animation;
•A high-persistence phosphor is useful for displaying highly complex, static pictures
•Another important properties of phosphor includes Resolution and Aspect Ratio
•The maximum number of points that can be displayed without overlap on a CRT is referred
to as the resolution.
•Number of pixels per square inch
•The ratio of vertical points to horizontal points necessary to produce equal-length lines in
both directions on the screen is known as Aspect Ratio.
•An aspect ratio of ¾ means that a vertical line plotted with 3 points has the same length as
a horizontal line plotted with 4 points
Pixel:
The smallest element of an image that can be individually processed in a video display
system.
• In Digital imaging, a pixel, pel, dots, or picture element is a physical point in a raster
image, or the smallest addressable element in a display device.
•Pixels are arranged in rows and columns and are lit up in a specific pattern to create a
n image
Framebuffer:
•The portion of memory reserved for holding the complete bit-mapped image that is
sent to the monitor.
•This memory area holds the set of intensity values for all the screen points.
• Stored intensity values are then retrieved from the frame buffer and "painted" on the
screen.
•Almost all current computer output devices, including CRTs, LCDs, LEDs, and
plasma screens, use raster graphics.
•In this systems, an 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.
•Picture definition is stored in a memory area called the refresh buffer or frame buffer.
•This memory area holds the set of intensity values for all the screen points.
•Stored intensity values are then retrieved from the refresh buffer and "painted" on the
screen one row (scan line) at a time
•The refreshing rate, called the frame rate, is normally 60 to 80 frames per second, or
described as 60 Hz to 80 Hz
Horizontal Retrace – Return to the left of the screen, after refreshing each scan line is
horizontal retrace of the electron beam.
Vertical retrace – At the end of the each frame the electron beam returns to the top left
corner of the screen to begin the next frame.
RANDOM-SCAN DISPLAYS
•Here the CRT's electron beam is directed only to the parts of the screen where a
picture is to be drawn.
•Random scan monitors draw a picture one line at a time and for this reason are also
referred to as vector displays (or stroke-writing or calligraphic displays or line drawing
displays)
•Random-scan displays are designed to draw all the component lines of a picture 30 to
60 times each second
•Raster systems
+ It is well suited for realistic display of scenes containing colors and shaded patterns
- It produces jagged lines that are plotted as discrete point sets
+ They produce smooth line drawings because the CRT beam directly follows the line
path.
+ Used by both analog and digital computers
+ Vector displays generally have higher resolution than raster systems
- Expensive
- Designed for line drawing applications and cannot display realistic shaded scenes
•A shadow mask is often used to ensure that the electron beams from the guns fall on
the correct phosphors
•The three electron beams are deflected and focused as a group onto the shadow mask
•When the three beams pass through a hole in the shadow mask, they activate a dot
triangle, which appears as a small color spot on the screen.
•The phosphor dots in the triangles are arranged so that each electron beam can activate
only its corresponding color dot when it passes through the shadow mask.
•Color variations in a shadow-mask CRT are obtained by varying the intensity levels
of the three electron beams
•A white (or gray) area is the result of activating all three dots with equal intensity
•A black is produced with zero intensity of all colors
•Yellow=Red+ Green
•Magenta=Red+Blue
•Cyan= Blue +Green
•This produce 8 colors
Inline arrangement
•3 electron guns and the corresponding red-green-blue color dots on the screen, are
aligned along one scan line rather of in a triangular pattern.
•This inline arrangement of electron guns is easier to keep in alignment and is commonly
used in high-resolution color CRT’s
• In some low-cost systems, the electron beam can only be set to on or off, limiting
displays to eight colors.
•More sophisticated systems can set intermediate intensity levels for the electron
beams, allowing several million different colors to be generated
•Color CRTs in graphics systems are designed as RGB monitors.
•These monitors use shadow mask method and take the intensity level for each gun.
• A RGB color system with 24 bits of storage per pixel is known as full color system or
true color system.
Pros & Cons of shadow mask method
Advantages
Produce realistic images
Million different colors to be generated
Shadow scenes are possible
Disadvantages
low resolution
expensive
Direct View Storage Tube(DVST)
•A matrix of diodes is arranged to form the pixel positions in the display, and picture
definition is stored in a refresh buffer.
•Information is read from the refresh buffer and converted to voltage levels that are
applied to the diodes to produce the light patterns in the display
3. THIN- FILM ELECTROLUMINESCENT (emissive display)
•Two glass plates, each containing a light polarizer at right angles to the-other plate,
sandwich the liquid-crystal material.
• Rows of horizontal transparent conductors are built into one glass plate, and
columns of vertical conductors are put into the other plate.
• The intersection of two conductors defines a pixel position.
WORKING OF LCD
• Polarized light passing through the material is twisted so that it will pass through
the opposite polarizer.(On state)
• The light is then reflected back to the viewer.
• To turn off the pixel, we apply a voltage to the two intersecting conductors 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.
•Colors can be displayed by using different materials or dyes and by placing a triad of
color pixels at each screen location.
•Another method for constructing colors is to place a transistor at each pixel location,
using thin-film transistor technology.
•The transistors are used to control the voltage at pixel locations and to prevent charge
from gradually leaking out of the liquid-crystal cells.
•These devices are called active-matrix displays.