Comparative Study of Techniques For Image Compression
Comparative Study of Techniques For Image Compression
SUNIL RAJ.H,
UG Student, BNMIT, Bangalore, India
AKSHATH.K
UG Student, BNMIT, Bangalore, India
PRADEEP.M.R
UG Student, BNMIT, Bangalore, India
PRIYA.R.SANKPAL
Assistant Professor, Dept. of telecommunication, BNMIT, Bangalore, India
113 | P a g e
NOVATEUR PUBLICATIONS
International Journal of Research Publications in Engineering and Technology [IJRPET]
ISSN: 2454-7875
VOLUME 3, ISSUE 7, July-2017
blocks in descending order. The last two probabilities are Table 1 shows the results obtained for these
then added and the resulting probability is places back in images before and after compression.
the table in its suitable position. The last two probabilities Table 1: results obtained for general images
that are added are assigned with a binary value of 0 or 1. Test Dimen Compr Compr Decompr PSNR %
input sion ession ession ession (DB) reduction
This process is repeated until the output reduced to a time ratio time in size
single code words with a string of 0’s and 1’s. (sec) (sec)
Lena 256*2 0.668 9.681 6.9759 25.24 48.6
At the decoding stage, the code word is fed into
56 1 6
the decoding block. Huffman decoding algorithm is used to 512*5 0.712 9.456 7.3408 24.97 48.6
get back the original blocks of data. The first bit is read, if it 12 7 1
1024* 0.693 9.512 7.0196 25.03 48.6
is 0 follow the bottom edge of the tree. If the first bit is 1 1024 5 2
then follow the top edge of the tree to get back the original
Came 256*2 0.60 13.78 4.7227 24.93 48.1
block. The blocks are combined later to get back the ra 56 25
original image in the decompressed form. man
512*5 0.566 13.54 4.7901 24.53 48.4
The quad tree decomposition uses affine
12 5 74
transformation where the image is tilted by an angle of 45 1024* 1.364 13.54 6.6683 24.63 48.4
degrees so that after block conversion the information is 1024 7 46
Babo 256*2 0.618 9.296 21.7766 26.29 47.9
properly mapped onto the blocks. Affine transform is used on 56 7 8
to prevent loss of information at the boundaries and edges 512*5 0.575 8.666 6.7806 25.83 49.3
of the image. Huffman coding algorithm uses Iterated 12 2 7
1024* 0.541 8.783 6.7620 25.92 49.3
Function System (IFS) in order to encode and decode the 1024 8 2
given data. The compression ratio is used to measure the Fig.3 shows some of the fractal images that are
ability of data compression by comparing the size of the used for analysis.
image being compressed to the size of the original image.
Peak signal to noise ratio (PSNR) is given by the formula,
V. COMPARISON OF METHODS:
Table 6 represents the comparison between the
existing methods and the proposed method.
Table 6: results comparison
Method used for PSNR Compression %compression
Lena image ratio
Fractal image 25.24 9.6816 48.61
compression (FIC)
JPEG compression 45.5 10.456 <45
DCT compression 23.1452 1.0949 <10
From the table 6, it is seen that the results
Fig.6: DCT co-efficient vs PSNR values obtained for FIC is far more superior when compared to
Table 4 represents the results obtained for JPEG the basic DCT technique. But the results obtained for JPEG
image compression for Lena image. image compression is higher than the FIC technique. Thus
Table4: JPEG compression results the performance of FIC technique lies between DCT and
Method(Lena PSNR(db) Compression %compression JPEG technique when it comes to Lena image.
image) ratio The main disadvantage with the JPEG image
JPEG 45.5 10.456 <45
compression is that the block size is limited to 64 (8*8).
Fig.7 shows the DCT compression output.
115 | P a g e
NOVATEUR PUBLICATIONS
International Journal of Research Publications in Engineering and Technology [IJRPET]
ISSN: 2454-7875
VOLUME 3, ISSUE 7, July-2017
The blocks which exist above the 64 mark are not compared to BTC where the information at higher gray
processed as it is limited by DCT. But in fractal image levels is discarded.
compression the blocks of any size can be processed
without re-sizing the blocks.
Coming to satellite images, the compression ratio REFERENCES:
obtained for the image considered (8 *8 blocks) for BTC 1) Veena Devi S. V and A. G. Ananth “fractal image
technique (approx. 20) [11] is almost twice the compression using quad tree decomposition and
compression ratio obtained for FIC technique. The PSNR huffman coding”, SIPIJ, vol. 3.no.2, April 2012.
values obtained are also more when compared to the FIC 2) Fischer Y “Fractal image compression: theory and
technique. But the loss of information is very less in the FIC application”, New York, Springer- Verlag, 1995.
technique when compared to the BTC technique. Also the 3) Arnaud E. Jacquin “Fractal image coding”, Proceedings
gray levels in the image need not be modified in the FIC of IEEE, vol. 81.no.10, pp. 1451-1465, October 1993
technique. 4) Bohong Liu and Yung Yan “Improved fractal image
coding based on the Quad tree”, IEEE 3rd International
VI. CONCLUSION: Congress on image and signal processing, pp. 529-532,
Fractal image compression using quad tree 16-18 October 2010.
decomposition and Huffman coding has been applied to set 5) Dr. Muhammed Kamran, Amna Irshad Sipra and
of standard images like Lena, cameraman and baboon for Muhammd Nadeem “A novel domain optimization
various dimensions like 256*256, 512*512 and technique in fractal image compression”, IEEE
1024*1024. The compressed images gave almost no loss of proceedings on 8th world congress on intelligent
information as when compared to standard JPEG image control and automation, pp. 994-999, 7-9 july 2010.
compression algorithm. The method is also applied to 6) H. B. Kekre, Tanuja S. Sarode, Sanjay R. Sange “image
satellite images and natural textures and fractals reconstruction using fast inverse halftone and huffman
(repetitive pattern) and it is found that the results coding technique”, IJCA, vol. 27.no.6,pp. 34-40, august
obtained for these images are much efficient when 2011.
compared to standard DCT and JPEG compression. 7) Manoj Aggarwal and Ajai Narayan “Efficient Huffman
The results have been compared for standard Lena image decoding”, IEEE Trans, pp. 936-939, 2010.
of 256*256 dimensions with existing JPEG and DCT 8) Hui Yu, Li Li, Dan Liu, Hongyu Zhai, Xiaoming Dong
algorithms. It is evident from the results shown that JPEG “Based on quad tree fractal image compression
provides better compression ratios and PSNR values when improved algorithm for research”, IEEE Trans., pp. 1-3,
compared to the proposed method. But the compressed November 2010.
image has more information loss when compared to 9) Riccardo Dastasi, Michele Nappi and Daniel Riccio “A
proposed method. range or domain approximation error based approach
The higher frequency components of the image for fractal image compression”, IEEE Trans. On image
that are less sensitive to the human eye are discarded processing, vol. 15.no.1, pp. 89-97, 12 December 2005.
using DCT or JPEG technique. But in our method the higher 10) Veena Devi S. V and A. G. Ananth “Fractal image
frequency components are given the same priority as the compression of satellite imageries, IJCA, vol. 30.no.3,
lower frequency components there by reducing the loss of pp. 33-36, September 2011.
information. The quantization levels are reduced to a block 11) S. Chandravadana and N. Nithyanandam “Compression
size of 64 (8*8) in the JPEG technique. But in our method of satellite images using lossy and lossless coding Coding
the block size can be varied according to the user. Also our techniques”, IJET, vol. 6.no.1, February 2014.
method can be used in any dimension, size and format 12) R. Praisline Jasmi, B. Perumal and M. Pallikonda
(JPG,GIF,TIFF,PNG etc..) thus being more flexible for Rajashekaran “Comparison of image compression
processing when compared to the existing methods. techniques Using Huffman coding, DWT and fractal
In our project we have compared the satellite algorithm, ICCCI, January 2015.
image results with the existing block truncation coding 13) Sharanjeet Kaur “A review paper on Image compression
(BTC). Our method provides no information loss when Techniques”, IJCSE, vol. 5. Issue 1,February 2016.
116 | P a g e