Unit2 Ece MMC 6th Sem
Unit2 Ece MMC 6th Sem
[Bec613A]
Jayaprasad K M
Assistant Professor,
ECE Department
Coorg Institute of Technology
Page 79-135, Fred Halsal “ Multimedia Communication”
Introduction
▪ Codeword: a fixed number of bits representing a set of
symbols, e.g) ASCII Code, FAX Run-length Code, … .
▪ Signal Encoder
Audio-Video CODEC
▪ Signal Decoder (Coder-Decoder)
Data
Data
Host Network Host
Signal encoder: Electrical circuit used for the conversion of an analogue signal
into a digital form
Signal decoder: Electrical circuit that converts stored digitized samples into
time-varying analogue form
analogue Signals
The Fourier analysis can be
As mentioned earlier the used to show that any time
amplitude of the signal varying signal is made up of
varies continuously with infinite number of single-
time frequency sinusoidal
components
• To transmit an analogue
signal through a network the
bandwidth of the
transmission channel should
be equal to or greater than
the signal bandwidth
To avoid distortion the source signal is first passed through the BLF which is
designed to pass only the frequency components that are within the channel
bandwidth
This avoids alias signals caused by undersampling
Quantization Intervals
• Representation of the analogue samples require an infinite
number of digits
Quantization Intervals
Three bits are used to represent each sample ( 1 bit for the sign and
two bits to represent the magnitude)
Encoder+Decoder= Codec
A time
D Decoder
4 7
0 3 5 Lowpass
DAC
filter
E
-4 -5 -3
G H
F 0 000 0 100 0 111 0 011 1 100 1 101 1 011 0 101
G
0 101(1-bit sign & 3-bit
H amplitude magnitude)
19
Text
All objects are made up of a series of lines that are connected to each
other and, what appear as a curved line, in practice is a series of short
lines each made up of a string of pixels
2. Line-by-Line Scanning
•The machine uses a CIS (Contact Image Sensor) or CCD (Charge-
Coupled Device) scanner to capture the image.
•A light source (LED or fluorescent lamp) illuminates the paper.
•A moving sensor scans one line at a time, converting the light into
an electrical signal.
• Fax machines uses a single binary digit to represent each pel, a 0 for a white
pel and a 1 for a black pel. Hence the digital representation of a scanned page
produces a stream about 2 million bits
• Single binary digit per pel means fax machines are best suited for bitonal
images
Color Derivative Principles
Colour Derivative Principles – additive colour mixing
( R + G + B)
• Black is produced when all three primary colours (R,G,B) are zero.
• Useful for producing a colour image on a black surface as is the case in display
applications
Digitised Pictures- Subtractive colour mixing
• The picture tubes used in most television sets operate using what is known as a
raster-scan; this involves a finely-focussed electron beam being scanned over the
Digitized Pictures- Raster Scan
Aspect Ratio: This is the ratio of the screen width to the screen height
(television tubes and PC monitors have an aspect ratio of 4/3 and wide screen
television is 16/9)
Dgitized Pictures
Digitized Pictures – Screen Resolutions
Example display resolutions: VGA (640x480x8), XGA (1024x768x8) and SVGA (1024x768x24
Digitized Pictures • Typical arrangement that is used to
– Colour Image capture and store a digital image produced
Capture: by a scanner or a digital camera (either a
still camera or a video camera)
Schematic
Digitized Pictures
– Colour Image • RGB signal generation alternatives
Capture:
Schematic
Audio
▪ Typical Audio Types
▪ Speech signal for interpersonal application such as (video) telephony
▪ Music-quality audio such as CD-on-demand & broadcast TV
▪ synthesizer
▪ microphone
▪ loudspeaker
Basics on Audio Signals
1. Human speech: 50Hz -10KHz (4Khz in a plain-old-telephone system)
- 2 x 10K or 2 x 8K sps monaural (mono) speech
- (2 x 10K) x 2 or (2 x 8K) x 2 sps stereophonic speech
- ideally, 12 bits/sample
+ signal
11
Linear
quantizati
1
1 V
1
on
Polarity: 1
0
intervals 0
1
10 1
Segment 0
1
0
codes(+) 0
1
01 1
0
1
0
0
1
00 1
0
1
0
- 0
1
0
0 +
00
V 0
0
0
1 V
Polarity: 0
1
0
Narrower 0
1
0 01
intervals 1
1
0
Segmen
for 0
1
0 10 t
smaller 1
1
0
codes(-)
amplitude 0
1
0 11
-
1
1
0
V 1
1
63
PCM Speech(3)
▪ Companding Example: 5-bit per sample(1-bit polarity, 2-bit segment code,
& 2-bit quantization code)
+ signal
11
Linear
quantizatio
1
1 V
1
n intervals 0
Polarity: 1
01
11
Segmen 10 01
00
t 01
1
01 1
codes(+) 01
00
01
11
00 01
00
0 0
1 0
0
0 0
1
00
10
Polarity: 0
Wider
00
10
01
intervals 1
1
10 Segmen
for smaller 00
10 t
amplitude 11 10
10 codes(-)
00
10
11 11
- 1
0
V 1
1
64
CD-Quality Audio
67
68
2.6 Video (Motion): Broadcast TV
Video Applications
70
Broadcast TV(3)
▪ Chrominance Components
▪ Composite Video Signal for Transmission
- Ys, Cb, and Cr signals are combined together and signal differences are
scaled down before transmission
▪ In PAL(Phase Alternating Line)
- Y = 0.299 R + 0.587 G + 0.114 B
- U(Cb) = 0.493(B-Y) = -0.147R-0.289G+0.437B
- V(Cr ) = 0.877(R-Y) = 0.615R-0.515G-0.1B
▪ In NTSC(National Television Standards Committee)
- Y = 0.299 R + 0.587 G + 0.114 B
- I(Cb) = 0.74(R-Y)-0.27(B-Y) = 0.599R-0.276G-0.324B
- Q(Cr ) = 0.48(R-Y)+0.41(B-Y) = 0.212R-0.528+0.311B
71
72
Digital Video
➢ Advantages of DV
▪ Easy to store in computer
▪ Easy to edit and integrate with other types
▪ Easy to digitize three RGB component signals
▪ The resolution of eyes are less sensitive for color than it is for
luminance. Hence, two chrominance signals can tolerate a
reduced resolution
▪ Transmission bandwidth is achieved by using the luminance
and two color difference signals, instead of the RGB
signals directly.
▪ CCIR-601 Recommendations: standard for the digitization
of video pictures
73
Digital Video
▪ 4:2:2 format(CCIR-601)
▪ Recommendation for use in TV studio
▪ Three component (analog) video signals may have bandwidths
▪ up to 6Mhz for the luminance ⇒ 12Mhz sps
▪ less than 3Mhz for the two chrominance signals ⇒ 6 Mhz sps
▪ In reality, 13.5M sps for luminance, 6.75 M sps for the two
chrominance signals
▪ In NTSC(525-line) system, total line sweep time 63.56μsec =
retrace time 11.56 μsec + an active line sweep time 52 μsec
▪ In PAL(625-line) system, total line sweep time 64μsec =
retrace time 12 μsec + an active line sweep time 52 μsec
Orthogonal
sampling
Line sampling rate: Line sampling rate:
5210-613.5106 = 702 samples/line 5210-66.75106 = 351 samples/line
In reality, 720 samples/line In reality, 360 samples/line
75
Digital Video
▪ 4:2:0 Format
▪ used in Digital Broadcast Applications
▪ interlaced scanning with the absence of chrominance samples in
alternative lines
▪ 525-line system
▪ Y = 720480(the same as 4:2:2 format), Cb = Cr = 360240
▪ 625-line system
▪ Y = 720576, Cb = Cr = 360288
▪ bit rate per line: 13.51068 + 2(3.3751068) = 162Mbps
▪ HDTV Format
▪ used in High-Definition Television (four times bit rate)
▪ 4/3 14401152 pixels(50/60 Hz refresh rate) & 16/9 wide-screen
19201152 pixels(25/30 Hz) with # of visible lines per frame 1080
76
Digital Video
▪ SIF (Source Intermediate Format), 4:1:1 Format
▪ used in Video Cassette Recorders (VCRs)
▪ progressive (non-interlaced) scanning since it is intended for storage
applications
▪ Half of 4:2:0 format: “Subsampling & Temporal Resolution”
▪ 525-line system
▪ Y = 360240, Cb = Cr = 180120
▪ 625-line system
▪ Y = 360288, Cb = Cr = 180144
▪ bit rate per line
▪ 6.751068 + 2(1.68751068) = 81Mbps
77
Digital Video
▪ CIF (Common Intermediate Format), 4:1:1 format
▪ used in Video Conferencing applications
▪ spatial resolution of the SIF 625-line system plus temporal
resolution of the SIF 525-line system
▪ Y = 360288, Cb = Cr = 180144
▪ refresh rate: 30 Hz
▪ bit rate per line: 6.751068 + 2(1.68751068) = 81Mbps
▪ many variants for videoconferencing using desktop PCs or
ISDN/PSTN
▪ say, typically 4 or 16 64Kbps channels used
▪ 4CIF: Y = 720576, Cb = Cr = 360288
▪ 16CIF: Y = 14401152, Cb = Cr = 720576
78
Digital Video
▪ QCIF (Quarter CIF), 4:1:1 Format
▪ used in Video Telephony applications
▪ half spatial resolution of the CIF and either half
or quarter temporal resolution of the CIF
▪ Y = 180144, Cb = Cr = 9072
▪ refresh rate: 15 or 7.5 Hz
▪ bit rate per line:
3.3751068 + 2(0.843751068) = 81Mbps
▪ a lower version is typically used for single 64Kbps channel
ISDN or PSTN with modems: sub-QCIF(SQCIF)
▪ Y = 12896, Cb = Cr = 6448
79
Digital Video
▪ PC Video Digitization