Module-I Graphics Systems
Module-I Graphics Systems
Deepika Sahu
Asst. Professor
CSE
Introduction
• Computer graphics are pictures and films created using
computers.
Raster
• The light emitted from the three phosphors results in a small spot
of color at each pixel position, since our eyes tend to merge the
light emitted from the three dots into one composite color.
• This approach has two methods:
– Delta method
– Inline method
Delta Method
• The three electron beams are deflected and focused as a group
onto the shadow mask, which contains a series of holes
aligned with the phosphor-dot patterns.
• 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.
Shadow Mask Method
The delta-delta method:
Inline Method
• For color images, the common standard used for filling the
pixel uses 3-bit colors or 24-bit per pixel.
• A primary color has 256 intensity levels, which is equal to the
binary values starting from 00000000 to 11111111.
• Hence, a pixel can take a color from 256 × 256 × 256
possibilities (16.7 million) that is 256 for each of red, green,
and blue colors.
• The 24-bit format is commonly referred to as true color
representation.
• The Black, white, gray scale image representations is the
most common aspect of direct coding.
Cont..
• Black and white images require one bit per pixel, here the bit
value 0 represents black and bit value 1 represents white.
• The gray scaled images are coded with the help of 8 bits per
pixel, to allow a total of 256 intensity levels.
• Even though direct coding method supports a lot of
applications, there is shortage of storage space with the 24-
bit standard.
• Usually in an application, the total number of colors in any
image is very less. Hence, for a 24-bit representation to have
16.7 million colors in an image will be overloaded.
The RGB Color Model
• R, G, and B represent the colors produced by red,
green and blue phosphors, respectively.
Gray axis
RGB Color Model
RGB color space
CMY Color Model
CMY (short for Cyan, Magenta, Yellow,
and key) is a subtractive color model.
CMY Color Model
C 1 R
M 1 G
Y 1 B
Color Depth, Bit Depth
• The number of discrete intensities that the video card
is capable of generating for each color determines
the maximum number of colors that can be
displayed.
x
Video Controller
• Scan lines are then labeled from ymax at the top of
the screen to 0 at the bottom. Along each scan line,
screen pixel positions are labeled from 0 to xmax.
x max x
x max
Video Controller
• Two registers are used to store the coordinates of the
screen pixels.
• Refreshing operation
On State
Off State
Exercises
• Direct View Storage Tubes