Cmjv01i07p0769

Page 1

J. Comp. & Math. Sci. Vol. 1(7), 769-775 (2010)

Wavelet Based Medical Image Compression Using SPHIT AZIZ UR RAHAMAN MAKANDAR and K. KARIBASAPPA Research Scholar, Dept of Comp.Sc Singhania University, Pacheri Bari(R J), azizmakandar@gmail.com Dept of Comp.Sc & Engg, D S College of Engg, Bangalore-Karnataka (India), karibasappably@gmail.com ABSTRACT Current image coding systems use wavelet transform, which decompose the image into different levels, where the coefficients in each sub band are uncorrelated from coefficients of other sub bands. As a result the coefficients in each sub band can be quantized independently of coefficients in other sub bands with no significant loss in performance. But the coefficient in each sub band requires different amount of bit resources to obtain best coding performance. This results in different quantizer with each sub band having its own bit rate. This gives an issue to bit allocation under image processing. Hence sub band coding can be used for achieving high bit rate. The main purpose of this paper is to investigate the impact quality of orthogonal wavelet filter for Set Partitioning in Hierarchical Trees (SPHIT). The experimental results have been compared and qualitative analysis is done on the basis of time taken for compression and error after decompression for medical image. Keyword: Wavelet transforms; image compressions; SPHIT.

INTRODUCTION

based on DWT1–8 provide high coding efficiency for natural (smooth) images.

With the rapid expansion of computer technology, digital image processing place a great demand on efficient data storage and image content. Discrete Wavelet Transform (DWT) provides a multiresolution image representation and has become one of the most important tools in image analysis and coding over the last two decades. Image compression algorithms

In medical image compression, diagnosis is effective only when compression techniques preserve all the relevant information needed without any appreciable loss of information, in case with lossless compression. Lossy compression techniques are more efficient in terms of storage and transmission needs because of high compression ratio and the quality. In

Journal of Computer and Mathematical Sciences Vol. 1, Issue 7, 31 December, 2010 Pages (769-924)


770

Aziz Ur Rahaman et al., J. Comp. & Math. Sci. Vol. 1(7), 769-775 (2010)

lossy compression, image characteristics are usually preserved in the coefficients of the domain space in to which the original image is transformed. The quality of the image after compression is very important and it must be within the tolerable limits which vary from image to image and method to method, hence the compression becomes more interesting as a part of qualitative analysis of different types of medical image compression techniques. SPHIT algorithm bases its efficiency in key concepts like: a) partial ordering of wavelet coefficients by magnitude, with transmission of order by a subset partitioning that is replicated at the decoder, b) ordered bit-plane transmission of refinement bits and c) exploitation of selfsimilarity of the image wavelet coefficients across different scales.23-24. Wavelet Compressions Wavelet based image compression has had great success as of recent due to the fact that its wavelet coding schemes combine excellent compression efficiency with the possibility of an embedded representation. In light of this, a few important coding schemes have emerged, they are Embedded Zerotree Wavelet (EZW) Encoding by Shapiro9 Set Partitioning in Hierarchical Trees (SPIHT) by Said and Pearlman18. Wavelets are mathematical functions that cut up data into different frequency components and then study each component with resolutions matched to its scale. They have advantages over traditional Fourier methods in analyzing physical situations where the signal contains discontinuation and sharp spikes. An important property of wavelet functions in image compression applications is compact support. In this paper, we consider Haar

Daubecbies wavelet19-22.

4,

Syamlet,

Biorthogonal

Medical Image Compression The compression of medical images has a great demand. The image for compression can be a single image or sequence of images. The medical community has been very reluctant to adopt lossless algorithms in clinical practice. However, the diagnostic data produced by hospitals has geometrically increased and a compression technique is needed that results with greater data reductions and hence transmission speed. In these cases, a lossless compression method that preserves the diagnostic information is needed.. Medical image like MR, CT, Ultrasound, X-Ray images are used for experiments A major design goal of any compression method is to obtain the best visual quality with lowest bit rate14-16. Lossless compression The tree structure of the 3 level wavelet decomposition Figure 1 shows, a sub-tree taking a coefficient in sub-band HH3 as the root node is demonstrated. If the coefficient (i, j) in sub-band HH3 is root node, the 4 coefficients in HH2 {2i+m, 2j+n}, her0≤m, n≤1, will be the child node, and the 16 coefficients in HH1 {4i+m, 4j+n}, here 0≤m, n≤3, will be the grandson node. There are 21 coefficients in a 3 level decomposition tree, and 20 coefficients are the grandson nodes of the root node. If a k (k=1, 2, 3, …) level wavelet decomposition is made, there will be grandson nodes belonging to the root node in sub-band HHk. K-1 ∑ 41 = 4/3 (4k-1-1) 1=1

