Vous êtes sur la page 1sur 8

International Journal of Engineering and Techniques - Volume 3 Issue 3, May-June 2017

RESEARCH ARTICLE OPEN ACCESS

Performance Improvement of Image Compression Method using


Hybridization of Lossy and Lossless Method
Anjali Ray1, Piyush Sharma2
1
M.Tech Scholar (Department of Electronics & Communication Engineering, S.S.College of Engineering, Rajasthan)
2
Assistant Professor (Department of Electronics & Communication Engineering, S.S.College of Engineering, Rajasthan)

Abstract:
Image compression is the application of compression data .It is the technique used to reduce the redundancies in data
representation in order to decrease the data storage requirements, transmission speed and communication costs. Considering the
important role played by digital image and video, it is necessary to develop a system that produces high degree of compression
while preserving critical image/video information. In this paper comparative analysis of image compression is done by three
transform methods, which are Discrete Cosine Transform (DCT), Discrete Wavelet Transform (DWT) & Hybrid (DCT+DWT)
Transform. An image compression algorithm is comprehended using MATLAB code MATLAB programs were written for
each of the above method and concluded based on the results obtained that hybrid SVD-DWT-DCT algorithm performs much
better than the standalone JPEG-based DCT, DWT algorithms in terms of peak signal to noise ratio (PSNR), as well as visual
perception at higher compression ratio.

Keywords — Image compression, SVD, DCT, DWT, Hybrid algorithm, MATLAB

uncompressed image requires more storage space


and transmission bandwidth. Therefore size of
I. INTRODUCTION image database is increased. So in the world of
In today’s digital world, the latest technology is digital images, it is required to develop an efficient
being developed in the field of communication, method that gives an image with high compression
network, digital data storage, etc. Fostering without losing important information. So, Image
communication laid profound use of internet compression is timely needed and worthy work.
rapidly in the world of business and profession. In There are numerous algorithms developed
fact, study has shown that the 90% of total volume for the data compressions such as: Discrete Cosine
of data in internet access consists of image and Transform (DCT), Singular Value Decomposition
video related data. Hence, lots of researches have (SVD) [1] and Discrete Wavelet Transform (DWT)
been conducted in the field of data compression [2] etc. Pictorial image is stored digitally into array
system. A study conducted by many researchers of pixel matrix arranged as row and column point.
says that on an average 1.1 billion people have The size of image is represented by M *N, where M
regular Web access and use of applications like is no. of rows and N is no. of columns. In simple, 2-
electronic mail, instant messaging, social D digital image is actually consisting of array of
networking, online messaging and cloud computing pixel specified with definite spatial distribution &
etc. which helps in growth & knowledge sharing in colour scheme and cumulatively each pixel of
multi facet domains such as Education, Research, matrix represents output of image.
Development, Medical and many business etc.
II. PRINCIPLES OF IMAGE COMPRESSION:
Now a day, images are sending over the
Image recorded in digital form epitomize array
internet in very large amount. A photo taken by
of pixel recorded in numerical form. In digital
digital camera consumes more storage space to save
image during analog to digital conversion, adjacent
them. So, it is necessary to reduce the amount of
pixels become correlated to each other and turn
data. The multimedia data like images, videos, etc.
redundant in nature. This redundancy incurred
are transmitted over the web in digital signal. An
increase storage space with the transmission cost

ISSN: 2395-1303 http://www.ijetjournal.org Page 183


