MODIFIED EZW CODING FOR THE M-BAND WAVELET TRANSFORM AND ITS APPLICATION TO IMAGE COMPRESSION Ganesh D. Bhokare Metta Technologies, India and PhD Student, Elect Engg., IIT Bombay, India Raghuram J Karthik Texas Instruments India Pvt. Ltd. Vikram M. Gadre Professor, Elect. Engg., IIT Bombay, India ABSTRACT This paper describes the extension of the embedded zero wavelet tree coding technique [2] to the M-Band wavelet transform. Through this scheme, we improve the efficiency of the embedded zero wavelet tree coding, that finds extensive application as a variable bit-rate coder. To prove the efficacy, we compare the compression ratio and the PSNR obtained by a traditional 2-Band wavelet based coder, with those obtained with the M-Band wavelet based EZW coder. One additional point discussed in this paper, is the performance of a traditional 2-level quantization in EZW against an M-Adaptive coder. We see the advantages and disadvantages in going in for an M-Adaptive coder and conclude based on the PSNR and Compression ratio obtained at various bit-rates. The variable bit-rate is emulated as multiple scans. Hence graphs plot the compression ratio or the PSNR against the number of scans. An important inference drawn from this paper is that, M-Band wavelet transform with M=Odd, exhibits special properties, as a result of which the EZW scheme performs much more efficiently with them. 1. INTRODUCTION Wavelet based image coding schemes can provide flexible spatial, temporal, SNR and complexity scalability. Such schemes are generally used together with the Embedded Zero Wavelet Tree coding developed by Shapiro [2]. The EZW scheme provides for an embedded variable bit-rate coding technique with excellent compression and PSNR advantages at low-bit rates. The EZW scheme has been predominantly used with 2-Band wavelet transforms. The M-Band wavelet transforms are more efficient in signal decomposition than traditional wavelet transforms in general. The zero wavelet tree propagation varies with M for such an M-Band wavelet transform. This M-Band EZW coding provides for a more efficient variable bit-rate coding than the traditional EZW coding scheme. The following sections provide a brief

insight into the M-Band wavelet transform and the EZW scheme; extend the EZW scheme to the M-Band wavelet transform and present the compression and PSNR graphs for a 2-Level and an M-Adaptive quantization scheme. The computational complexity involved and any special conclusion drawn are also presented. 2. THE M-BAND WAVELET TRANSFORM Wavelet transforms [1], [3], [4] provide for a multiresolution decomposition of a signal along orthogonal or bi-orthogonal bases. The multi-resolution representation distinguishes wavelet transforms from traditional block transforms like the Discrete Cosine Transform (DCT). The M-Band wavelet transform [7], is realizable as a constant-Q M-band filter bank [5], [6], [8]. For M=3, we have a bank of 3 filters corresponding to a low-pass filter, a band-pass filter and a high-pass filter. A general MBand Wavelet Transform is realized as per Fig. 1 below. The M-Band wavelet transform was implemented using cosine modulated filter banks. M-Band wavelets (M>2) offer advantages in terms of Compact Support, Orthogonality, Linearity of Phase, Regularity and Interpolation over 2-Band wavelets. Hence they are very likely to be more effective than conventional 2-Band wavelets for image compression.

Fig 1. M Band Wavelet Transform Realization using constant Q Filters.

0-7803-9404-6/05/$20.00 ©2005 IEEE 883 Authorized licensed use limited to: IEEE Xplore. Downloaded on August 1, 2009 at 23:54 from IEEE Xplore. Restrictions apply.

Fig 2. The M-Band wavelet transform filter bank 3. EMBEDDED ZERO WAVELET TREE CODING ADAPTED TO THE M-BAND WAVELET TRANSFORM The embedded zero-wavelet tree coding scheme proposed by Shapiro [2] exploits the propagation of zeros leading to Zero-Trees that can be very effectively coded. It also provides for a variable bit-rate coding by providing for a range of compression gains and PSNR controllability. The traditional EZW coding scheme exploits the propagation of zeroes as 2Lx2L blocks, where L is the resolution level. For example, the zero tree starts as a point (the zero root) and at first level, we have a 2x2 region as the child, a 4x4 region as child at second level and so on. With the M-Band wavelet transform, the propagation no longer occurs as 2Lx2L blocks, but as ML x ML blocks. Thus we’d have an M-Adaptive zero tree propagation scheme. This provides for larger and larger blocks of zeros to be coded more efficiently and hence provides for a greater compression ratio. Figures 3 and 4 below, describe the traditional and the adapted EZW scheme for M=3.