Journal of Computer and Mathematical Sciences Vol. 1, Issue 7, 31 December, 2010 Pages (769-924)


Aziz Ur Rahaman et al., J. Comp. & Math. Sci. Vol. 1(7), 769-775 (2010)

771

The scanning order in the improved method begins from the high frequency coefficient of the last level rather than the low frequency coefficient. As Figure 1 shows, the scanning sequence is firstly high frequency in horizontal direction and low frequency in vertical (LHi) (i=3) , then low frequency in horizon and high frequency in vertical(HLi), and then high frequency in diagonal(HHi), others are (LHi-1), (HLi-1), (LH1), (HL1), (HH1)25-27. Figure 2. Parent-Child Dependencies of Subbands in SPHIT

Figure 2. The tree structure of the 3 level wavelet decomposition

SET PARTITIONING IN HIERARCHICAL TREES SPIHT is a fully embedded progressive wavelet coding algorithm that refines the most significant coefficients. The largest coefficients are transmitted first by using various tree searching routines. The SPIHT algorithm uses the partitioning of quad trees to keep insignificant coefficients together. In the implementation of SPIHT, the significant information is stored in three ordered lists as shown in figure 2.10-13.

• List of Significant Pixels (LSP) – contains coefficients that are significant or greater than the threshold. • List of Insignificant Pixels (LIP) – contains coefficients that are insignificant or less than the threshold. • List of Insignificant Sets (LIS) – contains sets of coefficients defined by tree structures which are insignificant or smaller than the threshold. The set excludes the coefficients corresponding to the tree or all subtree roots. The following represents the set of coordinates used. • O(i,j) – is the set of coordinates of the offspring’s of the wavelet coefficient at location (i,j). As each node can have four offspring’s (quad-tree), the size of O(i,j) is zero or four. • D(i,j) – is the set of all descendants of the coefficient at location (i,j). • L(i,j) – is the set of all coordinates of the descendants of the coefficient at location (i,j) except the immediate offspring’s of the coefficient at location (i,j). • H – is the set of all root nodes. The SPIHT algorithm consists of two main passes to code the image, a Sorting Pass and a Refinement Pass. The LIS and LIP entries are coded in the Sorting Pass and the LSP entries are coded in the Refinement Pass.

Journal of Computer and Mathematical Sciences Vol. 1, Issue 7, 31 December, 2010 Pages (769-924)


772

Aziz Ur Rahaman et al., J. Comp. & Math. Sci. Vol. 1(7), 769-775 (2010)

The initialization of the threshold is the same procedure as that used in the EZW algorithm. The list of significant pixels (LSP) is set to empty or zero and the roots in the similarity trees of lists of insignificant pixels (LIP) and insignificant sets (LIS) are set to H and D respectively. The Sorting Pass begins by examining each coordinate in the LIP for significance. There are two comparison cases in the LIP. 1. If the coefficient is significant a ‘1’ is transmitted, followed by a bit for the sign of the coefficients to the LSP. The bit is ‘0’ for a positive sign and ‘1’ for a negative sign. 2. If the coefficient is not significant a ‘0’ is transmitted. After the LIP is examined the LIS sets are then examined. There are four comparison cases that make up the LIS component and they are as follows : 1. If the set at location (i,j) is not significant a ‘0’ is Transmitted 2. If the set at location (i,j) is significant a ‘1’ is transmitted. 3. If the set is confirmed significant and if it is a set of type D, the offspring coefficients are then individually checked. If the offspring coefficient is significant a ‘1’ is transmitted, followed by a bit representing the sign of the coefficient (‘1’ for a positive sign and ‘0’ for a negative sign). Next the coefficient is moved to the LSP. If the offspring coefficient is not significant a ‘0’ is transmitted. 4. If the set is confirmed significant and if it is a set of type L, each coordinate in O(i,j) is appended to the LIS as the root to a set of type D. These new entries in the LIS are examined during this pass. Thereafter the coordinate (i,j) is

