EE S632 ْϺï

Chapter 10
Wavelet transforms that map integers
to integers
Authors:
A.R CALDERBANK, !NCR!D DAUBECH!ES,
W!N SWELDENS, AND BOON·LOCK YEO
August 1336
1
outline
!ntroduction
S transform
The lifting scheme
Lifting and integer wavelet transforms
Examples
Experiment results
Conclusion
2
!ntroduction
!nvertible wavelet transforms that map
integer to integers lossless coding.
!nteger Fourier and cosine transforms
!n this paper, we present two approaches
that lead to wavelet transform that map
integers to integers:
!nspired by precoding
Combining the lifting constructions with rounding·
off in a reversible way
Not an integer arithmetic wavelet transforms
3
S transform
Haar transform
Not an integer transform
!nteger version
Omitting the division by two
S transform(Sequential)
2
1 2 , 0 2 , 0
, 1

l l
l
s s
s
l l l
s s d
2 , 0 1 2 , 0 , 1

2 /
, 1 , 1 2 , 0 l l l
d s s
2 /
, 1 , 1 1 2 , 0 l l l
d s s

analysis
synthesis

S transform(cont.)
The sum and the difference of two integers
are either both even or both odd.
We can safely omit the last bit of the sum.
Example:
S+8=13 , 8·S=3 ··both odd
0101+1000=1101 , 1000·0101=0011
S
1,0
6:0110
(2)
d
1,0
3:0011
(2)
S+7=12 , 7·S=2 ··both even
0101+0111=1100 , 0111·0101=0010

2 / ) (
1 2 , 0 2 , 0 , 1

l l l
S S S
l l l
S S d
2 , 0 1 2 , 0 , 1

analysis
S
S transform(cont.)
Example:(S,8)
S
1,0
6:0110
(2)
d
1,0
3:0011
(2)
S
0,0
S:0101
(2)
S
0,1
8:1000
(2)
!t is not clear how to generalize this approach to
other wavelet filters.
Another way to write the Haar transform using
lifting steps,leads to a natural generalization.

2 /
, 1 , 1 2 , 0 l l l
d s s

2 / ) 1 ( ,
, 1 2 , 1 1 2 , 0

l l l
d s s
synthesis

2 / ) (
1 2 , 0 2 , 0 , 1

l l l
S S S
l l l
S S d
2 , 0 1 2 , 0 , 1
,

analysis
6
S transform(cont.)
l l l
s s d
2 , 0 1 2 , 0 , 1

2 /
, 1 2 , 0 , 1 l l l
d s s
2 /
, 1 , 1 2 , 0 l l l
d s s
l l l
s d s
2 , 0 , 1 1 2 , 0

2 / ) 1 ( 2 / d d d

2 /
, 1 , 1 2 , 0 l l l
d s s

2 / ) 1 (
, 1 2 , 1 1 2 , 0

l l l
d s s
analysis
synthesis
This example shows that lifting allows us to obtain an
integer transform using simply truncation and without
losing invertibility.
7
The lifting scheme
There are two ways of looking at lifting:
Basis function point of view
Transform point of view
The lifting algorithm can be described in
three steps:
Split step: The original signal, x
k
, is split into two
odd and even subsequences (lazy wavelet
transform):
1 2
0
2
0
,

d s
8
The lifting scheme(cont.)
Lifting step: This step is executed as N sub·steps,
where the odd and even subsequences are filtered by
the prediction and update filters, P
n
(k) and U
n
(k):
3 d k U s s
3 s k P d d
k
3
3
3

3

k
3
3
3

3

, , 2 , 1 , ) (
, , 2 , 1 , ) (
1
1 1

8

3
!
3
&
3
8

3
/

3
/

3
Forward
Backward
8

3
!
3
&
3
8

3
/

3
/

3
-
-

The lifting scheme(cont.)
Normalization step:

d K d s K s
1 0
,
l l
s s
2 , 0
) 0 (
, 1

1 2 , 0
) 0 (
, 1
,

l l
s d

k

k l

k

l

l
s p d d
) 1 (
, 1
) ( ) 1 (
, 1
) (
, 1

k

k l

k

l

l
d u s s
) (
, 1
) ( ) 1 (
, 1
) (
, 1
Forward wavelet transform Backward wavelet transform
10
Lifting and integer wavelet transforms
Write every wavelet transform using lifting
Build an integer version of every transform
!n each step round·off the result of the filter
!nvertible
]ust flipping the signs and reversing the
operations