Fig 4.Zero tree propagation in 3-Band wavelet transforms While the traditional EZW scheme uses 2-level quantization, the possibility of an M-Adaptive scheme exists. Such a scheme was implemented and the performance results are presented and discussed. This scheme uses threshold reduction in powers of M as against powers of 2 used in the traditional EZW scheme. 4. METHODOLOGY The block diagram in figure 5 below describes the process that was implemented. All blocks were implemented in C. An M-Band wavelet library was implemented and used for the wavelet transform. The wavelet transformed data was encoded using the modified EZW encoder, also implemented in C. The implementation of the M-Band parent to child jump was notably tough. After the coding, the image was decoded

as well for PSNR calculation. The compression ratio was computed as well. Both the above computations were done after varying number of scans emulating a variable bit-rate environment. Fig 5. General flow diagram

Fig 3. Zero tree propagation in 2-Band wavelet transform

5. RESULTS AND INFERENCES This section provides the PSNR and compression results obtained across number of scans for the M-Band EZW Coding (M>2) and the traditional EZW coding. The graphs are interpreted and inferences drawn are reasoned out.

884 Authorized licensed use limited to: IEEE Xplore. Downloaded on August 1, 2009 at 23:54 from IEEE Xplore. Restrictions apply.

Fig 8. 2-Band EZW Compression ratio across scans

5.1. Binary Quantization Results 2 Band Wavelet PSNR

35

3-Band Wavelet Compression Ratio

30

6000

25

15 10 5

Compression Ratio

PSNR(dB)

5000

Resolution 2 Resolution 3 Resolution 4

20

4000

Resolution 2 Resolution 3 Resolution 4

3000

2000

0 1

2

3

4

5

6 7 8 9 10 11 12 13 14 15 Number Of Scans

1000

0

Fig 6. 2-Band EZW PSNR across scans

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

Number Of Scans

We see that as the decomposition level increases (resolution levels), the peak PSNR increases. This fact is further confirmed by the 3-Band wavelet PSNR chart below (Fig. 7).

Fig 9. 3-Band EZW Compression Ratio across scans We see that the M-Band EZW technique yields superior PSNR and compression ratio compared to the traditional EZW scheme. This is further proved in the following comparison charts.

3-Band Wavelet PSNR 35

Comparison of PSNRs across M at Resolution 2 30 35

25

10

25

PSNR(dB)

Resolution 2 Resolution3 Resolution4

15

20

2-Band 5 Band

15

5 10

0 1

2

3

4

5

6

7

8

9

10

11

12

13

14

5

15

Number of Scans 0

Fig 7. 3-Band EZW PSNR across scans

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

Number Of Scans

Figures 8 and 9 below present the compression ratio Vs number of scans for the 2-Band and the 3-Band EZW scheme.

2500 2000 1500

Fig 10. Comparison of 2-Band Vs 5-Band wavelet transform at resolution 2 for PSNR While at extremely low bit-rate, the 2-Band scheme seems to be better, the 6-Band EZW overtakes the 2-Band scheme quickly and yields a much higher peak PSNR than the 2-Band scheme. Similarly the compression ratio chart (Figure 11) also affirm the better performance of the M-Band EZW compared to the 2-Band EZW scheme.

2 Band Wavelet Compression ratio

Compression Ratio

PSNR(dB)

30

20

Resolution 2 Resolution 3 Resolution 4

1000 500 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Number of Scans

885 Authorized licensed use limited to: IEEE Xplore. Downloaded on August 1, 2009 at 23:54 from IEEE Xplore. Restrictions apply.

Comparison of Compression Ratios across M at Resolution 2

Comparison of Compression Ratios across M at Resolution 2

250 70

60

Compression Ratio

Compression Ratio

200

150

2-Band 5-Band 100

50

50

40

2-Band 3-Band

30

20

10 0 1

2

3

4

5

6

7

8

9

10

11

12

13

14

15 0

Number of Scans

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

Number of Scans

Fig .11 Comparison of 2-Band EZZW Vs 5-Band EZW for Compression ratio

Fig.13 Comparison of compression ratio for 2,3 and 4 Band EZW

5.2 M-Adaptive Quantization results Though the PSNR has gone down, we see that the scheme does maintain a compression ratio advantage.

This section presents the results obtained for the MAdaptive quantization scheme. The scheme is not found effective unless additional bits are provided to account for the increased quantization range. Without additional bits, while it provides a larger compression ration range, does not provide good PSNR. This is evident from the charts below.