International Journal of Engineering and Techniques - Volume 3 Issue 3, May-June 2017
and the bandwidth of the system. Hence, it is across row and column masking for better image
worthy to diminish the redundancy of an image. resolution and retention of image quality.
Ultimately, transition of analog to digital signal DCT, DWT and SVD are most popular and
conversion is basically endowed with three types of versatile image compression techniques used
possible data redundancy namely; Coding, Inter already in many study and reviewed in many
pixel (Spatial) and Psycho-visual redundancy [3]. previous work [8][9][10]. The approaches for Lossy
Major dilemma in arena of image compression include Lossy predictive coding and
compression is with lowering spectral and spatial Transform coding. Fourier-related transform such
redundancy as much as possible whether any as DCT and Wavelet Transform such as DWT are
methodology executed. Nevertheless Lossy the most commonly used Lossy approach [11][12].
techniques benchmarks with greater compression Linear algebra based mathematical transformation
ratio whilst lossless compression deliberates well singular value decomposition (SVD) [4], bestow by
eminence of compressed images with higher singular values was used to solve many
compression ratio yet data lost is noticeable issues mathematical problems and widely employed in
many times with lossy compression whereas the applications like digital image processing data
Loss less compression techniques [2] lead to compression, signal processing and pattern analysis.
insignificant loss of data. The approaches for Lossy Technically in SVD vivid nature of image is code
compression includes: lossy predictive coding and by each single value and image geometry is
transform coding. In contemporary technical epoch sculpturesque in their vector function [13]. Discrete
pragmatic transform coding with a Fourier-related Wavelet Transform is a process of decomposition
transform based DCT and Wavelet Transform like of image. This transformation is a function of small
DWT have linger the most commonly used wave is called wavelet functions. DWT decompose
approach [3]. Lossy compression aims to reduce image data in set of low pass and high pass
image size without any noise whilst lost certain coefficients. A discrete cosine transform (DCT)
image information nevertheless lossless targeted to expresses a finite sequence of data points in terms
no lose of data but affected by noise. Although of a sum of cosine functions oscillating at different
Lossy compression lost redundant data technically, frequencies. The Discrete Cosine Transform (DCT)
yet it’s visually lossless and therefore has been has been applied extensively to the area of image
more popularly implemented for routine image like compression. It has excellent energy-compaction
JPEG and PNG [5] [6]. properties and as a result has been chosen as the
It is necessary to pre-process digital uneven basis for the Joint Photography Experts Group
signal to square matrix form through numerical (JPEG) still picture compression standard. DCT is
transformation and therefore image pre-processing an example of transform coding. The DCT
is vital. Further, mostly image processing algorithm coefficients are all real numbers and Inverse
is targeted to spatial and psycho visual redundancy Discrete Cosine Transform (IDCT) can be used to
and function to overcome redundant data with retrieve the image from its transform representation.
either Entropy encoding (Lossless) or quantization The DCT can be quickly calculated and is best for
(Lossy) process. As shown in Fig-1, basically first images with smooth edges. DCT is used to
image is incorporated and color space conversion is transform a signal from the spatial domain into the
implemented with RGB to YCbCr or other; it is frequency domain [4]. DCT has the property that,
carried out to remove unnecessary image density to for a typical image most of the visually significant
reduce pixel distribution. However, it leads to noise information about an image is concentrated in just
conversion and may change transmission bandwidth. few coefficients of DCT. DCT is applied by some
Later on using, image compression algorithm image mathematical formulas. Zig-Zag scanning scans the
is first partition into n X n block and each block is DCT matrix in zig-zag manner. DCT takes less
either process with encoding or quantization for energy consumption [14].
further spatial redundancy [7]. Numerical matrix is
further portioned into low pass to high pass filter

ISSN: 2395-1303 http://www.ijetjournal.org Page 184


International Journal of Engineering and Techniques - Volume 3 Issue 3, May--June 2017
At bird eye view, prominent spangled features for transformation methods can be used in order to
different method can be glimpse as: compensate the drawbacks of each other. The
• SVD is algebraic function used for maintain proposed
osed hybrid algorithm uses combination of
quality of SVD gives better compression by SVD, DCT and DWT techniques for image
singular values. [15] compression.
• DWT is multi resolution image compression
III. ARCHITECTURE OF PROPOSED SYSTEM:
technique which gives high compression
and higher energy consumption. But the In this paper an effort is made to compress
quality of image is less than DCT. the image using hybrid compression techniques.
• DCT gives low compression and energy Image Compression carried out using SVD-
SVD DCT-
consumption and computational complexity DWT based hybrid algorithm method. Fig 1 shows
is less. [16] the Architecture of proposed system. Figure 1: (a)
These all methods have their own strength and shows the compression process and (b)
limitations. So, above compression techniques are reconstruction process.
combined used for getting better result. Multiple

