Professional Documents
Culture Documents
WWW - Studentseminars.in: A Vlsi Progressive Coding For Wavelet-Based Image Compression
WWW - Studentseminars.in: A Vlsi Progressive Coding For Wavelet-Based Image Compression
www.studentseminars.in
1 t b
a,b (t ) a a ;a, b R and a>0
1
Function of DWT
w
m ,n
x(t ), (t )
m ,n ; m, n €Z
Fig: 1D WAVELET TRANSFORM
c(i, j ) DWT { p(i, j )}
.
Where c (i, j) is the wavelet
coefficients.
To illustrate how the SPIHT Coding works lets look at the following example
Fig: 2.4.4 a 4x4 matrix showing the pixel values of a digital image.
The first step in SPIHT coding is the initialization of the sets LSP, LIS, LIP which is done as shown below
LIP LSP LIS
(0, 0) = 26 EMPTY (0, 1)= {13, 10, 6, 4}
(0, 1) = 6 (1, 0)= {4,-4, 2,- 2}
(1, 0) = -7 (1, 1)= {4,-3,-2, 0}
(1, 1) = 7
•S(0,0)=26>To, we transmit 1, since 26 is +ve ,we transmit 0; then move (0,0) to LSPT
(Temporary), then
•S(0,1)=6, S(1,0)= -7, S(1,1)=7 are all <To hence they are insignificant , therefore transmit
three 0,
Process LIS
•DS(0,0)=13, DS(0,1)=10, DS(1,0)=4 ,DS(1,1) are all less than To hence we transmit 0 for the
complete set S(0,1) similarly the sets S(1,0) and S(1,1) are insignificant hence transmit two
0’s
We need not process LSP since it is null
•Update LSPT to LSP
•The transmitted bit stream is 10000000(8 bits)
•LIP={(0,1),(1,0),(1,1)}
•LIS={D(0,1),D(1,0),D(1,1)}
Fig: 2.4.6 BLOCK DIAGRAM AFTER
FIRST SORTING PASS
n=4-1=3, Threshold T1= 2n=23=8
Process LIP
S(0,1)=6, S(1,0)=-7, S(1,1),=7, are insignificant ,hence we transmit 3 0’S,
Process LIS
DS (0, 0) =13, DS (0, 1) =10, these two are > T1 hence we transmit 1 for the set
then we transmit 10 for 1 and again we transmit 10 for 10, then move (0, 2) and (0, 3)
to LSPT
DS(1,0)=6 and DS(1,1)=4 < T1 we transmit two O’S ,then move (1,2) and(1,3)
to LIP
The sets D (1, 0) and D (1, 1) are insignificant hence we transmit two 0’S
Process LSP
C (0, 0) =26= (11010)2 ---- TRANSMIT NTH MSB =1
•Update LSPT to LSP
•The transmitted bit stream is 0001101000001(13 bits)
•LIP={(0,1),(1,0),(1,1),(1,2),(1,3)}
•LIS={D(1,0),D(1,1)}
•LSP={ (0,0),(0,2),(0,3) }
pˆ (i, j ) IDWT {c(i, j )}
called as “progressive
transmission”
DECODER
An example of decoding the above transmitted bit is as shown below
First Receive
Get n=4, To=2n = 16
LIP = {(0, 0), (0, 1), (1, 0), (1, 1)}
LIS ={ D(0,0),D(0,1),D(1,0),D(1,1)}
LSP = { }
The transmitted bit stream is 10000000(8 bits)
Process LIP
Get 1=S(0,0) is significant, next is zero hence +ve value; move S(0,0) to LSP,
Then construct C(0,0)=(3/2)TO=(3/2)16 =24
Get three 0 = S (0, 1), S (1, 0), S (1, 1) are insignificant
Process LIS
Get three 0 = DS (0, 1), DS (1, 0), DS (1, 1) are insignificant
LIP = {(0, 1), (1, 0), (1, 1)}
LIS ={ D(0,1),D(1,0),D(1,1)}
LSP = {(0, 0)}
24 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0