Unit 1 Computer Graphics
Unit 1 Computer Graphics
Unit 1 Computer Graphics
Graphics
Computer graphics is a fascinating field that combines art, mathematics, and computer science to create visual
representations of data and imagery. This document explores the fundamental concepts, technologies, and
applications of computer graphics, from basic definitions to advanced color models and display technologies. We'll
cover the evolution of graphics hardware, software tools, and techniques that enable the creation of everything from
user interfaces to realistic 3D animations.
Definition of Computer
Graphics
Computer graphics refers to the creation, manipulation, and
representation of visual content using computers. It encompasses a wide
range of techniques and technologies used to generate and display
images, animations, and interactive visual experiences. At its core,
computer graphics involves the synthesis and manipulation of visual
information, transforming raw data into visually appealing and meaningful
representations.
The development of GUIs has been crucial in making computers user-friendly and has significantly influenced the
design of modern operating systems and applications.
Cathode Ray Tubes (CRT)
Cathode Ray Tubes (CRTs) were the primary display technology for computers and televisions for many decades. A
CRT works by firing electron beams at a phosphor-coated screen, causing it to glow and create images. The electron
gun emits beams that are deflected by electromagnetic coils to scan across the screen, illuminating pixels row by row.
CRTs were capable of producing high-quality images with good color reproduction and fast response times. However,
they had several drawbacks:
While largely replaced by flat-panel displays in consumer devices, CRTs are still used in some specialized applications
where their unique properties are advantageous.
Display Technologies: Random Scan vs Raster
Scan
Random Scan Displays Raster Scan Displays Comparison
Also known as vector displays, Raster scan systems create images While random scan displays offer
random scan systems draw images by scanning electron beams superior line quality, raster scan
using a directed electron beam that horizontally across the screen, one technology has become dominant
traces vectors. This technology is row at a time. This technology due to its versatility in displaying a
ideal for line drawings and forms the basis for most modern wide range of graphics and its
wireframe models. Benefits include displays, including CRT monitors compatibility with video signals.
high resolution and the ability to and flat-panel displays. Raster The advent of high-resolution
display complex line drawings displays excel at showing solid raster displays has largely
efficiently. However, they struggle colors, complex textures, and eliminated the advantages of
with solid areas and complex photorealistic images. vector displays in most
shading. applications.
Color CRT Monitors and Flat Panel Displays
Color CRT monitors use three electron guns, one for each primary color (red, green, and blue). These beams pass
through a shadow mask or aperture grille to ensure they hit the correct phosphor dots on the screen, creating full-
color images. While CRTs offered excellent color reproduction and contrast, they have largely been replaced by flat
panel displays in most applications.
RGB (Red, Green, Blue) CMYK (Cyan, Magenta, HSV (Hue, Saturation,
The RGB model is an additive Yellow, Key/Black) Value)
color system used in digital CMYK is a subtractive color The HSV model represents
displays. It combines red, green, model used in printing. It colors in terms more intuitive to
and blue light to create a wide describes how inks absorb light human perception. Hue defines
range of colors. Each color to create colors on paper. The K the color, saturation represents
channel typically uses 8 bits, (Key or Black) is added to the intensity, and value
allowing for 256 levels per improve contrast and save on determines the brightness. HSV
channel and over 16 million colored inks. CMYK is crucial for is often used in color pickers and
possible colors. preparing images for print image editing software for its
production. user-friendly approach to color
selection.
Color Lookup Tables
A Color Lookup Table (CLUT) is a mechanism used in computer graphics to map color index values to actual color
values. Instead of storing full color information for each pixel, a CLUT system uses index numbers that reference a table
containing the color data. This approach can significantly reduce memory requirements, especially in systems with
limited color capabilities.
Efficiency: Reduces memory usage by storing indices instead of full color data
Flexibility: Allows quick color scheme changes by modifying the table, not the image data
Performance: Can improve rendering speed in some graphics systems
Limited Colors: Typically used in systems supporting 256 or fewer simultaneous colors
While less common in modern high-color graphics systems, CLUTs remain relevant in specialized applications and in
understanding the historical development of computer graphics technologies.