



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




ECE-8833 B. H. Juang
Copyright 2004
Lecture #1, Slide #
ECE 8833
Data Compression and Modeling
School of Electrical and Computer Engineering
Georgia Institute of Technology
Spring, 2004
ECE-8833 B. H. Juang
Copyright 2004
Spring 2004
Lecture #1, Slide #
Signal– Continuous-time or discrete-time function– Scalar- or vector-valued– Any information-bearing representations
-^
Coding (due to Shannon)– Source coding: conversion of signal into efficient
digital representation for conservation of resourcesneeded for transmission or storage of the signal.
transformation of signal (or data) so as to permitreliable communication in presence of noise ordistortion.
ECE-8833 B. H. Juang
Copyright 2004
Lecture #1, Slide #
Y^
-.-- Z^
--.. 0
----- 1
.---- 2
..--- 3
...-- 4
....- 5
.....
I^
.. J^
.--- K^
-.- L^
.-.. M
-- N^
-. O
--- P^
.--.
6
-.... 7
--... 8
---.. 9
----. Fullstop
.-.-.-
Comma
--..--
Query
..--..
Q^
--.- R^
.-. S^
... T^
- U^
..- V^
...- W
.-- X^
-..-
A^
.- B^
-... C^
-.-. D^
-.. E^
. F^
..-. G
--. H^
....
ECE-8833 B. H. Juang
Copyright 2004
Spring 2004
Lecture #1, Slide #
Encoder
Decoder
TransmissionOr Storage
Media (Channel)
Source
User
Source coder
Channel coder
Source decoder
Channel decoder
Channel
Comparison of sourcesignal and reproducedsignal to determine
Quality or Fidelity
bits
bits
ECE-8833 B. H. Juang
Copyright 2004
Lecture #1, Slide #
Various practical concepts related to time:– Time compression– Time scale modification with or without changing
the signal characteristics
The intelligibility of speeded speech
." Journal
of Experimental Psychology, 45:102-108, 1953.
Our interest:– Encoding or representation of information for
storage or transmission at the lowest cost inresources (bandwidth, storage area, etc.) andwithout significant loss of information uponreconstruction.
ECE-8833 B. H. Juang
Copyright 2004
Spring 2004
Lecture #1, Slide #
Representation of analog signal for digital transmissionor storage; often integrated with A/D conversion
-^
Compression of digital information to reducetransmission or storage requirement; compression canalso be realized in analog domain
-^
efficiency is defined in terms of bandwidth or storagerequired for the delivery of a fixed amount ofinformation such as a second of speech, a video frame
-^
Result of coding is a sequence of digital, often binary,symbols
-^
The sequence of digital symbols may or may not haveexplicit “delimiter.”
ECE-8833 B. H. Juang
Copyright 2004
Lecture #1, Slide #
-^
If the minimum achievable source coding rate of a givensource is strictly below the capacity of the channel, then thesource can be transmitted reliably by appropriate encoding-decoding; implicitly, reliable transmission can beaccomplished by separate source and channel coding.
-^
If the source coding rate is strictly greater than the channelcapacity, then reliable transmission is impossible; but, wecan still strive to reduce the negative impact of the rateexcess by joint source-channel coding.
-^
Memoryless block source codes can achieve minimumaverage distortion for a constrained rate, in the absence ofcomplexity constraint – i.e. source coding subject to afidelity criterion.
ECE-8833 B. H. Juang
Copyright 2004
Spring 2004
Lecture #1, Slide #
Coding algorithm design
-^
[Bit] rate and distortion relationship; lossy or losslesscoding
-^
Implementation complexity
-^
Memory and delay requirement
-^
Robustness in performance against source variation
-^
Choice and significance of performance metric
-^
Impact of errors in code upon fidelity performancePractical coding algorithms often involve detailedtradeoffs among these issues.
ECE-8833 B. H. Juang
Copyright 2004
Lecture #1, Slide #
Structure – deterministic component; may or may notbe known; may or may not be easily represented
-^
Entropy – random component; never knowncompletely in real world
Many (incomplete) ways to view it:•^
Treat every time sample as the outcome of anindependent random experiment
-^
Treat the amplitude of the sinusoid as random variable
-^
Treat the phase as random variable
-^
Treat the signal not as a sinusoid but a general randomprocess
ECE-8833 B. H. Juang
Copyright 2004
Spring 2004
Lecture #1, Slide #
Sample space, observation space, or signal spacebuilt upon a symbol set
-^
Let
be a signal sequence
generated by the source. A sequence of length
n
so
generated can be considered as an outcome of acombined experiment with the observation spaceformed by the cartesian product of the originalalphabet:
Mi i
1
=
which is also called an alphabet without loss ofgenerality, the symbols
are referred to as letters,
and
m
the size of the alphabet.
(^
3 2 1
n X
X X X^
L
= X
j
i
n^
and
Again, the experiments may not be independent.
ECE-8833 B. H. Juang
Copyright 2004
Lecture #1, Slide #
The average self-information of such a length-
n
sequence is
-^
The entropy of the source (per symbol) is defined as
-^
In the lack of complete knowledge of the experiment,assumptions are often made to facilitate entropycalculation; e.g., iid, Markov, …
)
, ,
,
Pr( log
)
, ,
,
Pr(
2
1
1
2
2
1
2
1
1
1
1
2
1
n
n
n
i
n
i
i
m i
m i
m i
i
n
i
i
n
X
X
X
X
X
X
G
α
α
α
α
α
α
=
=
=
=
=
=
− =^
=^
=^
=
L L
L G^ n
S H
n
n^
∞→ =^
lim ) (
ECE-8833 B. H. Juang
Copyright 2004
Spring 2004
Lecture #1, Slide #
If
are iid (independent & identically distributed),
with
denoting a generic random variable as
=
=
=^
=^
= =^
=^
=
=
=
= • = = = − =
=
=
=
m i
i
i
n k
i k
m i
m i
m i
i n
i
i
i n
i
i
m i
m i
m i
i n
i
i
n
X
X
n
X
X
X
X
X
X
X
X
X
X
G
k
n
n n
n
n
1
1
1
1
1
2
1
2
1
1
1
1
2
1
)
Pr( log)
Pr(
)
Pr( log )
Pr( )
Pr()
Pr(
)
, ,
,
Pr( log
)
, ,
,
Pr(
1
2
2
1
2
1
1
2
2
1 α
α
α
α
α
α
α
α
α
α
α
α
L
L
L L
L
i X
∞→
=
=
=
m i
n
n^
i X
i X
G n
S H
1
)
Pr( log)
Pr(
lim ) (
i X
If the condition of iid is assumed, rather than a givenfact, then the above
is called 1
st^
order entropy.
ECE-8833 B. H. Juang
Copyright 2004
Spring 2004
Lecture #1, Slide #
True source entropy– defined over the true probability space (and the true
probability measure of the source, structureincluded); a characteristic quantity of the source.
Estimated source entropy– Source distribution is usually not completely or
precisely known (particularly in sequences resultedfrom non-independent combined experiments);
estimated source distribution with certain assumedconditions;
estimated entropy.