5.3 Special feature of M=Odd scheme A very notable result obtained was the superior performance of M-Band schemes with M=Odd. It is observed that these schemes yield results better than M=Even. In fact, an odd numbered M-Band EZW out performs even the higher numbered Even M-Band scheme.

Comparison of PSNRs across M at Resolution 2 30

The following charts depict the result clearly. 25

Comparison of PSNRs across M at Resolution 2 20

15

30

25

10

PSNR(dB)

PSNR(dB)

35

2-Band 3-Band 4-Band

5

3-Band 4-Band 5-Band 6-Band

20

15

0 1

2

3

4

5

6

7

8

9

10

11

12

13

14

15 10

Number Of Scans

Fig.12 Comparison of PSNR for 2, 3 and 4 Band EZW

5

We see the PSNR in fact decreases for increasing M. The reason for this is that, while we increase the quantization range, we do not provide additional bits to accommodate more levels.

0 1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

Number Of Scans

Fig. 14 Comparison of odd and even M-Band schemes – PSNR The higher band EZW scheme maintains its compression ratio advantage though. The specialty of the odd numbered M-Band wavelet transform is still being studied.

886 Authorized licensed use limited to: IEEE Xplore. Downloaded on August 1, 2009 at 23:54 from IEEE Xplore. Restrictions apply.

6. COMPUTATIONAL COMPLEXITY In this simulation, for computation of m-Band wavelet transform, type-I wavelet filters constructed using cosine modulated filter banks are used which basically forms FIR filters of length N = 2M where M = number of filter banks. So, this filter bank form stable and finite length wavelet filter banks. Then it requires N multiplications & 2*N-1 additions per sample.

∴ FLOPS / Sample = 2 * N − 1; Wavelet transform for the image is computed filtering image row wise and then column wise, then, FLOPS requirement for M-band wavelet is given by

∴ FLOPS = (2 * N − 1) * B 4 * M ; If image size is B x B, assuming it is power of M, then, each iteration of wavelet filtering will generate M bands, and size of image in each band is (B x B) / M2. Then for ith iteration, image size is (B x B) / M2i. Then total number of FLOPS for I iterations are given by

1 1   ∴ FLOPS = (2 * N − 1) * B 4 * M * 1 + 2 + ... + 2 i  ; M   M

∴FLOPS= (2* N −1) * B4 *

M  M 2i+2 − 1 ; * M2i  M 2 − 1 

∴ FLOPS = (2 * N − 1) * B 4 * M ; M 2 i + 2 >> 1 and M 2 >> 1

samples. Also, Shapiro EZW coding [2] is extended for M-band case. • It has been investigated that Shapiro EZW coding [2] can be extended to M-band case for M>2, however, in order to get proper zero wavelet tree the size of transform image virtually extended for power of M. • As the number of resolution in the computation of the images increases EZW coding, both PSNR and compression gain increases. However, in M-band case improvement in PSNR and compression gain is higher than conventional 2-band wavelet transform. • Thus performance of the M-band wavelet transform for M=3 and M=4 EZW coding is better, both objectively and subjectively, in comparison with the 2band wavelet transform. • The performance gain, in both PSNR and compression, in M-band wavelet transform over the conventional 2-band wavelet transform is mainly due to the flexibility of coding of higher bands. It is possible to improve performance of M-band wavelet transform by using non-linear adaptive quantization which is a further topic of investigation. • The statistical reasons as to why the EZW performs differently across M-Band wavelets needs to be analyzed. The main advantage of M-band (M > 2) wavelets over 2-band wavelets is frequency tiling which gives zoom in onto narrow band high frequency components of a signal, while simultaneously having a logarithmic decomposition of frequency channels which closely approximates HVS model & hence gives better compression than 2-band counterpart. However, in M-band wavelet system odd number of filter banks gives better compression than even number of bands which is further topic of research. 8. SAMPLE OUTPUTS

Thus for M band wavelet transform, computational complexity is directly proportional to M.

7. CONCLUSIONS The simulation results are presented for 256 x 256 “Lenna” image to investigate the performance of M-band wavelet transform for M=3 and M=4 in comparison with conventional 2-band case. The M-band Wavelet transform is implemented with appropriate zero pixel padding before computation of wavelet transform at encoder side and are removed at decoder side for the perfect reconstruction. This is due to the fact that if number of pixels in the row and columns are not equal to integer multiples of M, which results in the loss of

