Chapter 3 Images and Graphics
Chapter 3 Images and Graphics
3 Multimedia System
Chapter 3
Images and Graphics
Graphics Format
Graphic image formats are specified through graphics primitives and their attributes.
Graphic primitive – line, rectangle, circle, ellipses, specification 2D and 3D
objects.
Graphic attribute – line style, line width, color.
Graphics formats represent a higher level of image representation, i.e., they are not
represented by a pixel matrix initially.
PHIGS (Programmer’s Hierarchical Interactive Graphics)
GKS (Graphical Kernel System)
Image Synthesis
Image synthesis is an integral part of all computer user interfaces is indispensable for
visualizing 2D, 3D and higher dimensional objects. Areas as diverse as education,
science, engineering, medicine, advertising and entertainment all rely on graphics.
Dynamic in Graphics
Graphics are not confined to static pictures. Picture can be dynamically varied; for
example, a user can control animation by adjusting the speed, portion of the total scene
inn view, amount of detail shown, etc.
Motion Dynamic:
With motion dynamic, objects can be moved and enabled with respect to a stationary
observer.
Update Dynamic:
Update dynamic is the actual change of the shape, color, or other properties of the objects
being viewed.
Application Model:
The application model represents the data or objects to be picture on the screen; it is
stored in an application database. The model is an application-specific and is created
independency of any particular display system.
Application Program:
The application program handles user input. It produces views by sending to the third
component, the graphics system, a series of graphics output commands that contain both
a detailed geometric description of what is to be viewed and the attributes describing how
the objects should appear.
Graphics System:
The graphics system is responsible for actually producing the picture from the detailed
descriptions and for passing the user’s input to the application program for processing.
The graphics system is an intermediary component between the application program and
the display hardware.
Graphics Hardware:
At the hardware level, a computer receives input from interaction devices and output
images to display devices.
Input:
Current input technology provide us with the ubiquitous mouse, the data tablet and
transparent, touch sensitive panel mounted on the screen.
The other graphics input are track-balls, space-balls or the data glove.
Track-ball can be made to sense rotation about the vertical axis in addition to the about
two horizontal axes.
A space-ball is a rigid sphere containing strain gauges. The user pushes or pulls the
sphere in any direction, providing 3D translation and orientation.
The data glove records hand position and orientation as well as finger movements. It is a
glove covered with small, lightweight sensors.
Image Analysis
Image analysis is concerned with techniques for extracting descriptions from images that
are necessary for high-level scene analysis methods.
Image analysis techniques include computation of perceived brightness and color, partial
or complete recovery of three-dimensional data in the scene, location of discontinuities
corresponding to objects in the scene and characterization of the properties of uniform
regions in the image.
Image processing includes image enhancement, pattern detection and recognition and
scene analysis and computer vision.
Image enhancement deals with improving image quality by eliminating noise or by
enhancing contrast.
Pattern detection and recognition deal with detecting and clarifying standard patterns and
finding distortions from these patterns.
Scene analysis and computer vision deal with recognizing and reconstructing 3D models
of a scene from several 2D images.
Formatting
Capturing an image from a camera and bringing it into a digital form. It means that we
will have a digital representation of an image in the form of pixels.
Conditioning
In image, there is usually uninteresting object introduced during digitize as noise. In
conditioning, interesting objects are highlighted by suppressing or analyzing
uninteresting in systematic or patterned variations. Conditioning is typically applied
uniformly and is context-independent.
Labeling
The informative pattern has structure as a spatial arrangement of events, each spatial
event being a set of connected pixels. Labeling determines in what kinds of spatial events
each pixel participates.
E.g. edge detection technique
Edge detection technique determines continuous adjacent pairs which differ in intensity
or color. Another labeling operation must occur after edge detection, namely
thresholding.
Thresholding specifies which edges should be accepted and which should not; the
thresholding operation filters only the significant edges from the image and labels them.
Grouping
It can turn edges into line by determining edges belongs to same spatial event. A
grouping operation, where edges are grouped into lines, is called line filtering. The
grouping operation involves a change of logical data structure.
Extracting
Generating list of properties from set of pixel in spatial event. Extraction can also
measure topological or spatial relationship between two or more grouping.
Matching
After the completion of the extracting operation, the events occurring on the image have
been identified and measured but the events in and of themselves have no meaning.
It is the matching operation that determines the interpretation of some related set of
image events, associating these events with some given three dimensional object or two-
dimensional shape.
The classic example is template matching, which compares the examined pattern with
stored models (templates) of known patterns and chooses the best match.
Image Transmission
Image transmission takes into account transmission of digital images through computer
networks. There are several requirements on the networks when images are transmitted:
The network must accommodate bursty data transport because image transmission
is bursty (The burst is caused by the large size of the image).
Image transmission requires reliable transport.
Time-dependence is not a dominant characteristic of the image in contrast to
audio/video transmission.
Image size depends on the image representation format used for transmission. There are
several possibilities:
Raw Image Data Transmission
The image is generated through a video digitizer and transmitted in its digital format.
Size = Spatial_resolution x Pixel_quantization
For example, the transmission of an image with a resolution of 640 x 480 pixels and pixel
quantization of 8 bit per pixel requires transmission of 307,200 bytes through the
network.
g(x,y)=T[f(x,y)]
f(x,y): input image, g(x,y): processed image
T: an operator
Contrast Stretching: to get an image with higher contrast than the original image.
The gray levels below m are darkened and the levels above m are brightened.