Fig. 1 (a) Compression process and (b) Reconstruction Process

was previously consistently util


utilized and are as
IV. PERFORMANCE CRITERIA TO BE
follow:
EVALUATED FOR STUDY:
I. Compression Ratio (CR): [2]
As we have discussed earlier, image The ratio between reconstructed image and original
compression with lossy transformation causes image size is called Compression Ratio. The value
partial loss of bits data signal for making process of compression ratio should be increased.
energy efficient for compression and lowering bits CR = n1/n2……..
n1/n2…… (1)
per symbol over all. Nevertheless bits data lost are Here, n1 is number of bits used to store ooriginal
there, we need to maintain
aintain quality of image without image and n2 is number of bits used to store
rate distortion for efficient image reconstruction. compressed image.
Therefore, it is vital to check performance and Power of image compression is reflected with
power of image compression algorithm using implicit compression ratio, better ratio indicates
various performance indices and many parameters

ISSN: 2395-1303 http://www.ijetjournal.org Page 185


International Journal of Engineering and Techniques - Volume 3 Issue 3, May-June 2017
better compression, and hence always positive ratio their tendency of central dispersion and other
is expected following study. estimator.
II. Mean Square Error (MSE): [9]
Mean Square Error is distortion rate in V. RESULT AND DISCUSSION:
reconstructed image. It is better said that “one picture is more
MSE = ∑ ∑ , − ′ , 2….… (2) powerful than 1000 of word”. In today’s digitalized
world every second millions of image are
Here, the M, N is dimension of image. X (i,j) is the
generated, recorded, decoded, stored and
pixel value of (i,j) corresponding to original image
transmitted by various means [9]. Therefore, in
and ′ (i,j) is the pixel value of reconstructed value.
jargon of flourishing data cyclone there is worthy
It is worthy to note that MSE is better estimate of
need of reducing load of data trafficking for
disturbance and unevenness of system, hence more
smoother networking. Therefore, Image
MSE indicate worsen image stability over
compression is worthy and lucrative for smooth
algorithm transformation followed by their
sailing under ocean of data. Image compression and
compression bits.
III. Peak Signal – to – Noise Ratio [3]: [12]
their analysis in choosing energy efficient
This is widely used quality measurement parameter. compression techniques is technically sound work
PSNR is most commonly used to measure the carried out by many workers using different
quality of reconstruction of lossy compression. A transformation method [18] [19]. In our work,
higher PSNR generally indicates that the experiment was carried out using two different
reconstruction is of higher quality. types of natural and artistic class of image with
each of two images in their respective category, as
PSNR =10log (dB)…….. (3)
shown in data Table-1. Our image was choice with
Here, 255 is the maximum possible value of pixel predetermination of two important things:
of image, here pixel is represented by 8 bit per 1. Color spectrum and color density of image
sample so 28 = 256 (0- 2. Distribution of main object and their
255.) repetitiveness in image.
IV. Elapsed time (ET): In present work, study was carried
What time is needed by algorithmic transformation out and results were compared for SVD, DCT and
following compression and reconstruction of image DWT transformation over different types of image
determine how much speedy algorithm is. Here, we with difference in their pixel size, object
have measured time for starting of execution of distribution and objective type whilst their
algorithm to their final completion in terms of performance were evaluated with statistically sound
seconds (S) needed to complete work. performance criteria as discuss further. Summary of
V. Space saving (%): [17]
overall statistical result for all parameters studied
Space saving (%) determine performance of
are recorded in Table 1 for artistic and natural
transformation efficiency over storage of data bits
image respectively, with various statistical
for original bit size to unprocessed bits size. It is
estimates and results for all were discuss in detail in
similar to compression ratio however it reflects
individual parameter studied.
percentage of how much data space is saved
Simply, image with single object is defined here as
following compression.
Natural image while scalar object distribution with
It is given by following equation:
repetitiveness of same object in image named as
SS (%) = 1 − #$ ∗ 100 ……... (4) Artistic image class. Our aim was to test power of
!"
where CR = compression ratio hybrid algorithm architecture by most popular DCT,
To estimate power of parameters further, all result DWT and SVD and their profound over wide
were analysed statistically using SPSS software for background of image.

