Académique Documents
Professionnel Documents
Culture Documents
ORG
82
Still Image Compression Technique Using Edge Based In Painting and Wavelet Transform
A. Benjamin Joseph and R. Baskaran
AbstractEdges constitute the high frequency components of an image. This work proposes a novel approach for still image compression using edge based in painting technique and wavelet transform to preserve the high frequency components. The main objective of the proposed work is to elevate the PSNR without compromising the compression ratio. Edge based in painting technique is used to enhance the PSNR. In painting technique used in the proposed work traces the high frequency information which is lost during transmission using edge information transmitted. At the encoder the image is decomposed using wavelet transform, which reduces the blocking artifacts and then coded using EZW coder. Edge information is extracted using canny edge detector which outperforms the traditional detectors and then coded using entropy coding. At the decoder using edge based in painting technique, the image is reconstructed with less mean square error. The results show that proposed compression technique outperforms the existing technique in terms of PSNR and compression ratio. Index Terms Image Compression, Wavelet Transform, Edges, Feature Extraction, Image InPainting, Entropy Encoding, EZW Coding.
1 INTRODUCTION
Image compression plays a vital role in multimedia applications. Many image compression techniques have been evolved for different application; generally it can be classified as lossy and lossless techniques. In lossless technique image quality is not sacrificed, whereas in lossy image compression technique image quality can be sacrificed with intent of elevating compression ratio. The second generation coding concentrates on semantic based coding i.e the features of the images are preserved according to the desired applications. In the proposed work the edge information is preserved to increase the picture quality. Attempts have been made to code the features (edges) and low frequency components of the image to increase coding efficiency [1]. Wavelet transformation (WT) [2], [3]-[8], vector quantization (VQ) [9] and different encoding approaches are generally used in addition to numerous other methods in image compression for various applications, but all of the generic approaches suffer either in coding efficiency or picture quality. This work uses a hybrid system to preserve both spatial and spectral characteristics using wavelet transform and feature preservation. Wavelet transform is used at the encoder to decompose the image at various resolution levels. Even
though many transforms are available, wavelet transforms outperforms due to its multiresolution characteristics. Inpainting [10] was first used in image processing to restore the lost information in region of interest for visual quality. The approach that can be used to deploy inpainting in image compression is to drop certain spatial or spectral components at the encoder and restore the lost component by encoding. One straightforward way to employ inpainting in compression is to directly drop some regions in encoding but fill them up in decoding using inpainting as used in [11]. In our work in painting technique is used at the receiver to enhance the decompressed image for high visual quality to be used in computer vision applications. The main contribution in this work is towards edge preservation and inpainting technique. Further the paper structured as follows. Section II explains the related works, section III explains the proposed work and its sub sections, section IV discusses about the results and finally concluded with future scope in section V.
2 RELATED WORKS
In literature many works have been carried out in the field of image compression techniques. This section provides some of the closely related works in the literature stating its merits and demerits. The work proposed in [12 ] used parameter assisted in painting technique in which region based coding is done based on the assisted parameter. At the encoder the selected region
A. Benjamin Joseph is with the Computer Science Department, Anna University, Chennai. R.Baskaran is with the Computer Science Department, Anna University, Chennai.
JOURNAL OF COMPUTING, VOLUME 4, ISSUE 4, APRIL 2012, ISSN 2151-9617 https://sites.google.com/site/journalofcomputing WWW.JOURNALOFCOMPUTING.ORG
83
and assisted parameter is transmitted and at the decoder the original image is recovered using in painting technique. This technique saves the compression time in terms of bits and produces good visual quality but the selection of assistant parameter is complex and the spectral characteristics are not preserved. The work proposed in [13] uses the bi directional partial differential equation to inpaint the structural part. The image is decomposed into structural and texture part in a dynamic range. The structural part is inpainted using bi directional diffused PDE. This method restores the image smoothly and preserves the linear structure. The bi-directional diffusion PDE is better for structure image. Theoretical analysis and experiments proved that the novel hybrid model can inpainted both texture and structure image well. The main advantage is that the linear structure is preserved but spectral characteristics are not preserved. The compression technique proposed in [14 ] aims at visual quality instead of pixel wise fidelity. In the encoder some of the portions are skipped, edge information are extracted and transmitted to the decoder side by coding the features, At the decoder In painting is done by integrating pixel wise structure propagation and texture synthesis. This method provides 33% to 44% bit saving at high visual quality. Comparing to JPEG and H.264 the bit saving percentage is increased.. The work proposed in [15 ] uses a quick curvature driven diffusions (QCDD) model to enhance the picture quality and to reduce the computation time but the spatial characteristics neither are not preserved. The paper [16] proposes a technique, which divides the image into blocks depending upon the image size. Instead of extracting and storing the image parameter it directly operates on the image patches. The assistant parameter used here is actually the difference between the removed and preserved patches. The assistant parameter is used at the decoder to restore the image. This approach is effective only for texture images. In all the previous works only the spatial characteristics are preserved. The work proposed in this paper makes an attempt to preserve the spectral characteristics by preserving the high frequency components.
3 PROPOSED FRAMEWORK
The proposed frame work (figure 1) aims to increase the compression ratio and PSNR using edge directed in painting techniques. The framework consists of two phases namely encoding and decoding phase. The encoding phase consists of image coding, edge extraction, edge coding and mapping as a data stream. The decoding phase consists of edge decoding, image decoding and image in-painting. The sub sections discusses about each module in the framework.
JOURNAL OF COMPUTING, VOLUME 4, ISSUE 4, APRIL 2012, ISSN 2151-9617 https://sites.google.com/site/journalofcomputing WWW.JOURNALOFCOMPUTING.ORG
84
completely described or the level of detail necessary to represent the image is achieved. As more detail coefficients are described, the image becomes clearer and less blocky. Once the wavelet transform is complete, a picture can be displayed at any resolution by recursively adding and subtracting the detail coefficients from a lower-resolution version.
choose the neighbor pixel around the point p. compute the first order approximation of the image as Is(p) in point p. Given the value Is(p) and edge image Ie(p), the first iteration can be computed as
(1)
where is the original image, is the gradient edge assisted information. Compute the image and at all points of the image and then add the value of resultant value to obtain the original image. The reconstructed image is shown in figure 4.
JOURNAL OF COMPUTING, VOLUME 4, ISSUE 4, APRIL 2012, ISSN 2151-9617 https://sites.google.com/site/journalofcomputing WWW.JOURNALOFCOMPUTING.ORG
85
The results shows that (see table 1) the proposed system out performs the existing systems in terms of compression ratio and PSNR. It has been found that by ignoring the high frequency components at the encoder increases the compression ratio and by using inpainting technique at the decoder increases the picture quality. Even though many edge detection techniques are in the literature the canny edge detection detects more number of edges shown in (figure 5). TABLE1 COMPARISON OF EXISTING AND PROPOSED SYSTEM IN TERMS OF COMPRESSION RATIO AND PSNR FOR LENA IMAGE.
[6]
[7]
[8]
[9]
[10] [11]
[12]
[13]
5 CONCLUSION
In this paper we have presented a simple and novel approach for compressing the still image. Edges are extracted from the original image and encoded using entropy encoder. The original image is transformed using wavelet transform and then coded using EZW coder. The result shows that the canny edge detector outperforms the other edge detector in terms of number of edges detected. The detected edge is used at the receiver as the assistant parameter to inpaint the decompressed image. The result shows that both compression ratio and PSNR gets elevated and the spectral characteristics are preserved. The proposed method suffers due to coding complexity and number of overheads. In future the work can be enhanced for color images and by optimizing the existing system by reducing the complexity and overheads.
[14]
[15]
[16]
[17]
Engineering, Computing And Technology Vol 13 May 2006 Mohamed A. El-Sharkawy, Chstian A. White and Harry ,Subband Image Compression Using Wavelet Transform And Vector Quantization, 1997 IEEE. Amir Averbuch, Danny Lazar, and Moshe Israeli ,Image Compression Using Wavelet Transform and Multiresolution Decomposition, IEEE Transactions on Image Processing, vol. 5, NO. 1, Jan 1996. Jianyu Lin, Mark J. T. Smith, New Perspectives and Improvements on the Symmetric Extension Filter Bank for Subband /Wavelet Image Compression, IEEE Transactions on Image Processing, vol. 17,NO. 2, Feb 2008. Xin Li, , and Michael T. Orchard Edge-Directed Prediction for Lossless Compression of Natural Images, IEEE Transactions on Image Processing, vol. 10, NO. 6, Jun 2001. M. Bertalmio, G. Sapiro, V. Caselles, and C. Ballester, Image inpainting, in Proc. ACM SIGGRAPH, 2000, pp. 417424. S. D. Rane, G. Sapiro, and M. Bertalmio, Structure and texture filling-in of missing image blocks in wireless transmission and compression applications, IEEE Trans. Image Process., vol. 12, no. 3, pp. 296303, Mar. 2003. Zhiwei Xiong, Xiaoyan Sun, Feng Wu and Shipeng Li," Image Coding With Parameter-Assistant Inpainting", 2007, IEEE conference on image Processing, Dept. of Electronic Science and Technology, Univ. of Science and Technology of China, Hefei, China Internet Media Group, Microsoft Research Asia, Beijing, China. Jiying Wu, Qiuqi Ruan, "A Novel Hybrid Image Inpainting Model", 2008 IEEE conference on Image processing, Institute of Information Science Beijing Jiaotong University, Bejiing, 100044, China. Dong Liu, Xiaoyan Sun, Feng Wu, Shipeng Li, and Ya-Qin Zhang, "Image Compression With Edge-Based Inpainting' , 2007, IEEE Transaction on Circuit and System for Video Technology, Microsoft Research Asia, Beijing 100081, China. Zhongyu Xu, Xiaoli Lian, Lili Feng, "Image Inpainting Algorithm Based on Partial Differential Equation" 2008, ISECS International Colloquium on Computing, Communication, Control, and Management, School of Computer Science &Engineering, Changchun University of Technology, Changchun,Jilin, 130012, China Dong Liu , Xiaoyan Sun , and Feng Wu, "Manipulating Image Patches For Compression", 2008 IEEE conference on Image Processing, MOEMicrosoft Key Laboratory of Multimedia Computing and Communication, University of Science and Technology of China, Hefei 230027, China. Microsoft Research Asia, Beijing 100190, China. J. Canny, A computational approach to edge detection, IEEE Trans. Pattern Analysis and Machine Intelligence, Vol. 8, No. 6, pp. 679-698, Nov. 1986.
REFERENCES
[1] M. M. Reid, R. J. Millar, and N. D. Black, Second-generation image coding: An overview, ACM Comput. Surveys, vol. 29, no. 1, pp. 329, Mar. 1997. Xiwen OwenZhao, Zhihai HenryHe, Lossless Image Compression Using Super-Spatial Structure prediction, IEEE Signal Processing Letters, vol. 17, no. 4, April 2010 383. Jaemoon Kim, Jungsoo Kim and Chong-Min Kyung , A Lossless Embedded Compression Algorithm for High Definition Video Coding 978-1-4244-4291 / 09 2009 IEEE. ICME 2009. Rene J. van der Vleuten, Richard P.Kleihorstt ,Christian Hentschel,t Low-Complexity Scalable DCT Image Compression, 2000 IEEE. K.Somasundaram, and S.Domnic, Modified Vector Quantization Method for image Compression, Transactions On
[2]
[3]
[4] [5]