The principles and applications of computer graphics are discussed.
Introduction to Computer Graphics
Computer graphics are related to all activities were static and animated pictures and images are created, processed and manipulated using specialized hardware and computer software. Data in the form of images is easy to understand and interpret. Hence the use of computers in producing static and animated images has revolutionized video games and movies production.
Manipulating images needs powerful tools that have to process and store large amount of data. Computers offer both advantages of very high speed of operations and large capacity of data storage hence their widespread use in generating and processing graphics.
A typical graphics system includes a computer with a fast processor, large memory, frame buffer and a display device such a monitor, an input device such as keyboard and a mouse, an output device such a printer.
Raster and Vector Images
A raster or bitmap image uses a grid of individual dots called pixels where each pixel is a small colored square. When an image is scanned, the image is converted to a collection of pixels called a raster image. This conversion make it easy to edit and process these images. JPEG and GIF images are examples of raster images.
Images in vector graphics are basically points connected by lines of various shapes. Two points and a straight path between them, for example, are used to describe a segment AB but more points and more complex paths are needed for more complicated shapes. Figure 1 below shows the same shape as raster and vector images.
Fig. 1 - Raster and Vector Images
Applications Computer Graphics
Computer graphics are applied in industry, art, entertainment, education, medicine and defense. More specific applications include
- Plotting data for visualisation
- Making movies
- Desktop publishing
- CAD-CAM(electronic circuits design, industrial engineering, ...)
- Cartography (maps,...)
- Large industrial process monitoring
- Satellite imaging
- Technical drawing
Sub Topics in Computer Graphics
There are 3 basic operations involved in creating a computer graphics of an object:
- Modeling the shapes: The shape of the object is defined.
- Rendering: Light, shadows and reflections are put into the shape of the object so that it becomes more realistic.
- Animation: Describe how the object moves in time and space.
References and Books
1 - Computer graphics: principles and practice - by James D. Foley.