computer graphics unit 1
computer graphics unit 1
in
4. Display Technologies
4.1 Cathode Ray Tubes (CRT)
CRT is a vacuum tube containing electron guns and a fluorescent screen used to view images.
Detailed description:
Electron guns emit beams of electrons
Beams are focused and accelerated towards the screen
Deflection coils direct the beam to scan across the screen
Phosphor coating on the screen emits light when struck by electrons
Images are formed by rapidly scanning the electron beam across the screen
Types of CRT displays:
4.1.1 Random Scan Displays (Vector Displays)
Draw images using lines by directly controlling the electron beam
High precision for line drawings
Limited to wireframe images
Used in early CAD systems and oscilloscopes
4.1.2 Raster Scan Displays
Scan the electron beam in a fixed pattern (left to right, top to bottom)
Create images using a matrix of pixels
Can display complex images and colors
Basis for modern TV and computer monitors
4.2 Color CRT Monitors
Detailed description:
Use three electron guns, one each for Red, Green, and Blue
Employ a shadow mask or aperture grille to direct electron beams
Each pixel on the screen consists of red, green, and blue phosphor dots
Combine RGB phosphors in varying intensities to create full-color images
Unit 1 Computer Graphics mrsandy.in
5. Graphics Software
5.1 Graphical Kernel System (GKS)
Detailed description:
First ISO standard for graphics programming
Provides a set of drawing primitives for 2D graphics
Aims for device-independent graphics output
Key features:
Output primitives: lines, polygons, text
Input handling for various devices
Coordinate systems and transformations
Segmentation for grouping graphical elements
Limitations: Primarily focused on 2D graphics, lacks advanced 3D capabilities
5.2 Programmer's Hierarchical Interactive Graphics System (PHIGS)
Key points:
Extension of GKS to support 3D graphics
Designed for interactive applications and complex scenes
Supports hierarchical structure of graphical data
Key concepts:
Structures and elements for organizing graphical data
Viewing and modeling transformations for 3D manipulation
Input handling and events for user interaction
Support for animation and dynamic scenes
Advantages over GKS: Better suited for CAD/CAM applications, supports complex 3D scenes
6. Color Models
Mathematical systems for representing colors in digital systems.
6.1 RGB (Red, Green, Blue)
Detailed description:
Additive color model based on light emission
Unit 1 Computer Graphics mrsandy.in
Key characteristics:
Stores a limited palette of colors (typically 256 in 8-bit color systems)
Each entry contains RGB values for a specific color
Pixels in the image store an index to the table instead of full color information
Functionality:
When displaying an image, the system looks up the color values for each pixel
Changing colors in the table affects all pixels referencing those entries
Benefits:
Reduces memory usage for images
Allows quick color changes by modifying the table
Useful for creating visual effects (e.g., color cycling in old video games)
Can optimize color usage for specific images or applications
Limitations:
Restricts the number of colors that can be displayed simultaneously
Not suitable for photorealistic images requiring millions of colors
Historical significance:
Crucial in early computer graphics with limited memory and processing power
Still used in some specialized applications and in color quantization algorithms
Example application: In a 256-color system, instead of storing 3 bytes (24 bits) of RGB data per
pixel, only 1 byte (8 bits) is needed to reference the color in the CLUT, potentially reducing memory
usage by 66%.