2 / 1
) 1 (
, 1
) ( ) 1 (
, 1
) (
, 1
k

k l

k

l

l
s p d d

2 / 1
) (
, 1
) ( ) 1 (
, 1
) (
, 1
k

k l

k

l

l
d u s s
11
Examples(integer |S,3] filter)
s
0
0
d
0
0
s
1
0
d
1
0
s
2
0
d
2
0
s
3
0
nput sequence
4
1
4
1
1
s
0
1
4
1
4
1
1
s
1
1
4
1
4
1
1
s
2
1
1
s
3
1
Low-pass output
0
1
0 0 0
1
0
1
0
1
0 0 0 0
1
0
1
0 1 1
1
0 1
8
1
4
1
4
3
4
1
8
1
) (
2
1
) (
2
1
4
1
) (
4
1

s d s d s s s d s s d s d d s s
1
1 0
K K
2
1

2
1

1
2
1

2
1

1
2
1

2
1

1
d
0
1
d
1
1
d
2
1
igh-pass output
) (
2
1
0
1
0 0 1

s s d d
12
aubechies (, 7) filter
2
i 0 i
2
i 1 i
2
i
2
1 i
1
i
2
i
1
1 i
1
i
1
i
2
i
1
i
1
1 i
0
i
1
i
0
1 i
0
i
0
i
1
i
2i
0
i 1 2i
0
i
s K s , d K d
) d (d o s s , ) s (s ¸ d d
) d (d µ s s , ) s (s d d
s s , s d
L L
L L
L L


-
1
1 0
K K , 8 1.14960439 K K
22, 0.44350685 o , 62 0.88291107 ¸
854, 0.05298011 µ , 2 1.58613434 u

2
1

2
1

2
1

2
1

13
Experiment results
S1 S0 60 S7 60 S8 S6 S8
162 162 162 161 162 1S6 163 160
162 162 162 161 162 1S6 163 160
162 162 162 161 162 1S6 163 160
162 162 162 161 162 1S6 163 160
162 162 162 161 162 1S6 163 160
16 16 1S7 1SS 161 1S 1S8 1S
160 160 163 1S8 160 161 1S 1SS
11 1 1S0 1 ·3 ·1 ·2 0
2S7 2S6 2SS 2S6 0 ·1 ·7 ·3
238 23 238 23 ·2 ·1 ·7 ·2
27 22 21 21 2 · 0 1
66 61 60 62 2 1 ·2 ·2
·10 ·10 · ·10 0 0 0 0
·3 2 ·1 0 ·2 1 ·2 ·1
· S ·1 0 ·S 0 2 ·
S1 S0 60 S7 60 S8 S6 S8
162 162 162 161 162 1S6 163 160
162 162 162 161 162 1S6 163 160
162 162 162 161 162 1S6 163 160
162 162 162 161 162 1S6 163 160
162 162 162 161 162 1S6 163 160
16 16 1S7 1SS 161 1S 1S8 1S
160 160 163 1S8 160 161 1S 1SS
NSE = 0
1
Conclusion
!nvertible wavelet transforms that map integers to
integers have important applications in lossless
coding.
This approach builds upon the idea of factoring
wavelet transforms into lifting steps.
Easy to implement by hardware
1S

  ."" :.

6.5:694: .9.35 5.3.9.9610.5:694 '3.5.9.: 6503:65  .5:04 .473: 7945.65 &.515.9:3..

3.65:.5:694..7 5.9.5:694:.0: .79 79:5.3.4.3.9: 5:791/790615 64/55.9699..7796.9: 36::3::0615 5.4..96515.9610..5.65 59.7 5.5065:.1.90..9.5106:5./3.65.6.....9.9:.65.6.5:694: 5.:7.3.9.

.3.99:/3.9. 65. !6..5:694:  .55.0.4.9.9.

&.9.5:694 ..9.5:694 8   8    /   8   8  8    8   8  /  .9.

 8    8  /  .

3  ..5.3.9.  .9.99:65 "4.5:694 &85.5:694 5.88 839088 !6.9..6 &.1:65/..55.

5:694 065.9. $   $  $   .&.

473  .364.65.:4 .5:.569/6.3.3./.9/6..51.88 ':4.6.19506. /   $   $  .9: .9.:.611 0.

 .

.

611   ./6.

 &     1     .

 .

.

5   ./6.

  .

5:694 065. $   $  $   .&.9.

5.:: 8   8  /  .3:: :5. /   $   $  .

 .473   &     &    8    8  1    &    /   .

.7796.5:694:5 3.  .9: 56.659.:.69.3.3.9.3.6 6.:56.359.9..5 :.03.6.65  ...9...0.1:.9.3.5.9.7: 3.96.

8   8  /  .&.5:694 065.9.

 /   8   8  8   8  /  .

 / / .

  /  .

 8    8  8   8  8    /  /   .

:: /  .3:: :5.  .5.

9.5 5.66/..950.473:6:.3.  .5..5. 36:559.65.336::.9..6..51./3.5:694:5:473.  8   ':.

6 611.5:04 '9.5.65765.'3.:..::50.515:/:850: 3.5:694  8    /     .3. .5.5 .9.3.9.6 '3.40.7: &73.369.5:694765.5/1:09/15 .9:.:636625.3:5.3 2 ::73.7 '695.6..6 '9.6.

.7:0.'3.1.5:04 065.:!:/.5:.7 '::.

515 2  / 3  / 3  83  83  83  !3  /3  !3  83   & 3  / 3  83 &3 /3 3     3     .7/ 83  !3 /3  &3 /3 83 47.7/ . 3.:.91/ .65 ..7:  9.611.5171..9: #5 2 .7910.515:/:850:.93..

!694.5:04 065.'3..3.7 8   8 /   /  .3.91.5:694 69.65:.02.3.5:694 8  8  /  8     /   /    5 8   8   8   :  /     .9..9.91..

.5:694: 9.55.515.5.0:.5:694 5..5:694:53.9.3..9.3.79651.9.5 31.9.9.99:6569.

3.9 /   /    5 8   .6.6.9:3.

 8   8   :  /    .

65:  ..5199:5.3775. 679.  59.:5:./3 :.

9( *3..9 8      /    8      /    8       /     8 35:9806:03.884:95:9  8    /  8     8          .884:95:9  /  / 8     8  8  8  8   /   /   8  8   /   8  8   8 /   8  8   8     /    4 5.0 /    /   /     5.473: 5.

.9 /   8   8   8  / /    ./0:   3.L 8  /   / Ø L 8    8  8    8   8      8  × L /    /    8 .

L /   /       /    L /   8    L 8  .

   ×    Ø    .

               .

9:3.7945.:         .

.

.

 .

.

.

 .

.

.

.

 .

 .

.

 .

.

.

.

 .

.

.

.

.

 .

.

.

.

    &       .

/3.0/31:765..75.7: .6503:65 59.9.5:.5:694:5.9:..7730.647345.6...4.0.6 5.695 .5:694:..65:536::3:: 0615 ':.9  .9.9:.91.:.3..7796.63.3.1.4769..5./.