




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 8873 B. H. Juang
Copyright 2004
Lecture 6, Slide #
Lecture 6:
Quantization Theory
School of Electrical and Computer Engineering
Georgia Institute of Technology
Spring, 2004
Spring 2004
ECE 8873 B. H. Juang
Copyright 2004
Lecture 6, Slide #
-^
-^
-^
Digital Representation of Analog Signals
ECE 8873 B. H. Juang
Copyright 2004
Lecture 6, Slide #
Uniform Quantizer
-^
-^
X
) (^ Xq
7 6 5 4 3 2 1 0 index
∆
Quantization error:
Granular region:
Overload or saturation region:quantization error is unbounded
Spring 2004
ECE 8873 B. H. Juang
Copyright 2004
Lecture 6, Slide #
-^
-^
-^
-^
Quantization Error - SQNR
and
2
2
2
q
E
10
2
2
(^22)
10
“6dB gain per bit”
ECE 8873 B. H. Juang
Copyright 2004
Lecture 6, Slide #
-^
If
and
appear as a parsable units in their
respective domain, we can define the average code lengtha
per input “unit,” which can be sample, pixel, word
(variable number of letters), sequence, area, or time.
Basics Again
*^
*^
α β
β
) ( x α
β
Why?
Spring 2004
ECE 8873 B. H. Juang
Copyright 2004
Lecture 6, Slide #
Complete Coding Model^ α
′
ˆ A
A
I
I
B
α
ψ
1 − ψ
β ′
β
γ
Source Encoder
: maps letters in
to indices
i^
in
Channel Encoder
: maps indices in
to channel code in
Channel Decoder
: maps channel codes back to indices in
Source Decoder
: maps indices in
to codewords
in
α
′ (^) ψ 1 −
A
( i
Channel/transmisson system
is assumed to be lossless -
is equal to unity.
(^1) −
α ′
A
I^
I
ψ
(^1) −
ECE 8873 B. H. Juang
Copyright 2004
Lecture 6, Slide #
Objectives & Concerns
-^
-^
-^
) ˆ , (
x x
d
x
x ˆ
β α
α β
ˆ^ ) , (^
x x d
x
ˆ x
x
ˆ x
Spring 2004
ECE 8873 B. H. Juang
Copyright 2004
Lecture 6, Slide #
Further Notations & Terminology
}
,
{
I
i
S
S
i^
∈
=
α β
j
i
S
S
S
j
i
i^
≠
=
∩
⇒
if
disjoint
are
φ
A
S
i I i i^
=
∪
∈,
}
) (
:
{
I
i
x
x
S
i^
∈
=
′
=
α
rate.
the
determines
also
which
function"
length"
the is l
ECE 8873 B. H. Juang
Copyright 2004
Lecture 6, Slide #
Cell Shapes
-^
-^
i I ii
∈,
of
centroid
Euclidean
the is
x
∫
S k^
dx
S x x S V k S M
2
/ 2
nd
cS
M
x
c
cx
cS
k^
is dimension of
x.
Spring 2004
ECE 8873 B. H. Juang
Copyright 2004
Lecture 6, Slide #
Average Distortion
∫^
−
=
S^ i
i i
k i
i^
dx
S V
S x x S V k S M ) (
|| ) (
||
) (
1
1
) (
2
/ 2
∑ ∑ ∑
∫
=
= =
−
N i
k
i
i
N i
k i
i
i
N i
S^
i
i
kM i
f
kM S P
dx
i x S V S P Q D
i
1
/ 2 1
1
/ 2
1
2
1
β
β
i
i^
S V i f S P
In this expression, the effect of the partition shape is somewhatisolated.
ECE 8873 B. H. Juang
Copyright 2004
Lecture 6, Slide #
Voronoi Region, Cell, Partition
-^
Spring 2004
ECE 8873 B. H. Juang
Copyright 2004
Lecture 6, Slide #
Voronoi Partition
ECE 8873 B. H. Juang
Copyright 2004
Lecture 6, Slide #
-^
2
1
k
k
i
k
i
t k^
2
1
(0, 2)
) 1 , 3 (^
) 2 , 0 ( 1 ) 1 , 3 ( 2
− ) (^2) , (^0) ( 1 ) 1 , 3 ( 1
−
Spring 2004
ECE 8873 B. H. Juang
Copyright 2004
Lecture 6, Slide #
-^
-^
-^
0
0
0
i
0
k
N i
i
k
N i k
N i
k
/ 2 0
0
1
/ 2
0
0
1
0
/ 2
0
0
1
/ 2 1 0
0
= =
=
ECE 8873 B. H. Juang
Copyright 2004
Lecture 6, Slide #
-^
-^
k
/ 2 ) 0
(Ξ
0
0
The normalized moment of inertia does not changeThe average distortion
decreases as the volume shrinks in
k
k^
/ 2
/ 2
0
−
0
0
Spring 2004
ECE 8873 B. H. Juang
Copyright 2004
Lecture 6, Slide #
-^
Ξ
=
Ξ
≈
Ξ
≈ ≈
=
=
k
k
N i
k
i
N i
k
i
i
x
N
E
kM
x
N
dx
x f
kM
i
N
S V
i
f
kM
S V S M i f k Q D
/ 2
/ 2
1
/ 2
1
/ 2 1
)] (
[
1
) (
)] (
)[ (
) (
))] ( (
[
) (
)) ( (
) (
) ( ) (
)) ( (
) (
λ
λ
β λ β β k Q M
=
Ξ
) (^
*. k
Q
k
dimension on
depends
only
k
x
N
E
/ 2 )] (
[
1 λ
involves distributions of data and quantization points;in lattice quantizer, the point density is uniform andonly the shape matters.
( x λ
ECE 8873 B. H. Juang
Copyright 2004
Lecture 6, Slide #
Partial Distortion Theorem
3
3
3
i i
X
i
2
i
i^
α
∑
∑
=
=
∈
∈
−
=
=
N i
i
i
N i
i^
S X P S X X X E D D
1
2
1
}
{ }
| )) (
{(
α
∑
∑
∫^
=
=
−
N i
i
i
N i
x x^
i
i
i
i i
1
2
1
2
1
i
i
i
X i
i^
Average distortion in eachquantization region is thesame if point density isoptimally chosen.
Spring 2004
ECE 8873 B. H. Juang
Copyright 2004
Lecture 6, Slide #
Quantization Designs
-^
-^
-^
-^
k
N
/ 2 −
∝
{
k }
x
N
E
/ 2 )] (
[^
−
ECE 8873 B. H. Juang
Copyright 2004
Lecture 6, Slide #
Non-uniform Quantizer
-^
-^
Spring 2004
ECE 8873 B. H. Juang
Copyright 2004
Lecture 6, Slide #
Lloyd’s Method II
0 τ
1 τ
1 ˆ x
)
,
(^
1
0
τ
τ
ˆ^1 x 1 τ
2
2 ˆ x
N ˆ x
)
,
(^
1
∞
− N τ
1 1 1 1 1 2
Spring 2004
ECE 8873 B. H. Juang
Copyright 2004
Lecture 6, Slide #
Lloyd Principle and Consequences
-^
-^
2
) (
2
2
) (
2
2
2
2
2
2
) (
2
2
2
X q X X q X
X q
X
ε
ε
ε