Computer Graphics 3
Computer Graphics 3
EMMANUEL KITCHER
Content
Output Primitives;
Bitmap Graphics:
A digital image is represented by a matrix of numeric
values each representing a quantized intensity value;
When I is a two-dimensional matrix, then I(r,c) is the
intensity value at the position corresponding to row r and
column c of the matrix;
The points at which an image is sampled are known as
picture elements, commonly abbreviated as pixels.
Computer Graphics Systems
Bitmap Graphics:
The pixel values of intensity images are called gray scale
levels (we encode as color of the image);
The intensity at each pixel is represented by an integer
A bitmap image:
is a simple information matrix describing the individual dots
that are the smallest elements of resolution on a computer
screen or other display or printing device;
A one-dimensional matrix is required for monochrome (black
and white);
A greater depth (more bits of information) is required to
describe more than 16 million colors the picture elements may
have;
The state of all the pixels on a computer screen make up the
image seen by the viewer, whether in combinations of black
and white or colored pixels.
Computer Graphics Systems
How are bitmap images created?
Can be made from:
scratch with any drawing program such as Paint on
Windows;
a screen capture program, and then paste into any
application;
a photo, artwork, or a television image using a scanner
or video capture device that digitizes the image;
Once copied, a bitmap can be used in many creative ways.
Computer Graphics Systems
Uses of bitmaps:
photo-realistic images; and
complex drawing requiring fine detail.
Exercise 1:
What other uses can bitmap images be put to?
Computer Graphics Systems
Bitmap Software:
The abilities and feature of image-editing programs for
both the Macintosh and Windows range from simple to
complex;
The Macintosh does not ship with a painting tool, and
Windows provides only the rudimentary Paint;
You need to acquire the software separately:
often bitmap editing or painting programs come as part
of a bundle when you purchase your computer, monitor,
or scanner.
Computer Graphics Systems
Vector-images:
are drawn using primitive objects such as:
lines, boxes, circles, polygons, and other graphic shapes
that can be mathematically expressed in angles,
coordinates, and distances.
A drawn vector object can be filled with color and
patterns, and can be selected as a single object.
Computer Graphics Systems
Vector-drawn objects:
Color:
Color models:
1. Additive Color:
Color Palettes:
represents the maximum number of colors that can be
produced by using all three combinations of red, green,
and blue available in the RGB color space;
Physical palettes contain all of the colors supported by the
system‘s graphics hardware;
Logical palettes contain only a fraction of the colors that
are available in the physical palette.
Computer Graphics Systems
Color Palettes:
When we design graphics, we select colors from the
system‘s physical color palette but render the objects using
the colors present in the logical palette;
are containers that hold the colors with which we paint and
draw objects on the screen;
were developed as a means of managing and specifying
small groups of colors within the hardware color space for
the benefit of developers.
Computer Graphics Systems