Professional Documents
Culture Documents
Zero Tree Coding
Zero Tree Coding
22 - 1
Agenda
Overview
Discrete Wavelet Transform
Zerotree Coding of Wavelet Coefficients
Successive-Approximation Quantization (SAQ)
Adaptive Arithmetic Coding
Relationship to Other Coding Algorithms
A Simple Example
Experimental Results
Conclusion
References
Q&A
22 - 2
Overview (2-1)
Two-fold problem
Obtaining best image quality for a given bit rate
Accomplishing this task in an embedded fashion
22 - 3
Overview (2-2)
- Embedded Zerotree Wavelet (EZW)
2 Properties
Producing a fully embedded bit stream
Providing competitive compression performance
4 Features
2 Advantages
Precise rate control
No training of any kind required
Embedded Zerotree Wavelet
22 - 4
Agenda
Overview
Discrete Wavelet Transform
Zerotree Coding of Wavelet Coefficients
Successive-Approximation Quantization (SAQ)
Adaptive Arithmetic Coding
Relationship to Other Coding Algorithms
A Simple Example
Experimental Results
Conclusion
References
Q&A
22 - 5
HL1
LL2
HL2
HL1
LH2 HH2
LH1
HH1
First stage
LH1
HH1
Second stage
22 - 6
Df1
Df1
D32jf
wx
In the frequency domain
22 - 8
Child:
respect
a
given
threshold
T, to be
wavelet
a
coefficient
x is said
with respect
What
isnode
insignificant?
No
childto
is scanned
before
itsinsignificant
parent.
A
coefficient
x
All
coefficients
corresponding
to the same spatial location at
THEN:
to
a
given
threshold
T
if
:
Zerotree
isofbased
on
anfor
empirically
true
hypothesis
IF
An
element
a zerotree
threshold
T is
the
next
finer
scale
of
similar
orientation.
All
wavelet
of the same
orientation
inwith
the same
|x|
<and
T allcoefficients
itself
ofdependencies
its descendents
are
insignificant
IF
Parent-child
(descendants & ancestors) respect
spatial
location
at finer scales
are likelyfound
to be zerotree
insignificant
to
T.
It
is
not
the
descendant
of
a
previously
root
Scanning
of
the
coefficients
with
respect to
for threshold
T. T.
An elementParent-child
of aScanning
zerotree
for threshold
T
order
of the subbands
dependencies
of subbands
A zerotree root
Embedded Zerotree Wavelet
22 - 9
22 - 10
SAQ (3-1)
Successive-Approximation Quantization (SAQ)
Sequentially applies a sequence of thresholds T0,,TN-1 to
determine significance
Thresholds
Chose so that Ti = Ti-1 /2
T0 is chosen so that |xj| < 2T0 for all coefficients xj
22 - 11
SAQ (3-2)
Dominant pass
During
a dominant
Subordinate
pass pass:
coefficients
with
coordinates on the dominant list are compared to
Encoding
process
During a subordinate pass:
the threshold Ti to determine their significance, and if significant,
all coefficients on the subordinate list are scanned and the
SAQ
process:
their encoding
sign.
specifications of the magnitudes available to the decoder are
FOR
I = T0
TO
TN-1
refined to an additional
bit of precision.
Dominant Pass;
Subordinate Pass (generating string of symbols) ;
String of symbols is entropy encoded;
Sorting (subordinate list in decreasing magnitude);
IF (Target stopping condition = TRUE) break;
NEXT;
22 - 12
SAQ (3-3)
Decoding
Each decode symbol, during both passes, refines and reduces
the width of the uncertainty interval in which the true value of the
coefficient ( or coefficients, in the case of a zerotree root)
Reconstruction value
Can be anywhere in that uncertainty interval
Practically, use the center of the uncertainty interval
Good feature
Terminating the decoding of an embedded bit stream at a specific
point in the bit stream produces exactly the same image that
would have resulted had that point been the initial target rate
22 - 13
22 - 14
Its sign and bit position are measured and encoded during the
dominant
PPC pass
EZW
Item
Dominant
(digits to
anda)including
1)
First b)bits
second
a)the left
First
secondthe
b) MSBD)
No
Measured
and encoded
2)
c)
c) during the dominant pass
Subordinate
3)
Training needed
Noright
training
needed
bits (digits to the
of the MSBD)
Measured and encoded during the subordinate pass
22 - 15
Agenda
Overview
Discrete Wavelet Transform
Zerotree Coding of Wavelet Coefficients
Successive-Approximation Quantization (SAQ)
Adaptive Arithmetic Coding
Relationship to Other Coding Algorithms
A Simple Example
Experimental Results
Conclusion
References
Q&A
22 - 16
-5 9 -1 47 4 6 -2 2
3 0 -3 2 3 -2 0 4
6
5 11 5
3 -4
2 -3
Example
Embedded Zerotree Wavelet
22 - 17
63 -34 49 10 7 13 -12 7
-31 23 14 -13 3 4 6 -1
15 14 3 -12 5 -7
-9 -7 -14 8 4 -2
-5 9 -1 47 4 6 -2 2
3 0 -3 2 3 -2 0 4
6
5 11 5
3 -4
2 -3
Example
Embedded Zerotree Wavelet
Experimental Results
12-byte header
of wavelet scales
For imageNumber
of Barbara:
Dimensions of the image
For number
of significant
coefficients
retained
at in
the
same
low bit
rate:
Maximum
histogram
count
for
the
models
the
arithmetic
coder
Item
JPEG
EZW
Image
& initial
Same file
size mean
PSNR
lowerthreshold Looks better
Item
Other
EZW
Same Applied
PSNR to standard
Looks better
size smaller
b/w 8 bpp. File
test images
Number retained
Less
More
512
X
512
Barbara
image
(Reason: The zerotree coding provides a much better way of
encoding
the positions
of the significant coefficients.)
Compared
with JPEG
Compared with other wavelet transform coding
Embedded Zerotree Wavelet
22 - 19
Conclusion
2 Properties
Producing a fully embedded bit stream
Providing competitive compression performance
4 Features
2 Advantages
Precise rate control
No training of any kind required
Embedded Zerotree Wavelet
22 - 20
References
1. E. H. Adelson, E. Simoncelli, and R. Hingorani, Orthogonal pyramid
transforms for image coding, Proc. SPIE, vol.845, Cambridge, MA, Oct. 1987,
pp. 50-58
2. S. Mallat, A theory for multiresolution signal decomposition: The wavelet
representation, IEEE Trans. Pattern Anal. Mach. Intell., vol. 11, pp. 674-693,
July 1989
3. I. H. Witten, R. Neal, and J. G. Cleary, Arithmetic coding for data
compression, Comm. ACM, vol. 30, pp. 520-540, June 1987
4. J. Shapiro, Embedded image coding using zerotrees of wavelet coefficients,
IEEE Trans. Signal Processing., vol. 41, pp. 3445-3462, Dec. 1993
22 - 21
Thank You!
QUESTION ?
22 - 22