ISSN: 2395-1303 http://www.ijetjournal.org Page 186


International Journal of Engineering and Techniques - Volume 3 Issue 3, May--June 2017

Fig-2: Depicting original bitmap image used in work and visual result of compressed image using SVD, DCT and DWT with sole hybrid algorithm.
al

Fig-2 is group of image depicting, original studied exhibits positive harmonic uniform trend.
image of each work and image obtained following Moreover, our statistical analysis
lysis indicates that
compression of each algorithm. From, visual mean for PSNR lies in the range of 54.5±18.84
analysis of image it become clear that in all case, (Hybrid), 24.89±0.9 (DWT), 31.66±0.85 (SVD) &
SVD gives good compensate of image quality 30.89±1.82 (DCT) while 30.62±1.07 (Hybrid),
followed by DWT and DCT. One striking s 24.82±0.86 (DWT), 31.42±0.15 (SVD) &
observation was that in all images, hue and 30.3±0.87 (DCT) for natural image. From table 1
saturation of color spectrum was almost visually in all case foror natural or artistic image trivial
intact in case of SVD while image was darker in variation was observed. From graph 1 & 2 graphical
DWT and in case of DCT slight blueness of vision analysis for PSNR indicates all images were
is become apparent. Moreover, in DCT in All case, observed with trifling variation for natural and
image compression
mpression artifact was observed in top left artistic images.
corner of image and image was shown to be slightly
segmented in top marked corner (shown in red box).
This problem may be due to improper image
segmentation problem during inverse algorithm
process.
Result of analysis
alysis is presented in Table-1
Table
and Figure 3 & 4. From figure 3 & 4, 4 it becomes
apparent that for all parameters, except MSE over
all images, following every type of compression

ISSN: 2395-1303 http://www.ijetjournal.org Page 187


International Journal of Engineering and Techniques - Volume 3 Issue 3, May--June 2017

Algorithm Parameter Natural image Artistic image


Mean SD CV% Mean SD CV%
CR 95.15 1.37 0.01 88.30 20.51 0.23
ET 95.32 1.33 0.01 87.98 22.47 0.26
HYBRID MSE 93.02 1.07 0.01 86.50 19.42 0.22
PSNR 94.66 1.45 0.02 87.62 20.35 0.23
SS 98.72 0.72 0.73 98.95 0.01 0.00
CR 7.63 2.72 0.36 8.73 3.04 0.35
ET 1.47 1.58 1.08 1.76 2.06 1.17
DWT MSE 4.33 1.45 0.34 3.95 1.33 0.34
PSNR 8.78 4.79 0.55 11.67 6.25 0.54
SS 98.64 0.97 0.99 98.94 0.04 0.00
CR 54.55 18.85 0.35 57.93 13.53 0.23
ET 214.84 43.00 0.20 218.01 39.22 0.18
SVD MSE 44.97 7.05 0.16 46.99 1.64 0.03
PSNR 55.71 19.38 0.35 61.70 11.74 0.19
SS 98.71 0.67 0.68 98.94 0.04 0.00
CR 31.03 1.70 0.05 30.62 1.08 0.04
ET 24.89 0.91 0.04 24.82 0.86 0.03
DCT MSE 31.67 0.86 0.03 31.41 0.15 0.00
PSNR 30.89 1.83 0.06 30.30 0.87 0.03
SS 98.71 0.72 0.73 98.94 0.04 0.00

