Available online at ScienceDirect. Procedia Computer Science 89 (2016 )

Similar documents
International Journal of Emerging Technologies in Computational and Applied Sciences (IJETCAS)

LBG ALGORITHM FOR FINGERPRINT CLASSIFICATION

Performance Improvement by Sorting the Transform Coefficients of Host and Watermark using Unitary Orthogonal Transforms Haar, Walsh and DCT

CHAPTER 6 INFORMATION HIDING USING VECTOR QUANTIZATION

IMAGE COMPRESSION USING HYBRID QUANTIZATION METHOD IN JPEG

[Singh*, 5(3): March, 2016] ISSN: (I2OR), Publication Impact Factor: 3.785

6. Multimodal Biometrics

Available online at ScienceDirect. Procedia Computer Science 79 (2016 )

A Very Low Bit Rate Image Compressor Using Transformed Classified Vector Quantization

A WAVELET BASED BIOMEDICAL IMAGE COMPRESSION WITH ROI CODING

SSIM based image quality assessment for vector quantization based lossy image compression using LZW coding

New Clustering Algorithm for Vector Quantization using Rotation of Error Vector

MRT based Adaptive Transform Coder with Classified Vector Quantization (MATC-CVQ)

A Image Comparative Study using DCT, Fast Fourier, Wavelet Transforms and Huffman Algorithm

Image compression using Hybrid wavelet Transform and their Performance Comparison

Image Retrieval using Energy Compaction in Transformed Colour Mean. Vectors with Cosine, Sine, Walsh, Haar, Kekre, Slant & Hartley

An Efficient QBIR system using Adaptive segmentation and multiple features

International Journal of Emerging Technologies in Computational and Applied Sciences(IJETCAS)

Compression of Image Using VHDL Simulation

MRT based Fixed Block size Transform Coding

Image Transformation Techniques Dr. Rajeev Srivastava Dept. of Computer Engineering, ITBHU, Varanasi

LOSSY COLOR IMAGE COMPRESSION BASED ON QUANTIZATION

Topic 5 Image Compression

HYBRID TRANSFORMATION TECHNIQUE FOR IMAGE COMPRESSION

Online Version Only. Book made by this file is ILLEGAL.

ERROR VECTOR ROTATION USING KEKRE TRANSFORM FOR EFFICIENT CLUSTERING IN VECTOR QUANTIZATION

A Comparative Study of DCT, DWT & Hybrid (DCT-DWT) Transform

Image Compression: An Artificial Neural Network Approach

Optimization of Bit Rate in Medical Image Compression

Wavelet Based Image Compression Using ROI SPIHT Coding

IMAGE COMPRESSION USING HYBRID TRANSFORM TECHNIQUE

Comparative Study on VQ with Simple GA and Ordain GA

A Study on the Effect of Codebook and CodeVector Size on Image Retrieval Using Vector Quantization

Redundant Data Elimination for Image Compression and Internet Transmission using MATLAB

FRACTAL IMAGE COMPRESSION OF GRAYSCALE AND RGB IMAGES USING DCT WITH QUADTREE DECOMPOSITION AND HUFFMAN CODING. Moheb R. Girgis and Mohammed M.

AN ANALYTICAL STUDY OF LOSSY COMPRESSION TECHINIQUES ON CONTINUOUS TONE GRAPHICAL IMAGES

Enhancing the Image Compression Rate Using Steganography

Image Compression Algorithm and JPEG Standard

Digital Image Representation Image Compression

Keywords DCT, SPIHT, PSNR, Bar Graph, Compression Quality

A Review on LBG Algorithm for Image Compression

A Methodology to Detect Most Effective Compression Technique Based on Time Complexity Cloud Migration for High Image Data Load

Available online at ScienceDirect. Procedia Computer Science 89 (2016 )

The Analysis and Detection of Double JPEG2000 Compression Based on Statistical Characterization of DWT Coefficients

Available online at ScienceDirect. Procedia Computer Science 89 (2016 )

CHAPTER 6. 6 Huffman Coding Based Image Compression Using Complex Wavelet Transform. 6.3 Wavelet Transform based compression technique 106