Fig. 15 Reconstructed images for 1, 3, 5 and 9 scans for 2-Band wavelet transform and Modified EZW at Resolution 3.

887 Authorized licensed use limited to: IEEE Xplore. Downloaded on August 1, 2009 at 23:54 from IEEE Xplore. Restrictions apply.

Fig. 16 Reconstructed images for 1, 3, 5 and 9 scans for the 4 Band wavelet transform and Modified EZW at Resolution 3.

9. REFERENCES [1] S. Mallat, “A theory of multi-resolution signal decomposition: The wavelet representation,” IEEE Trans. Pattern Anal. Machine Intell., vol.11, pp. 674-693, July 1989. [2] Shapiro, J. M., “Embedded image coding using zerotrees of wavelet coefficients”, IEEE Trans. Signal Processing, vol. 41, pp. 3445-3463, Dec.1993 [3] M. Vetterli and C. Herley, “Wavelets and filter banks: Theory and design,” IEEE Trans. Acoust., Speech, Signal Processing, vol.37, pp.2091-2110, Dec. 1989. [4] M. Vetterli and C. Herley, “Wavelets and filter banks: Relationship and new results,” in Proc. 1990 IEEE Int. Conf. Acoust., Speech, Signal Processing, Albuquerque, NM, Apr. 3-6 1990, pp. 1723-1726. [5] P. P. Vaidyanathan and P. Q. Hoang, “Lattice structure for optimal design and robust implementation of twochannel perfect reconstruction QMF banks,” IEEE Trans. Acoust. Speech, Signal Processing,” vol. ASSP-36, pp. 81-94, Jan 1988. [6] P. P. Vaidyanathan, “Multirate digital filters, filter banks, polyphase networks and applications: A tutorial,” Proc. IEEE vol. 78, pp. 56-93, Jan. 1990. [7] P. Shui, Z. Bao and S.D. Zhang, “M-Band Compactly Supported Orthogonal Symmetric Interpolating Scaling functions,” IEEE Trans. Commun., vo,l. 49, no. 8, pp. 17041713, August 2001. [8] A. K. Soman, P. P. Vaidyanathan and T. Q. Nguong, “Linear Phase Paraunitary Filter Banks: Theory Factorization and design,” IEEE Trans. Signal Processing,” vol. 41, pp. 34803496, Dec 1993. ACKNOWLEDGEMENT

The authors would like to thank Texas Instruments India Pvt Ltd., and Metta Technologies for their support.

888 Authorized licensed use limited to: IEEE Xplore. Downloaded on August 1, 2009 at 23:54 from IEEE Xplore. Restrictions apply.

MODIFIED EZW CODING FOR THE M-BAND ...

wavelet transformed data was encoded using the modified. EZW encoder, also implemented in C. The implementation of the M-Band parent to child jump was.

275KB Sizes 0 Downloads 183 Views

Recommend Documents

Wireless Network Coding via Modified 802.11 ... - ee.washington.edu
protocol stack on a Software Radio (SORA) platform to support. WNC and obtain achievable throughput estimates via lab-scale experiments. Our results show that network coding (at the ... Engineering, University of Washington, Seattle, WA, 98195 USA, e

Wireless Network Coding via Modified 802.11 MAC/PHY - CiteSeerX
Quality of Service (QoS). Cross-layer approaches that seek to optimize aggregate network throughput based on adapting parameters from the physical or MAC layers have proven to be effective in this regard. Recently, Network Coding. (NC) has attracted

f) l / MODIFIED
(56). References Clted an audio signal provided by the microphone sound energy .... tions in alternative forms, speci?c embodiments thereof have been shoWn ...

Modified Heuristic Algorithm for Minimizing the Target Coverage Area ...
Recent advances in micro-electro-mechanical systems, digital electronics, and wireless communications have led to .... researches done in maximizing coverage of WSN by sensors positioning. .... [12] L. Gu and J. Stankovic, “Radio triggered wake-up

Modified Heuristic Algorithm for Minimizing the Target Coverage Area ...
Parikshit Singla. Assistant Professor, Deptt. Of CSE. Doon Valley Instiitute of Engg. & Tech.,. Karnal [email protected]. ABSTRACT. The rapid advancement of digital electronics and wireless communications has resulted in more rapid development of WSN

The Case for Coding-Aware Routing - CiteSeerX
cation range, is modeled as a graph G = (N,E) with node set. N and (directed) edge set E. Each ...... 50 100 150 200 250 300 350 400 450 500. Throughput gain.

