MMC Module 2
MMC Module 2
Multimedia information
r
representation
a
2.1 Introduction
• All types of multimedia information are stored and
processed within a computer in a digital form.
h
• They can be integrated together and transmitted over a
single all-digital communications network.
S
2.2 Digitization principles
• A signal whose amplitude varies continuously with time
is known as an analog signal.
CYH/MMT/Rep/p.1 CYH/MMT/Rep/p.2
k
• Nyquist sampling theorem: The amplitude of a signal
r
must be sampled at a minimum rate that is equal to or
greater than twice the bandwidth of the signal.
h a
S • Quantization is the process that confines the amplitude
of a signal into a finite number of values.
r
maximum positive and negative signal amplitude.
h a
S
CYH/MMT/Rep/p.5 CYH/MMT/Rep/p.6
k
2.3 Text
r
• There are 3 types of text that are used to produce pages
of documents:
a
• Unformatted text:(=plaintext)
• comprise strings of fixed-size characters from a
limited character set such as ASCII code set.
h
• e.g. .txt file
• Hypertext:
S
• integrated set of documents (each comprising
formatted text) to be created which have defined
linkages (hyperlinks) between them.
• e.g. .htm file
CYH/MMT/Rep/p.7 CYH/MMT/Rep/p.8
k
2.4 Images
r
• Images include computer-generated images (referred to
as computer graphics) and digitized images of
documents and pictures.
a
• All images are displayed in the form of a two-
dimensional matrix of individual picture elements called
h
pixels.
2.4.1 Graphics
S
• Graphics are composed of all kinds of visual objects
such as lines, arcs, squares, circles and so on, as well as
any form of hand-drawn objects.
CYH/MMT/Rep/p.9 CYH/MMT/Rep/p.10
k
2.4.2 Digitized pictures • Raster-scan principles:
r
• A whole spectrum of colors can be produced by using
different proportions of the 3 primary colors red, green
and blue.
a
• There are 2 mixing techniques: additive color mixing and
subtractive color mixing.
CYH/MMT/Rep/p.11 CYH/MMT/Rep/p.12
k
• The number of bits per pixel is known as the pixel depth
and determines the range of different colors that can be
r
produced.
a
scanned line and the number of lines per frame.
(common ratios: 4:3, 16:9)
h
• Example display resolutions and memory requirements
Standard Resolution Number Memory required
of colors per frame (bytes)
S
VGA 640X480X8 256 307.2kB
XGA 640X480X16 64k 614.4kB
1024X768X8 256 786.432kB
SVGA 800X600X16 64k 960kB
1024X768X8 256 786.432kB
1024X768X24 16M 2359.296kB
CYH/MMT/Rep/p.13 CYH/MMT/Rep/p.14
k
2.5 Audio
r
• There are 2 types of audio signal: speech and music-
quality audio.
a
• Audio can be produced either naturally by means of a
microphone or electronically using some form of
h
synthesizer.
S
digitized values must be converted back into its analog
form as loudspeakers operate using an analog signal.
• Summary of characteristics
Speech Music
Typical bandwidth 50Hz - 10kHz 15Hz - 20kHz
Sampling rate 20kHz 40kHz
Bits per sample 12 16
No. of channels usually mono usually stereo
CYH/MMT/Rep/p.15 CYH/MMT/Rep/p.16
k
2.5.1 PCM
r
• The bandwidth of a speech circuit in a PSTN was limited
to 200Hz through to 3.4kHz. ⇒ Sampling rate 8 kHz
a
• The digitization procedure is known as pulse code
modulation (PCM) and the international standard
relating to this is defined in ITU-T Recommendation
h
G.711.
S
compression-expansion characteristics
CYH/MMT/Rep/p.17 CYH/MMT/Rep/p.18
k
2.5.3 Synthesized audio
2.5.2 CD-quality audio
r
• Synthesized audio is often used in multimedia
• Sampling rates 44.1kHz applications since
a
(i) the amount of memory required can be 2 to 3 orders
• 16 bits per sample
of magnitude less than that required to store the
• 2 channels equivalent digitized waveform version,
h
(ii) it is much easier to edit synthesized audio and to mix
several passages together.
S
• The computer takes input commands from the keyboard
and outputs these to the sound generators, which, in turn,
produce the corresponding sound wave forms to drive
the speakers.
CYH/MMT/Rep/p.19 CYH/MMT/Rep/p.20
k
• The refresh rate can be halved with interlaced scanning.
r
• Progressive scanning: Frames are not split into fields
and each of them is transmitted as a whole.
a
• Two types of system (based on line resolution):
• NTSC: 525 lines per frame
• PAL/CCIR/SECAM: 625 lines per frame
h
• For historical reason, a different set of color signals from
R, G and B were selected for color television broadcasts.
S
• 1 luminance and 2 chrominance components are used to
describe the color of each pixel.
r
• These are intended for use with standard television
receivers. CCIR-601 for use in television studios.
• The 3 component signals are usually digitized separately • Line sampling rate: 13.5MHz for luminance and
a
prior to their transmission. 6.75MHz for chrominance signals.
• The resolution of the eyes is less sensitive for color than • The number of bits per sample is 8 for all 3 signals.
h
it is for luminance.
• The International Telecommunications Union -
S
Radiocommunications Branch (ITU-R) - formerly known
as Consultative Committee for International
Radiocommunications (CCIR) - defined a standard for
the digitization of video pictures known as
Recommunication CCIR-601.
• Variants of this standard have been defined for use in
other application domains such as digital television
broadcasting, digital telephony and videoconferencing.
• Collectively these are known as digitization formats.
CYH/MMT/Rep/p.23 CYH/MMT/Rep/p.24
k
• 4:2:0 format • SIF (Source intermediate format)
• used in digital video broadcast applications. • Give a picture quality comparable with that obtained
r
with VCRs
• Interlaced scanning is used
a
• Absence of chrominance samples in alternative lines is
the origin of the term 4:2:0
r
• PC video digitization formats:
• Quarter of CIF Digitization System Spatial resolution Temporal
format resolution
a
4:2:0 525-line Y= 640x480 60Hz
Cb=Cr= 320x240
625-line Y= 768x576 50Hz
h
Cb=Cr= 384x288
SIF 525-line Y= 320x240 30Hz
Cb=Cr= 160x240
S
625-line Y= 384x288 25Hz
Cb=Cr= 192x144
CIF Y= 384x288 30Hz
Cb=Cr= 192x144
QCIF Y= 192x144 15/7.5Hz
Cb=Cr= 96x72
CYH/MMT/Rep/p.27 CYH/MMT/Rep/p.28