Table 1: statistical summary of natural and artistic image for various evaluation parameters using different conventional and proposed hybrid algorithm

Figure 3: Graphical representation for relationship between summary of different statistical estimates for different algorithm 3.1) Hyb
Hybrid 3.2) DWT 3.3) DCT
and 3.4) SVD for (n=10) natural image under study

ISSN: 2395-1303 http://www.ijetjournal.org Page 188


International Journal of Engineering and Techniques - Volume 3 Issue 3, May--June 2017

Figure 4: Graphical
phical representation for relationship between summary of different statistical estimates for different algorithm 3.1) Hybrid 3.2) DWT 3.3) DCT
and 3.4) SVD for (n=10) artistic image under study

Among all the parameters; CV (%) and shown in figure 1 our hybrid algorithm shows better
Standard Deviation (SD) it is too much higher in visual image reconstruction than other while very
case of parameter (figure 3 & 4)) MSE especially in poor in casese of DCT where blocking artifact was
the DWT and overall in all case study indicates clearly visible at top left right corner of
that the parameters MSE is highly influenced reconstructed images. From Table 4.1 in all case for
following an image compression and moreover it natural or artistic image no variation was observed.
may be due to the problem in the algorithm Figure 2 and Table 1, depict harmonic relationship
compression and decompression process. More for parameter SS (%) over all type of natural and
MSE indicates that Image stability is deteriorated artistic image. Statistically SS (%) for artistic image
following the compression [20]. ranges for 98.95±0.01 (Hybrid), 98.94±0.04 (DWT),
Now days, storage capability and 98.92±0.01 (SVD) & 98.94±0.01 (DCT) while
transmission bandwidth over work of image 98.71±0.71 (Hybrid),
id), 98.64±0.97 (DWT),
compression is major axioms of many works. Yet 98.7±0.67 (SVD) & 98.7±0.73 (DCT) for natural
very few work in previous done have shown study image.
related for it. We have cited importance to this
objective, where parameter Space saving, in our CONCLUSIONS
study indicate consistent approximately 99% of The main principle behind the image/data
space saved following compression workwor in all compression technique is to reduce redundancy
method tested. adjoined with generally spectral and spatial
Graphical analysis for SS (%) indicates all redundancy. In present work, study was carried out
images were observed with trifling variation for for designing better hybrid algorithm aims to reduce
natural and artistic images. Therefore, it can be previously cited problem with conventional
concluded that our algorithm has been remain methodology. Our work deliberated, image with
consistent for all type of image indicates good
g difference in their pixel size, object distribution and
robustness of hybrid algorithm. Moreover, in objective type whilst their performances were
comparison to all in case of hybrid algorithm evaluated with statistically sound performance
nevertheless difference for SS (%) is few yet as criteria. Study indicates that saliently PSNR and

ISSN: 2395-1303 http://www.ijetjournal.org Page 189


International Journal of Engineering and Techniques - Volume 3 Issue 3, May-June 2017
MSE are consistent and robust criteria for 8. Subudhiray S., and Srivastav A. K.,”Implementation Of
parameter studied. Space saving (%) indicate that Hybrid Dwt-Dct Algorithm For Image Compression: A
Review”, 2012.
moreover 98% data storage space is saved which is
highly appreciable. Although many workers has 9. Barbhuiya A. H. M., Laskar T. A., and Hemachandran K.,
cited the algorithm works consistently, however we “An Approach for Color Image Compression of JPEG and
have shown, there is a certain issues in DWT i.e. it PNG Images Using DCT and DWT”, In Computational
always reflect apex MSE for any type of image with Intelligence and Communication Networks (CICN), 2014
partial yet noticeable image compression artifact as International Conference on IEEE, pp. 129-133, 2014.
observed with DCT.
10. Jayaraman S, Veerkumar T, Esakkirajan S, Digital Image
REFERENCES Processing, Tata McGraw Hill Education, 2009.