The Monkeys Paw Modified Text.pdf
this woman was really her long-lost friend. Then, Jackie said that she had a big favor she. needed to ask, but Amy never heard the favor. She was completely preoccupied with her own. internal questions. Was this stranger really her. old friend, or wa

Modified Training Structure - ICSI
Sep 18, 2014 - This is to be informed to all concerned students that “Modified Training Structure” has been implemented ... Computer Training Seventy Hours.

The Modified Boston Mechanism
Apr 7, 2015 - Example 1 There are 4 schools S = {s1,s2,s3,s4} with q = (1,1,1,1) and 4 students I = {i1,i2,i3,i4}. The preference profile and priorities are:.

A modified training scheme for SOFM to cluster ...
the University of Mysore and Master's in Electrical Engineering at Indian Institute of Science. He obtained his PhD Degree from Indian Institute of Science in the area of constructive learning RBF networks. He is the chairman of Information Science a

Modified Osteotome for Inferior Border Sagittal Split ...
teotomy in the BSSO technique minimizes unfavorable splits and decreases trauma to the TMJ by using an osteotome to partially section the inferior border of the mandible.13 TMJ edema and hemarthrosis could dis- place the condyle in the glenoid fossa

Scratch Coding Cards: Creative Coding Activities for Kids
With the Scratch Coding Cards, kids learn to code as they create interactive games, stories, music, and animations. The short-and-simple activities provide an ...

Coding for Posterity - ATS @ UCLA
production system. Alternatively, a program may be used ... every program with the assumption that it may be used again later. ... be found by reading the code and any separate data flow diagrams ... language can see the significance of RUN statement

Coding for Posterity - ATS @ UCLA
easy to add memory to most computers, because they are built with connectors specifically designed for standard memory components. Similarly, a computer ...

Clay-Modified Electrode
(1) Gill, R.; Qua, S. C.; Moffat, A. C. J. Chromatogr. 1983, 255, 483. ... (4) Yuen, S. H.; Bagness, J. E.; Myles, D. Analyst 1967, 92, 375. ..... Calibration data.

Modified Gath-Geva Fuzzy Clustering for Identification ...
product of the individual membership degrees and the rule's weight ... or by using different distance measures. The GK ..... chine-learning-databases/auto-mpg).

Derivative Works modified for use by Learning ...
All modules are used in their original unmodified distribution. Last Updated ... Author Email. Version .... 20110405 http://www.saddi.com/software/flup/ http-parser ...

Modified Newton methods and mesh adaptivity for ...
Modified Newton methods and mesh adaptivity for variational phase-field fracture propagation. Thomas Wick. ([email protected]). Institut für Angewandte Mathematik, Leibniz Universität Hannover. Welfengarten 1, 30167 Hannover, Germany

An Enzymatic Clay-Modified Electrode for Aerobic Glucose Monitoring ...
AC960830O. X Abstract published in Advance ACS Abstracts, March 1, 1997. Figure 8. (A) Ten repetitive measurement cycles at the SWa-1/DA-GS in (a) 5 mM glucose and 0.8 mM DA and (b) 0.8 mM DA. (B) Sensor stability over a 60 day period. Scan rate, 50

Modified Contrast Compensation Algorithm for Noisy ...
Noel Thomas,IJRIT ... Noel Thomas1, Shajin Prince2 ..... [5] B. R. Lim, R. H. Park, and S. H. Kim, “High Dynamic Range for Contrast Enhancement,” IEEE Trans.

Atlas_of_Barsaive_by_Telarus_KSC (modified by Piotrus).pdf ...
Locust River. TwoHand's. Tribe. Thunderborn. Calvary. GrimEye's. Crossing. GreenHeart. River. Locust. River. Valley River. Liaj River. Delaris River. Legion.

pdf-2351\mitam-a-modified-ict-adoption-model-for-developing ...
... loading more pages. Retrying... pdf-2351\mitam-a-modified-ict-adoption-model-for-dev ... ing-in-a-developing-country-by-mohamed-elsaadani.pdf.

Modified AODV Routing Protocol for Traffic Control in ...
using adaptive routing with congestion control technique for mobile ad hoc networks. .... Energy Management: Energy management is defined as the process of ...

Modified MAXIMIN Adaptive Array Algorithm for ...
MODIFIED MAXIMIN ALGORITHM FOR FH SYSTEM. UNDER FADING ENVIRONMENTS. Raja D Balakrishnan, Bagawan S. ... tracking ability of the algorithm. In the next section we will describe the basic MAXIMIN ... frequency-hopping communication system and thereby