CHAPTER 4 REVERSIBLE IMAGE WATERMARKING USING BIT PLANE CODING AND LIFTING WAVELET TRANSFORM

A Miniature-Based Image Retrieval System

Volume 2, Issue 9, September 2014 ISSN

A COMPRESSION TECHNIQUES IN DIGITAL IMAGE PROCESSING - REVIEW

Image Compression Techniques

Feature-Guided K-Means Algorithm for Optimal Image Vector Quantizer Design

Image Compression with Competitive Networks and Pre-fixed Prototypes*

An introduction to JPEG compression using MATLAB

ISSN (ONLINE): , VOLUME-3, ISSUE-1,

Differential Compression and Optimal Caching Methods for Content-Based Image Search Systems

IMAGE COMPRESSION TECHNIQUES

Compression of Stereo Images using a Huffman-Zip Scheme

Available online at ScienceDirect. Procedia Computer Science 58 (2015 )

A new predictive image compression scheme using histogram analysis and pattern matching

SPEAKER IDENTIFICATION USING 2-D DCT, WALSH AND HAAR ON FULL AND BLOCK SPECTROGRAM

IMAGE COMPRESSION. Image Compression. Why? Reducing transportation times Reducing file size. A two way event - compression and decompression

Texture Image Segmentation using FCM

Multilevel Compression Scheme using Vector Quantization for Image Compression

DCT SVD Based Hybrid Transform Coding for Image Compression

REGION OF INTEREST BASED COMPRESSION OF MEDICAL IMAGES USING VECTOR QUANTIZATION

Performance Comparison of Speaker Recognition using Vector Quantization by LBG and KFCG

Multimedia Systems Image III (Image Compression, JPEG) Mahdi Amiri April 2011 Sharif University of Technology

ISSN Vol.06,Issue.10, November-2014, Pages:

Today. Lecture 4: Last time. The EM algorithm. We examine clustering in a little more detail; we went over it a somewhat quickly last time

Image Compression for Mobile Devices using Prediction and Direct Coding Approach

Statistical Image Compression using Fast Fourier Coefficients

IMAGE COMPRESSION USING FOURIER TRANSFORMS

PERFORMANCE COMPARISON OF HYBRID WAVELET TRANSFORMS FORMED USING DCT, WALSH, HAAR AND DKT IN WATERMARKING

Text clustering based on a divide and merge strategy

A New Technique of Lossless Image Compression using PPM-Tree

Image Processing and Watermark

Gray Image Colorization using Thepade s Transform Error Vector Rotation With Cosine, Walsh, Haar Transforms and various Similarity Measures

A Parallel Reconfigurable Architecture for DCT of Lengths N=32/16/8

An Analytical Review of Lossy Image Compression using n-tv Method

Highly Secure Invertible Data Embedding Scheme Using Histogram Shifting Method

A Comprehensive Review of Data Compression Techniques

A NEW ROBUST IMAGE WATERMARKING SCHEME BASED ON DWT WITH SVD

A New DCT based Color Video Watermarking using Luminance Component

Performance Analysis of Kekre's Median Fast Search, Kekre's Centroid Fast Search and Exhaustive Search Used for Colouring a Greyscale Image

Binary vector quantizer design using soft centroids

ROI Based Image Compression in Baseline JPEG

CHAPTER 6 MODIFIED FUZZY TECHNIQUES BASED IMAGE SEGMENTATION

ScienceDirect. Image Segmentation using K -means Clustering Algorithm and Subtractive Clustering Algorithm

A Review on Digital Image Compression Techniques

IMAGE COMPRESSION. October 7, ICSY Lab, University of Kaiserslautern, Germany

Available online at ScienceDirect. Procedia Computer Science 54 (2015 ) Mayank Tiwari and Bhupendra Gupta

AN EFFICIENT CODEBOOK INITIALIZATION APPROACH FOR LBG ALGORITHM

Chapter 4 Face Recognition Using Orthogonal Transforms

So, what is data compression, and why do we need it?

CMPT 365 Multimedia Systems. Media Compression - Image

International Journal of Advancements in Research & Technology, Volume 2, Issue 8, August ISSN