removed from the LIS. Once each set in the LIS is processed a Refinement Pass then takes place. The Refinement Pass involves examining the coefficients of the LSP and transmitting the nth most significant bit of the coefficient at location (i,j). The remaining stages of the algorithm involve the same procedures described in the EZW algorithm. The SPIHT algorithm does not use scan coefficients like the EZW algorithm however, it is able to output and code descendants immediately. The SPIHT algorithm achieves higher compression performance than EZW due to its improved zerotree searching routine. This is because SPIHT does not scan coefficients in a predetermined order like the EZW which uses raster scanning, its scans through lists and encodes significant descendants immediately thus improving rate efficiency. RESULTS Original Image

Journal of Computer and Mathematical Sciences Vol. 1, Issue 7, 31 December, 2010 Pages (769-924)


Aziz Ur Rahaman et al., J. Comp. & Math. Sci. Vol. 1(7), 769-775 (2010) Scaled Image

773

Error after Compression In SPHIT

Error After Decompression in SPHIT

E rro r

12 34 56 78 111019 111324 111576 1289 2201 222324 222657 289

1.00E+00 1.00E-02 1.00E-04 1.00E-06 1.00E-08 1.00E-10 1.00E-12 1.00E-14

Harr DB4 Symlet Biortogonal

Medical Image

Level 4 scale Image Time taken for compression in SPHIT

0.45 0.4 0.35 0.3 0.25 0.2 0.15 0.1 0.05 0 Nural-Cell2

MRI-Head3

MRI-5

MRI-Knee

MRI-2

CT-Lung

Nural-Human

Retrieved Image of Harr, DB4, Symlet and Biorthogonal

CT-Hart

Harr DB4 Symlet Biortogonal CT-Brain1

Time

Time Taken For Compression In SPHIT

Medical Image

CONCLUSION Experiments has done on several medical images, we received good effects of Biorthogonal with SPHIT as compare with Haar, Daubecbies 4 and, Syamlet wavelet. REFERENCES 1. Antonini M, Barland M, Mathieu P, Daubechies I. Image coding using the Journal of Computer and Mathematical Sciences Vol. 1, Issue 7, 31 December, 2010 Pages (769-924)


774

2.

3.

4.

5.

6.

7.

8.

9.

Aziz Ur Rahaman et al., J. Comp. & Math. Sci. Vol. 1(7), 769-775 (2010)

wavelet transform. IEEE Transactions on Image Processing ;2:205–20 (1992). Grgic S, Grgic M, Zovko-Cihlar B. Performance analysis of image compression using wavelets. IEEE Transactions on Industrial Electronics; 48:682–95 (2002). Grgic S, Kers K, Grgic M. Image compression using wavelets. Proceedings of the IEEE international symposium on industrial electronics, ISIE’99, Bled, Slovenia, 12–16 July p. 99–104 (1999.) Hilton ML, Jawerth BO, Sengupta A. Compressing still and moving images with wavelets. Multimedia Systems; 2:218–27 (1994). Lewis AS, Knowles G. Image compression using the 2-D wavelet transform. IEEE Transactions on Image Processing;1:244–50 (1992). Taubman D, Marcellin MW. JPEG2000 image compression: fundamentals, standards and practice. Dordrecht: Kluwer Academic Publishers; (2002). Martin K, Lukac R, Plataniotis KN, Binary shape mask representation for zerotree-based visual object coding. Proceedings of the Canadian conference on electrical and computer engineering, CCECE/CGEI, Niagara Falls, Ont., Canada, 2–5 May 2004, p. 2197–200 (2004). Martin K, Lukac R, Plataniotis KN. Efficient encryption of wavelet-based coded color images. Pattern Recognition ; 38:1111–5 (2005). Said A, Pearlman WA. A new fast and efficient image codec based on set partitioning in hierarchical trees. IEEE Transactions on Circuits and Systems for Video Technology, 6:243–50 (1996).

