Chapter 2 - Overview of Graphics Systems
Chapter 2 - Overview of Graphics Systems
Chapter 2 - Overview of Graphics Systems
Chapter 2
Overview of Graphics Systems
Introduction
• All of computer graphics is based upon the properties of the screen
or display device. The fundamental thing that you need to know
about displays is that they are divided into lots of small squares
called pixels
Image file formats
• Image file formats are standardized means of organizing and storing
digital images.
• Image files are composed of digital data in one of these formats that
can be rasterized for use on a computer display or printer.
• An image file format may store data in uncompressed, compressed,
or vector formats. Once rasterized, an image becomes a grid of
pixels, each of which has a number of bits to designate its color
equal to the color depth of the device displaying it.
Image file sizes
• In raster images, Image file size is positively correlated to the
number of pixels in an image and the color depth, or bits per pixel, of
the image
Introduction
Image file compression
•There are two types of image file compression algorithms:
1. Lossless compression algorithms - reduce file size while
preserving a perfect copy of the original uncompressed image.
Lossless compression generally, but not exclusively, results in
larger files than lossy compression. Lossless compression should
be used to avoid accumulating stages of re-compression when
editing images.
2. Lossy compression algorithms - preserve a representation of
the original uncompressed image that may appear to be a
perfect copy, but it is not a perfect copy. Oftentimes lossy
compression is able to achieve smaller file sizes than lossless
compression. Most lossy compression algorithms allow for
variable compression that trades image quality for file size.
Major graphic file formats
• Divided into two:
1. Raster formats - the data describes the characteristics of
each individual pixel
2. Vector formats - contain a geometric description which
can be rendered smoothly at any desired display size.
• At some point, all vector graphics must be rasterized in
order to be displayed on digital monitors. However, vector
images can be displayed with analog CRT technology such
as that used in some electronic test equipment, medical
monitors, radar displays, laser shows and early video
games.
• Plotters are printers that use vector data rather than pixel
data to draw graphics.
Raster formats Examples
• GIF- stands for graphics interchange format, a bit-
mapped graphics file format used by the World Wide
Web, CompuServe and many bulletin board system. GIF
supports color and various resolutions. It also includes
data compression, but because it is limited to 256 colors,
it is more effective for scanned images such as
illustrations rather than color photos.
• JPEG - Short for Joint Photographic Experts Group, and
pronounced jay-peg. JPEG is a lossy compression
technique for color images. Although it can reduce files
sizes to about 5% of their normal size, some detail is lost
in the compression.
Raster formats Examples
• TIFF - Acronym for tagged image file format, one of the most
widely supported file formats for storing bit-mapped images
on personal computers (both PCs and Macintosh computers).
Other popular formats are BMP and PCX. TIFF graphics can be
any resolution, and they can be black and white, gray-scaled,
or color. Files in TIFF format often end with a .tif extension.
• MPEG - Short for Moving Picture Experts Group, and
pronounced m-peg, is a working group of the ISO. The term
also refers to the family of digital video compression
standards and file formats developed by the group. MPEG
generally produces better-quality video than competing
formats, such as Video for Windows, Indeo and QuickTime.
MPEG files previously on PCs needed hardware decoders
(codecs) for MPEG processing
• MPEG uses a type of lossy compression, since some data is
removed
Raster formats Examples
• PNG - Short for Portable Network Graphics, and
pronounced ping, a new bit- mapped graphics format
similar to GIF. In fact, PNG was approved as a standard
by the World Wide Web consortium to replace GIF
because GIF uses a patented data compression
algorithm called LZW. In contrast, PNG is completely
patent - and license-free. The most recent versions of
Netscape Navigator and Microsoft Internet Explorer now
support PNG.
• BMP - The standard bit-mapped graphics format used in
the Windows environment. By convention, graphics files
in the BMP format end with a.BMP extension. BMP files
store graphics in a format called device-independent
bitmap (DIB).
Vector formats
• CGM - CGM (Computer Graphics Metafile) is a file format for 2D
vector graphics, raster graphics, and text, and is defined by ISO/IEC
8632. All graphical elements can be specified in a textual source file
that can be compiled into a binary file or one of two text
representations.
• Gerber Format (RS-274X) - RS-274X Extended Gerber Format was
developed by Gerber Systems Corp., now Ucamco. This is a 2D bi-
level image description format. It is the de-facto standard format
used by printed circuit board or PCB software. It is also widely used
in other industries requiring high-precision 2D bi - level images.
• SVG - SVG (Scalable Vector Graphics) is an open standard created
and developed by the World Wide Web Consortium to address the
need (and attempts of several corporations) for a versatile,
scriptable and all-purpose vector format for the web and otherwise.
Because of its scripting potential, SVG is a key component in web
applications: interactive web pages that look and act like
applications.
Raster-Scan Systems
• Interactive raster graphics systems typically employ
several processing units. In addition to the central
processing unit, or CPU, a special-purpose processor,
called the video controller or display controller, is
used to control the operation of the display device
Raster-Scan Systems
a Nit).
Aspect ratios is the ratio of the horizontal length to the vertical length.
Monitors usually have the aspect ratio 4:3, 5:4, 16:10 or 16:9.
Viewable image size is usually measured diagonally, but the actual
widths and heights are more informative since they are not affected by
the aspect ratio in the same way.
Display resolution is the number of distinct pixels in each dimension that
can be displayed. Maximum resolution is limited by dot pitch.
Dot pitch is the distance between subpixels of the same color in
millimeters. In general, the smaller the dot pitch, the sharper the picture
will appear.
Screen (Monitor)
Refresh rate is the number of times in a second that a display is
illuminated. Maximum refresh rate is limited by response time.
Response time is the time a pixel in a monitor takes to go from
active (white) to inactive (black) and back to active (white) again,
measured in milliseconds. Lower numbers mean faster transitions
and therefore fewer visible image artifacts.
Contrast ratio is the ratio of the luminosity of the brightest color
(white) to that of the darkest color (black) that the monitor is
capable of producing.
Power consumption is measured in watts.
Viewing angle is the maximum angle at which images on the
monitor can be viewed, without excessive degradation to the
image. It is measured in degrees horizontally and vertically.
Screen (Monitor)
• The main measurements for display devices
are:
1. Width and height
2. Total area
3. The diagonal, usually measured in inches. The
diagonal measurement of a display as the actual
viewable area is also dependent on the aspect ratio
of the display. For a display device of the same area,
the diagonal achieves a larger value in a
widescreens than compared to more rectangular
screen. e main measurements for display devices
Screen (Monitor)
• Aspect ratio
• The aspect ratio of an image is the ratio of the width of the image
to its height, expressed as two numbers separated by a colon.
That is, for an x:y aspect ratio, no matter how big or small the
image is, if the width is divided into x units of equal length and the
height is measured using this same length unit, the height will be
measured to be y units.
• Display resolution
• The display resolution of a digital television or display device is the
number of distinct pixels in each dimension that can be displayed.
It can be an ambiguous term especially as the displayed resolution
is controlled by all different factors in cathode ray tube (CRT), flat
panel or projection displays using fixed picture-element (pixel)
arrays.
Other features
• Power saving - Most modern monitors will
switch to a power-saving mode if no video-
input signal is received.
• Integrated accessories - Many monitors have
other accessories (or connections for them)
integrated. These monitors have advanced
microprocessors which contain codec
information, Windows Interface drivers and
other small software which help in proper
functioning of these functions.
Other features
• Glossy screen - Some displays, especially
newer LCD monitors, replace the traditional anti-
glare matte finish with a glossy one. This
increases color saturation and sharpness but
reflections from lights and windows are very
visible.
• Directional screen - Narrow viewing angle
screens are used in some security conscious
applications.
• Autostereoscopic (3D) screen - A directional
screen which generates 3D images without
headgear.
Other features
• Touch screen - These monitors use touching of the
screen as an input method. Items can be selected or
moved with a finger, and finger gestures may be used
to convey commands. The screen will need frequent
cleaning due to image degradation from fingerprints.
• Tablet screens - A combination of a monitor with a
graphics tablet. Such devices are typically
unresponsive to touch without the use of one or more
special tools' pressure. Newer models however are
now able to detect touch from any pressure and often
have the ability to detect tilt and rotation as well.
Touch and tablet screens are used on LCD displays
as a substitute for the light pen, which can only work
on CRTs.
Types of Monitors - Cathode Ray Tube
(CRT)
• The cathode ray tube (CRT) - is a vacuum tube
containing an electron gun (a source of electrons) and
a fluorescent screen, with internal or external means
to accelerate and deflect the electron beam, used to
create images in the form of light emitted from the
fluorescent screen.
• The image may represent electrical waveforms
(oscilloscope), pictures (television, computer
monitor), radar targets and others.
• A cathode ray tube is a vacuum tube which consists of
one or more electron guns, possibly internal
electrostatic deflection plates, and a phosphor target.
Advantages of CRT
• High dynamic range (up to around 15,000:1),
excellent color, wide gamut and low black level.
The color range of CRTs is unmatched by any
display type except Organic Light-Emitting Diode -
OLED.
• Can display in almost any resolution and refresh
rate
• No input lag
• Sub-millisecond response times
• Near zero color, saturation, contrast or brightness
distortion. Excellent viewing angle.
• Allows the use of light guns/pens
Disadvantages of CRT
• Large size and weight, especially for bigger screens (a
20-inch (51 cm) unit weighs about 50 lb (23 kg))
• High power consumption
• Generates a considerable amount of heat when running
• Geometric distortion caused by variable beam travel
distances
• Can suffer screen burn-in
• Produces noticeable flicker at low refresh rates
• Small color displays, less than 7 inches diagonal
measurement, are relatively costly. *The maximum
practical size for CRTs is around 24 inches for computer
monitors; most direct view CRT televisions are 36 inches
or smaller, with regular-production models limited to
about 40 inches.
Liquid Crystal Display
• A Liquid Crystal Display - (LCD) is a flat panel display,
electronic visual display, video display that uses the light
modulating properties of liquid crystals (LCs). LCs do not
emit light directly.
• They are used in a wide range of applications, including
computer monitors, television, instrument panels, aircraft
cockpit displays, signage, etc. They are common in
consumer devices such as video players, gaming devices,
clocks, watches, calculators, and telephones.
• LCDs have displaced cathode ray tube (CRT) displays in
most applications. They are usually more compact,
lightweight, portable, less expensive, more reliable, and
easier on the eyes. They are available in a wider range of
screen sizes than CRT and plasma displays, and since they
do not use phosphors, they cannot suffer image burn-in.
Advantages of LCD
• Very compact and light.
• Low power consumption.
• No geometric distortion.
• Little or no flicker depending on backlight
technology.
• Not affected by screen burn-in.
• No high voltage or other hazards present
during repair/service.
• Can be made in almost any size or shape.
• No theoretical resolution limit.
Disadvantages of LCD
• Limited viewing angle, causing color, saturation, contrast and brightness to
vary, even within the intended viewing angle, by variations in posture.
• Bleeding and uneven backlighting in some monitors, causing brightness
distortion, especially toward the edges.
• Only one native resolution. Displaying resolutions either requires a video
scaler, lowering perceptual quality, or display at 1:1 pixel mapping, in which
images will be physically too large or won't fill the whole screen.
• Fixed bit depth, many cheaper LCDs are only able to display 262,000 colors.
• Input lag - Display lag is a phenomenon associated with some types of LCD
displays, and nearly all types of HDTVs, that refers to latency, or lag
measured by the difference between the time a signal is input into a display
and the time it is shown by the display
• Dead or stuck pixels may occur either during manufacturing or through use.
• In a constant on situation, thermalization may occur, which is when only part
of the screen has overheated and therefore looks discolored compared to the
rest of the screen.
• Not all LCDs are designed to allow easy replacement of the backlight.
• Cannot be used with light guns/pens.
Plasma Display Panel (PDP)