Hybrid Image Compression Using DWT, DCT and Huffman Coding. Techniques

Short Communications

International Journal of Emerging Technologies in Computational and Applied Sciences (IJETCAS)

Transcription:

Available online at www.sciencedirect.com ScienceDirect Procedia Computer Science 89 (2016 ) 778 784 Twelfth International Multi-Conference on Information Processing-2016 (IMCIP-2016) Color Image Compression using Vector Quantization and Hybrid Wavelet Transform H. B. Kekre a, Prachi Natu b, and Tanuja Sarode c a MPSTME, NMIMS University, Mumbai 56, India b MPSTME, Mumbai 56, India c TSEC, Mumbai 50, India Abstract This paper presents simpler image compression technique using vector quantization and hybrid wavelet transform. Hybrid wavelet transform is generated using Kronecker product of two different transforms. Image is converted to transform domain using hybrid wavelet transform and very few low frequency coefficients are retained to achieve good compression. Vector quantization is applied on these coefficients to increase compression ratio significantly. VQ algorithms are applied on transformed image and codebooks of minimum possible size 16 and 32 are generated. KFCG and KMCG are faster in execution and beats performance of LBG algorithm. KFCG combined with hybrid wavelet transform gives lowest distortion and acceptable image quality at compression ratio 192. 2016 The Authors. Published by Elsevier B.V. 2016 The Authors. Published by Elsevier B.V. This is an open access article under the CC BY-NC-ND license (http://creativecommons.org/licenses/by-nc-nd/4.0/). Peer-review under responsibility of organizing committee of the Twelfth International Multi-Conference on Information Peer-review Processing-2016 under (IMCIP-2016). responsibility of organizing committee of the Organizing Committee of IMCIP-2016 Keywords: Hybrid Wavelet Transform; Image Compression; Kronecker Product; SSIM; Vector Quantization. 1. Introduction With advances in technology, need for storing more and more multimedia data arises. Images are integral part and comprise large volume of this data. Hence efficient storage and transmission of images is necessary. Compression facilitates this as it uses fewer bits for image representation. Compression is classified as lossy compression and lossless compression. In lossy compression approximated image is obtained with some loss of information. It is not exact replica of original image. In lossless compression, image is reconstructed without any loss of information. Hence use of lossless compression is observed in text data compression, medical imaging etc. On the other hand lossy compression can be used in image, video compression where some loss of information occurs and it is not detected by human eyes. Since last two decades many compression techniques have been proposed. Compression using transforms has gained immense popularity due to their energy compaction property. Initially Fourier transform 1 was used which focused on global features of an image. Local properties cannot be detected using Fourier analysis. This drawback is overcome using Short Time Fourier Transform (STFT) 2. But it gives only local properties. Further Discrete Cosine Transform Corresponding author. Tel.: +91-9881357811. E-mail address: prachinatuproject@gmail.com 1877-0509 2016 The Authors. Published by Elsevier B.V. This is an open access article under the CC BY-NC-ND license (http://creativecommons.org/licenses/by-nc-nd/4.0/). Peer-review under responsibility of organizing committee of the Organizing Committee of IMCIP-2016 doi:10.1016/j.procs.2016.06.059

H.B. Kekre et al. / Procedia Computer Science 89 ( 2016 ) 778 784 779 (DCT) 3 was introduced. It compacts energy in few low frequency coefficients located at top left corner of transformed image. Wavelet transform 4 was introduced as it analyzes the signal in time as well as in frequency domain 5. Wavelet transform became popular as it has greater energy compaction property and it reduces blocking effect observed in DCT based compression. Further advancements have shown that hybrid methods of image compression give better results than mere orthogonal transforms or wavelet transforms as they combine two different techniques of compression. Hybrid wavelet transform has been recently studied 6 and has shown better image quality than one obtained in wavelet transform also. It extracts properties of component transforms used to generate it. Generation procedure is quite simpler and faster and hence promotes its use for image compression. Wavelet transform coupled with SPIHT has been proposed by Kabir et al. 7. Vector quantization based color image compression is proposed by Hiroki Matsumoto 8 where fixed and variable block sized image is used for vector quantization. Perceptual image quality measure and bits per pixel are the criteria used to measure efficiency of algorithm. Combination of wavelet transform, multistage vector quantization and Huffman coding is given in 9. This paper proposes fusion of hybrid wavelet transform and vector quantization for image compression. Vector quantization algorithm is applied to increase compression ratio. Three different VQ algorithms are used and their performance is analyzed. Organization of paper is as below. Section 2 briefs the concept of hybrid wavelet transform. Section 3 describes vector quantization and different VQ algorithms used in this paper. Section 4 briefs about the algorithm used. In section 5 results are discussed and section 6 concludes the work done. 2. Hybrid Wavelet Transform (HWT) 10 Two different transforms are combined using Kronecker product. Here Discrete Kekre Transform (DKT) 10 and Discrete Cosine Transform (DCT) are used to get DKT-DCT HWT. Kekre transform matrix is given in eq. (1) 1 1 1... 1 N + 1 1 1... 1 K = 0...... 0 0 0... 1 0 0 0 N + (N 1) 1 (1) Transform matrix is obtained using eq. (2) Ap Bq(1) Ip Bq(2) Ip Bq(3) T AB = Ip Bq(n) (2) 3. Vector Quantization (VQ) For similar group of vectors it gives representative code vector. Indices of these code vectors are transmitted to achieve compression.

780 H.B. Kekre et al. / Procedia Computer Science 89 ( 2016 ) 778 784 Fig. 1. Linde-Buzo-Gray (LBG) for Two Dimensional Case. 3.1 Linde-Buzo-Gray algorithm 12 In Linde Buzo Gray algorithm initially centroid of original vector set is computed. Constant error is added to and subtracted from centroid. Two new vectors are generated. Euclidean distance of all trainee vectors with new vectors is computed to put them in appropriate cluster. Now centroids of new clusters are calculated. These steps are followed till desired size codebook is obtained. 3.2 Kekre s median codebook generation algorithms 11 Initially set of trainee vector is formed by dividing an image into non overlapping blocks. It contains N vectors each of dimension k. Sort the vectors with respect to first element of trainee vector. Entire matrix of trainee vectors is treated as single cluster. Median of this cluster is taken as initial codebook. Matrix is then split into two clusters. Now each cluster is sorted with respect to second element of its trainee vectors. Median values of both clusters are taken and put into code book. Now two code vectors obtained. Same steps are followed till codebook of desired size is generated. Codebook generation becomes faster as median is found out and not the Euclidean distance. 3.3 Kekre s fast codebook generation algorithm 11 It is faster because it does not compute Euclidean distance of trainee vectors with code vectors. Centroid of vector set is initial code vector. It compares first element of initial code vector with 1 st element of each trainee vector. If it is less than code vector element, it is grouped in cluster 1 else it is grouped in cluster 2. Thus two clusters are formed. Their centroids are computed. It gives codebook size two. In second iteration second element of cluster 1 and 2 are compared with second element of respective centroids. It gives four clusters. This procedure is repeated to get required codebook. 4. Proposed Method 1. Select color image database having images of size N N. HereN = 256. 2. Transform the images using DKT-DCT hybrid wavelet transform and retain 3.125% low frequency coefficients and discard remaining high frequency coefficients. 3. Apply VQ technique on transformed image to generate 16 and 32 size codebook. It increases compression ratio 6 times and 4.8 times respectively. Thus giving compression ratio up to 192 and 153.6 respectively. 4. Reconstruct images using indices of codebook.

H.B. Kekre et al. / Procedia Computer Science 89 ( 2016 ) 778 784 781 Fig. 2. First Iteration of KFCG. Fig. 3. Second Iteration of KFCG. 5. Results and Discussions Experimental work is conducted using color images given in Fig. 4. Image size is 256 256 3 bytes. LBG, KMCG and KFCG VQ algorithms are applied on transformed images to generate 16 and 32 size codebook. Performance analysis is done using error parameters MAE, AFCPV and SSIM AFCPV is calculated as given in eq. (3) i=p / j=q i=1 j=1 ( x ij y ij ) x ij AFCPV = (3) p q where x ij is original image pixel value, y ij is pixel value in decompressed image, p is number of rows and q is number of columns in image matrix. Figure 5 compares average MAE against compression ratio obtained in LBG, KMCG and KFCG with codebook size 16. It can be observed that error increases gradually with increase in compression ratio. LBG algorithm gives maximum error. It reduces by 23.5% in KMCG algorithm and by 28.77% in KFCG. Figure 6 shows AFCPV vs. compression ratio. Drastic difference is observed between AFCPV in LBG and KMCG as well as KFCG. In KMCG and KFCG it is reduced by nearly 35%. It indicates high perceptibility of reconstructed image using KMCG and KFCG algorithm. There is not much difference in AFCPV obtained in KMCG and KFCG indicating approximately similar quality of reconstructed image using both algorithms. Now, codebook size is changed and error parameters are observed. Figure 7 compares MAE in VQ algorithms for codebook size 32. Maximum compression ratio 153.6 is obtained by compressing reconstructed image obtained at compression ratio 32 in hybrid wavelet transform. Here also KFCG outperforms and gives minimum error. Figure 8 compares AFCPV obtained with codebook size 32. AFCPV in KMCG and KFCG is much lesser than in LBG giving better quality image using these algorithms. Figure 9 plots SSIM against compression ratio. This compression ratio is obtained after applying VQ algorithm on transform domain images in hybrid wavelet transform. At maximum compression ratio192, KFCG gives SSIM 0.966 which is higher than SSIM in LBG (SSIM = 0.961) and KMCG (SSIM = 0.953). SSIM nearest to one indicates image quality is closest to original image. In Fig. 10, SSIM in VQ +Hybrid wavelet algorithm is plotted for codebook size 32. Here also KFCG gives higher value of SSIM as 0.974 at compression ratio 153.6. As compared to previous graph, when codebook size increases less error occurs and hence SSIM increases towards one indicating better perceptual image quality. Figure 11 shows reconstructed images obtained by applying VQ+ hybrid wavelet transform on input images. Here CB indicates codebook size. Figure 11(a) shows original image. Figure 11(b) shows reconstructed image at compression ratio 64 in DKT-DCT HWT. At this compression ratio, blocking effect is observed that degrades image quality. Figure 11(c), Fig. 11(d) and Fig. 11(e) show reconstructed images after applying LBG, KMCG and

782 H.B. Kekre et al. / Procedia Computer Science 89 ( 2016 ) 778 784 Fig. 4. Color Image Database used for Experimental Work. Fig. 5. Avg. MAE vs. Compression Ratio using VQ on DKT-DCT HWT with Codebook Size 16. Fig. 6. Avg. AFCPV vs. Compression Ratio using VQ on DKT-DCT HWT with Codebook Size 16. Fig. 7. Avg. MAE vs. Compression Ratio using VQ on DKT-DCT HWT with Codebook Size 32. Fig. 8. Avg. AFCPV vs. Compression Ratio using VQ on DKT-DCT HWT with Codebook Size 32.

H.B. Kekre et al. / Procedia Computer Science 89 ( 2016 ) 778 784 783 Fig. 9. Average Blocked SSIM for VQ+ Hybrid Wavelet Algorithm using LBG, KMCG and KFCG VQ Algorithms with codebook Size 16. Fig. 10. Average Blocked SSIM for VQ+ Hybrid Wavelet Algorithm using LBG, KMCG and KFCG VQ Algorithms with Codebook Size 32. Fig. 11. Reconstructed Images in Hybrid Wavelet Transform and VQ on Hybrid Wavelet Transformed Images. KFCG algorithm respectively on transform image and codebook size 16 is generated. Figure 11(f), Fig. 11(g) and Fig. 11(h) show reconstructed image when codebook size 32 is generated using VQ algorithms LBG, KMCG and KFCG respectively. Blocking effect which was observed in hybrid wavelet transform at compression ratio 64 is removed after applying KMCG and KFCG VQ algorithm. Using KMCG and KFCG less error is obtained than error in LBG algorithm and image quality is also better. KFCG outperforms LBG and KMCG algorithm. 6. Conclusions Fusion of Vector Quantization and HWT is presented in this paper. Using DKT-DCT HWT, acceptable image quality is obtained at average compression ratio 32. Decompressed images using HWT at compression ratio 64 show considerable blocking effect. VQ is applied on transform domain images. LBG, KMCG and KFCG VQ algorithms are used. It increases compression ratio by factor X wherex depends on codebook size. If codebook size is less, X is more. Here code vectors 16 and 32 are generated which increases compression ratio up to 192 and 153.6 respectively. Using hybrid wavelet transform visually good image quality is obtained at compression ratio 32 and considerable blocking effect is observed at CR 64. Using VQ and HWT it is eliminated and gives good quality image. As compared to LBG, KMCG gives less error at compression ratio 64 and KFCG gives least error among all with better image quality. Both KMCG and KFCG are faster in execution and give good quality image and compression

784 H.B. Kekre et al. / Procedia Computer Science 89 ( 2016 ) 778 784 ratio as high as 192. SSIM gives clear idea of perceptual image quality when VQ is combined with DKT-DCT hybrid wavelet transform. KFCG outperforms conventional LBG algorithm and KMCG algorithm in terms of SSIM giving SSIM value 0.974 which is closest to one. References [1] Amara Graps, An Introduction to Wavelets, IEEE Computational Science and Engineering, vol. 2, no. 2, Summer (1995), USA. [2] G. Strang, Wavelet Transforms Versus Fourier Transforms, Bulletin of American Mathematical Society, vol. 28, pp. 288 305, (1993). [3] N. Ahmed, T. Natarajan and K. R. Rao, Discrete Cosine Transform, IEEE Transaction on Computers, C-23, pp. 90 93, January (1974). [4] H. B. Kekre, Archana Athawale and Dipali Sadawarti, Algorithm to Generate Wavelet Transform from an Orthogonal Transform, International Journal of Image Processing (IJIP), vol. 4(4), pp. 444 455. [5] H. B. Kekre, Tanuja Sarode and Prachi Natu, Performance Comparison of Column Hybrid Row Hybrid and full Hybrid Wavelet Transform on Image compression using Kekre Transform as Base Transform, International Journal of Computer Science and Information Security, (IJCSIS), vol. 12(2), pp. 5 17, (2014). [6] H. B. Kekre, Tanuja Sarode and Prachi Natu, Performance Comparison of Hybrid Wavelet Transform Formed by Combination of Different Base Transforms with DCT on Image Compression, International Journal of Image, Graphics and Signal Processing, vol. 4, pp. 39 45, March (2014). [7] M. A. Kabir, A. M. Khan, M. T. Islam and M. L. Hossain, Image Compression using Lifting Based Wavelet Transform Coupled with SPIHT Algorithm, In Proceedings of IEEE International Conference on Informatics, Electronics & Vision (ICIEV), pp. 1 4, (2013). [8] Hiroki Matsumoto, Kazuya Sasazaki and Yukinori Suzuki, Color Image Compression with Vector Quantization, IEEE Conference on Soft Computing in Industrial Applications, pp. 84 88, (2008). [9] A. M. A. Brifcani and J. N. Al-Bamerny, Image Compression Analysis using Multistage Vector Quantization based on Discrete Wavelet Transform, International Conference on Methods and Models in Computer Science (ICM2CS), pp. 46 53, (2010). [10] H. B. Kekre, Tanuja Sarode and Prachi Natu, Performance Superiority of Hybrid DKT-DCT Wavelet Compared to DKT, DCT Individual Transforms and Their Wavelets in Image Compression, International Conference on Cloud Security and Big Data, pp. 619 624, (2014). [11] H. B. Kekre, Kamal Shah, Tanuja K. Sarode and Sudeep D. Thepade, Performance Comparison of Vector Quantization Technique KFCG with LBG, Existing Transforms and PCA for Face Recognition, International Journal of Information Retrieval (IJIR), vol.2(1), pp. 64 71, (2009). [12] Y. Linde, A. Buzo and R. M. Gray, An Algorithm for Vector Quantizer Design, IEEE Transactions on Communication, vol. 28(1), pp. 84 95, (1980).