1. K. C. Chandra Sekaran and Dr. K. Kuppusamy, 11. B. Chanda, and Dutta Majumder, Digital Image
“Performance Analysis of Compression Techniques Using Processing and Analysis, PHI Learning Private Limited,
SVD, BTC, DCT and GP”, IOSR Journal of Computer Delhi, 2011.
Engineering (IOSR-JCE) e-ISSN: 2278-0661, p-ISSN:
2278-8727, vol-17, Issue 1, ver. 2, Jan – Feb. 2015. 12. Raghavendra .M. J, Prasantha .H. S, and Sandya S, “DCT
SVD Based Hybrid Transform Coding for Image
2. Archana Deshlahra, G. S. Shirnewar, and Dr. A. K. Compressio”,, International Journal on Recent and
Sahoo, “A Comparative Study of DCT, DWT & Hybrid Innovation Trends in Computing and Communication, vol-
(DCT-DWT) Transform”, 1st International Conference on 3, no.-6, pp. 4066-4071, 2015.
Emerging Trends in Computer and Image Processing,
June2011.[https://www.researchgate.net/publication/2828 13. V. C. Klema, “The singular value decomposition: its
58254_Comparative_study_of_DCT_DWT_and_Hybrid_t computation and some applications”, IEEE Transactions
echniques_for_Image_Compression]. in automatic control, vol-25, pp. 164-176, 1980.

14. Delp E.J, and Mitchell O.R., “Image Compression using


3. Arshdeep Singh, Kamal Goyal, Navdeep Goel, and Block Truncation Codin”, IEEE Trans. Communications,
Vaibhav Phutela, “Comparative Analysis of Image vol-27, pp. 1335-1342, 1979.
Compression Techniques using SVD, DCT and DWT”,
International Journal of Computer Applications, In 15. Fouzi Douak, “Color Image Compression Algorithm
International Conference on Communication, Computing Based On The DCT Transform Combined To An Adaptive
and Virtualization (0975 – 8887), pp. 16-18, 2016. Block Scanning”, IEEE Transactions On Information
Forensics And Security, vol-6, no.-3, 2011.
4. Gonzalez and Woods, Digital Image Processing, 3rd
edition, Dorling Kindersley (India) Pvt. Ltd, 2014. 16. Ahmed N., Natarajan T., and Rao, K. R., “Discrete Cosine
Transform”, IEEE Transactions on Computers, vol-100,
5. A. M. Raid, W. M. Khedr, M. A. El-dosuky, and W. Ahmed, no.-1, pp. 90–93, 1974.
“Jpeg Image Compression Using Discrete Cosine
Transform-A Survey”, arXiv preprint arXiv: 1405.6147,
2014. 17. https://en.wikipedia.org/wiki/Data_compression_ratio, as
accessed on 18 May, 2017 at 11:30 AM.
6. Maini R., and Mehra S., “A Review on JPEG2000 Image
Compression”,Int. J. Comput. Appl, vol-9, pp. 43-47, 18. Charles F. Hall, A Hybrid Image Compression Technique,
2010. CH2I 18-8/85/0000-0149, IEEE, 1985.

7. Sebastian S., and Manimekalai M. A. P., “Color image 19. P. Hong, and S. W. Bao, “Hybrid image compression
compression Using JPEG2000 with adaptive color space model based on subband coding and edge preserving
transform”, In Electronics and Communication Systems regularization”, Vision, Image and Signal Processing,
(ICECS), International Conference on IEEE, pp. 1-5, IEEE Proceedings, vol-147, Issue: 1, pp. 16-22, 2000.
2014.
20. W. Khan, “Image Segmentation Techniques: A Survey”,
Journal of Image and Graphics, vol-1, no.-4, pp. 166-170,
2013.

ISSN: 2395-1303 http://www.ijetjournal.org Page 190

Vous aimerez peut-être aussi