Chapter 2 part 2
Chapter 2 part 2
2.4.1 Graphics
p
software programs available for the creation of computer
graphics (word art,
graphics. art Objects,
Objects shapes,
shapes colors,
colors 2D,
2D 3d)
A computer
computer’ss display screen can be considered as being made up
of a two-dimensional matrix of individual picture elements —
pixels — each of which can have a range of colors associated
with
i h it.
i
For example,
e ample VGA (video
( ideo graphics array)
arra ) is a common type
t pe of
display and, as we show in Figure 2.10(a), consists of a matrix of
640 horizontal ppixels X 480 vertical ppixel with, for example,
p 8
bits per pixel which allows each pixel to have one of 256
different colors.
Graphics Principles: Example Screen Format
(b) some simple object examples; (c) effect of changing position
attribute;
ib (d) solid
lid objects.
bj
Editingg an object
j involves simply
p y changing
g g selected attributes
associated with the object.
f a ttypical
for i l page, produce
d a stream
t off about
b t two
t
million bits.
The printer part of a fax machine then reproduces
the original image by printing out the received
stream of bits to a similar resolution.
In general, the use of a single bit/pel means that fax
machines are best suited to scanning (black and
white) images such as text information.
information
Facsimile Machine Principles:
p ((a)) Schematic;; (b)
( ) Digitization
g format
Digitized
g pictures
p
In the case of scanners which are used for digitizing
continuous-tone monochromatic images — such as
a printed picture or scene — normally, more than a
single bit is used to digitize each picture element.
How color
H l isi produced?
d d?
How picture tubes used in computer monitors operate?
Color principles
p p
A whole
h l spectrum
t off colors
l “ l gamut”
“color t” can
be produced by using different proportions of the
three
h primary
i colors:
l
Red ((R),), Green ((G),), Blue ((B))
Color principles
p p
Gamut: Range of colors produced by
combinations
bi i off the
h three
h primaries
i i
Additive Color Mixing
Black is produced when all three primaries Red (R),
Green (G), Blue (B) are zero
Display applications
Subtractive Color Mixingg
White is produced when all three primaries (cyan (C),
magenta (M), and yellow (Y)) are missing (zero)
Printing applications
Color Derivation Principles: Additive Color Mixing
Color Derivation Principles: Subtractive Color Mixing
Television/Computer
/ p Monitor Principles:
p Schematic
Raster-scan principles
The picture tubes used in most television sets operate using
what is known as a raster-scan.
“Progressive
Progressive Scanning
Scanning” comprises
a number of discrete horizontal lines
the first of which starts at the top left corner of the
screen
the last of which ends at the bottom right corner
corner.
At this point the beam is deflected back again to the top left
corner and the scanning operation repeats in the same way.
way
Frame : Each complete set of horizontal scan lines
E h frame
Each f is
i maded up off N iindividual
di id l scan lines
li
where N is either 525 (North and South America and most of
Asia)
625 (Europe and a number of other countries).
to create an image
g on the screen: The electron beam is
turned off during each vertical (frame) retrace period.
Television/Computer Monitor Principles:
Raster-Scan Principles
Progressive Scan
In the case of black-and-white picture tubes just a single
electron beam is used with a white-sensitive
white sensitive phosphor.
phosphor
in p
practice each p
pixel has the shape
p of a spot
p which
merges with its neighbors. A typical spot size is
0.0255 inches
0.0 c es (0.635 mm)) and d a co
continuous
uous co
color
o
image is seen.
Television/Computer Monitor Principles:
Pixel Format on Each Scan Line
Static/still image: the same set of light signals are used for
eachh frame.
f
Examples
12 bits
bit (4 bits
bit per primary
i color)
l ) yielding
i ldi 4096 different
diff t colors
l
24 bits ( 8 bits per primary) color yielding in excess of 16 million colors.
The selected colors are stored in a table and each pixel value is
used as an address to a location within the table which contains the
corresponding three color values.
values The table is known as the color
look-up table or CLUT.
the NTSC standard uses 525 scan lines per frame while the
three European
p standards all use 625 scan lines.
Memory
Number of
Standard Resolution Required/Frame
Colors
(Bytes)
800x600x16
800 600 16 64K 960kB
SVGA 1024x768x8 256 786.432kb
1024x768x24 16M 2359 296kB
2359.296kB
Example 2.3