10. Cho S, Pearlman WA. A full-featured, error-resilient, scalable wavelet video codec based on the set partitioning in hierarchical trees (SPIHT) algorithm. IEEE Transactions on Circuits and Systems for Video Technology;12:157– 71 (2002). 11. Mukherjee D, Mitra SK. Vector SPIHT for embedded wavelet video and image coding. IEEE Transactions on Circuits and Systems for Video Technology;13:231–46 (2003). 12. Kassim AA, Lee WS. Embedded color image coding using SPIHT with partially linked spatial orientation trees. IEEE Transactions on Circuits and Systems for Video Technology, 13:203–6 (2003). 13. Bouridane A, Khelifi F, Amira A, Kurugollu F, Boussakta S. A very low bit-rate embedded color image coding with SPIHT, Proceedings ofthe 2004 IEEE international conference on acoustics, speech, and signal processing, ICASSP, Montreal, Canada, 17–21 May 2004, p. III-689–III-92 (2004). 14. Guest Editorial, “Wavelets in Medical Imaging”, IEEE Trans on Medical Imaging, Vol. 22, No. 3, March (2003). 15. D. A. Karras, S. A. Karkanis _and D. E. Maroulis, “Efficient Image Compression of Medical Images Using the Wavelet Transform and Fuzzy c-means Clustering on Regions of Interest”, University of Piraeus, Dept. of Business Administration, Rodu 2, Ano Iliupolis, Athens, (2002). Wu, Shen-Chuan Tai, 16. Yung-Gi “Medical Image Compression by Discrete Cosine Transform Spectral Similarity Strategy”, IEEE Transactions on Information Technology in

Journal of Computer and Mathematical Sciences Vol. 1, Issue 7, 31 December, 2010 Pages (769-924)


Aziz Ur Rahaman et al., J. Comp. & Math. Sci. Vol. 1(7), 769-775 (2010)

17.

18.

19.

20.

21.

Biomedicine, Vol.5, No.3, September (2001). Amir said and William A. Pearlman,” An Image multiresolution representation for lossy and lossless compression,” IEEE Transactions on Image processing, vol.5, pp.1303-1310, Sept. (1996). J. Shapiro, “Embedded image coding using zerotree of wavelet coefficients ”IEEE Trancs. Signal processing Vol. 41, pp.3445- 3462,Dec (1993). X. D. Zhang, G. D. Lu, J. Feng, Fundamentals of Image Coding and Wavelet Compressing Principals, Algorithms and Standards, Tsinghua University Press, Bejing, (In Chinese) (2004). M. D. Adams and F. Kossentini, “Reversible integer-to-integer wavelet transforms for image compression: Performance evaluation and analysis,” IEEE Trans. Image Processing, vol. 9, pp. 1010–1024, June (2000). Zhang Libao, Wang Ke. An Image Compression Algorithm Based on Integer Wavelet Transform [J], Journal of Software, 14(8): 1433~1438 (in Chinese) (2003).

775

22. Stephane Mallat,” A Compact Multiresolution representation: The wavelet model, ”IEEE Computer Society Workshop on computer vision (WCV), 87:2-7, (1987). 23. Sonja Grgic, Mis lav Grgic and Branka Zovko-Cihlar, “Performance Analysis of Image Compression Using Wavelets", IEEE Trans. On industrial Electronics, vo1.48, No. 3, June (2001). 24. He Wenzhang, Wu Aidi, Song Guoxiang. New Image compression by biorthogonal multiwavelet[j]. Journal of Northwest Normal University, 36 (2); 121-124 (2004). 25. A. Said and W. A. Pearlman, L ‘An image multiresolution representation for lossless and lossy image compression”, IEEE Trans. on Image Processing, Vol. 5, No. 9, pp 13031310, September (1996). 26. Tang Guowei and Qi Feng, “An Improved EZW Coding Methods Based on Lifting Wavelets, ”IEEE Trans, pp.2897- 2899, (2007). 27. zhu Xiangjun, zhu shan an pliyayefu” A summary on wavelet transform based embedded image coding algorithm[j] signal processing, 910:54-58 (2004).

Journal of Computer and Mathematical Sciences Vol. 1, Issue 7, 31 December, 2010 Pages (769-924)


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.