Computer Graphics
Computer Graphics
Computer Graphics
Computer graphics can be a series of images (most often called video) or a single image.
interactive graphics
A computer graphics system that allows the operator or user to interact with the
graphical information presented on the display using one or more of a number of input devices, some of which
are aimed at delivering positions relevant to the information being displayed.
Passive Computer Graphics: In non interactive computer graphics otherwise known as passive
computer graphics. it is the computer graphics in which user does not have any kind of control over the image.
Image is merely the product of static stored program and will work according to the instructions given in the
program linearly. The image is totally under the control of program instructions not under the user. Example:
screen savers.
Application of Computer Graphics
1. Computer-Aided Design for engineering and architectural systems etc.
Objects maybe displayed in a wireframe outline form. Multi-window environment is also
favored for producing various zooming scales and views. Animations are useful for testing
performance.
2. Presentation Graphics
To produce illustrations which summarize various kinds of data. Except 2D, 3D graphics
are good tools for reporting more complex data.
3. Computer Art
Painting packages are available. With cordless, pressure-sensitive stylus, artists can
produce electronic paintings which simulate different brush strokes, brush widths, and
colors. Photorealistic techniques, morphing and animations are very useful in commercial
art. For films, 24 frames per second are required. For video monitor, 30 frames per second
are required.
4. Entertainment
Motion pictures, Music videos, and TV shows, Computer games
5. Education and Training
Training with computer-generated models of specialized systems such as the training of
ship captains and aircraft pilots.
6. Visualization
For analyzing scientific, engineering, medical and business data or behavior. Converting
data to visual form can help to understand mass volume of data very efficiently.
7. Image Processing
Image processing is to apply techniques to modify or interpret existing pictures. It is
widely used in medical applications.
8. Graphical User Interface
Multiple window, icons, menus allow a computer setup to be utilized more efficiently.
Definition
Realistic
Display
Draw
Image
an
Plasma Display
A plasma display is a computer video display in which each pixel on the screen is illuminated by a tiny bit
of plasma or charged gas, somewhat like a tiny neon light.Plasma displays are thinner than cathode ray tube (
CRT ) displays and brighter than liquid crystal displays ( LCD ).
CRT (Cathod Ray Tube)
A cathode ray tube (CRT) is a specialized vacuumtube in which images are produced when an electron beam
strikes aphosphorescent surface. Most desktopcomputer displays make useof CRTs. The CRT in a
computer display is similar to the"picture tube" in a television receiver.
Vector graphics
Objects
Individual pixels
Individual objects
Real
.bmp
.svg
DDA algorithm
operations.
Speed
Accuracy
&
point operations).
Efficiency
Drawing
Bresenhams algorithm.
Round Off
Expensive
of floating-point multiplications so it is
expensive.
Clipping, in the context of computer graphics, is a method to selectively enable or disable rendering
operations within a defined region of interest. Mathematically, clipping can be described using the terminology
of constructive geometry.
Projections
Projection operations convert the viewing-coordinate description (3D) to coordinate positions on
the projection plane (2D).
There are 2 basic projection methods:
a) Perspective: determined by the center of projection (CP)
b) Parallel: determined by the direction of projection (DP) (projectors are parallel since the CP is
at infinite)
Perspective projection
Characteristics
The CP (center of projection) is at the point (x,y,z)
They are defined by the CP and the PP (projection plane)
Advantages:
Provides visual realism and tridimensional feeling (distance/size effect)
Disadvantages:
- it does not maintain neither the object original shape nor its scale (except in the
planes that are parallel to the projection plane)
It is different to the parallel projection because:
parallel lines are not parallel at the projection
size of the object decreases with the distance
non-uniform reduction of sizes at the projection
Aspect Ratio
In computer graphics, the relative horizontal and vertical sizes. For example, if agraphic has an aspect
ratio of 2:1, it means that the width is twice as large as the height. When resizing graphics, it is important
to maintain the aspect ratio to avoid stretching the graphic out of proportion.