Beruflich Dokumente
Kultur Dokumente
RESEARCH ARTICLE
OPEN ACCESS
--------------------------------------------------
2, 3
************************------------------------------------------
Abstract:
Image Compression finds a significant place in the field of research. In this paper we are proposing a
scheme for hybrid image compression which uses Discrete Cosine Transform, Singular Value
Decomposition and Run length Encoding. Discrete Cosine Transform is applied to the image. Then DCCoefficient is taken out from Discrete Cosine Transformed Matrix and stored or transmitted separately. The
Discrete Cosine Transformed matrix without DC-coefficient is truncated with a threshold value. To this
truncated matrix Singular Value Decomposition is applied. The matrices obtained from the Singular Value
Decomposition are again truncated with suitable threshold value. Then these matrices are multiplied back.
The resultant matrix is again truncated with threshold value. Then this matrix is quantized. The quantized
matrix is converted into sparse matrix form. Then sparse matrix elements under goes data type conversion.
The column elements of the sparse matrix are run length encoded and then compressed form of the image
can be obtained. This compressed form can be stored or transmitted. An effort is also made to compare the
number of memory bytes obtained in this method with the three other methods which are discussed.
Keywords-- DCT-Discrete Cosine Transform, SVD-Singular Value Decomposition, MSE-Mean
Squared Error, PSNR-Peak Signal to Noise Ratio, CR-Compression Ratio ,RLE-Run Length
Encoding
-------------------------------------------------------
************************-------------------------------------
I. INTRODUCTION
There exists always demand for Image
compression in the field of Multimedia. Image
Compression is broadly classified into two types.
They are lossless image compression techniques and
lossy image compression techniques. It can be learnt
that in the lossless image compression techniques
the reconstructed image quality is better than the
lossy image compression techniques. But when we
compare with the compression ratio, lossy
compression technique is better than the loss less
compression technique. In this paper we are
proposing hybrid image compression technique
using DCT, SVD and RLE. This is a lossy
compression technique.
This paper consists of seven sections. The first
section deals with the introduction, the second
ISSN :2394-2231
http://www.ijctjournal.org
Page 6
f x, y cos
cos
B u C v A u, v cos
cos
(1)
(2)
Collect the
DC
coefficient.
Convert into
Gray Scale
Image
Truncate the
DCT matrix
with threshold
th
Truncate U,
S and V
matrices
with
Threshold
The Rd matrix
is converted into
sparse matrix
form S
Sparse
matrix
elements data
type
conversion
http://www.ijctjournal.org
R=Uth*Sth*VthT
Data type
conversion
Apply Discrete
Cosine
Transform
Construct
Sparse matrix
and
then
covert it to
full matrix
Obtain Reconstructed
Image
Page 7
ISSN :2394-2231
0 91 0 0
0 0 0 0
%& = '
* can
0 0 0 0
0 0 0 0
be represented as
S =
Row
1
Column
2
Data Element
91
(3)
http://www.ijctjournal.org
Page 8
Convert into
Gray Scale
Image
Collect the
DC
coefficient.
Truncate the
DCT matrix
with threshold
th
Truncate U,
S and V
matrices
with
Threshold
Apply Discrete
Cosine
Transform
R=Uth*Sth*VthT
The Rd matrix
is converted into
sparse matrix
form S
Sparse
matrix
elements data
type
conversion
Add DC-coefficient to
matrix mn
(4)
http://www.ijctjournal.org
Page 9
Collect the
DC
coefficient.
Convert into
Gray Scale
Image
Apply Discrete
Cosine
Transform
The Dd matrix
is converted into
sparse matrix
form S
Data
type
conversion.
Sparse
matrix
elements data
type
conversion
Sparse matrix
construction.
Convert
Sparse matrix
to Full matrix.
Add DC-coefficient
mn Matrix
to
Obtain Reconstructed
Image
(5)
http://www.ijctjournal.org
Page 10
Convert into
Gray Scale
Image
Apply Discrete
Cosine
Transform
IV. IMPLEMENTATION
The experimentation is conducted using Matlab
7.6 on Intel(R) core i3 processor at 2.4 GHz. There
are four methods. They are (i) Image Compression
using DCT-SVD-RLE method. (ii) Image
compression using DCT-SVD method
(iii) Image compression using DCT-RLE method,
and (iv) Image compression using DCT method.
The algorithm of the Image Compression using
DCT-SVD-RLE method is as follows.
Collect the
DC
coefficient.
Sparse
matrix
elements data
type
conversion
The Dd matrix
is converted into
sparse matrix
form S
Data type
conversion.
ISSN :2394-2231
Obtain Reconstructed
Image
http://www.ijctjournal.org
Page 11
(i)
FGH
JGK
JGI FGI ?@ A,B
LN
C A,B DE
(7)
RRE
STU
(8)
WX
&YZW[
(9)
Where
http://www.ijctjournal.org
Page 12
ISSN :2394-2231
WX
&YZW[
(11)
Where
(12)
http://www.ijctjournal.org
Page 13
http://www.ijctjournal.org
Page 14
(vii)
(viii)
(ix)
(x)
Sl.
No.
1
2
3
4
5
th
50
52
54
56
58
MSE
187.9812
190.5455
190.8043
195.6602
195.5874
PSNR
(in dB)
25.3897
25.3308
25.3249
25.2158
25.2174
Memory
(in Bytes)
4833
4532
4407
4095
3948
CR
27.9640
29.8213
30.6671
33.0037
34.2325
Sl.
No.
1
2
3
4
5
th
MSE
50
52
54
56
58
187.9812
190.5455
190.8043
195.6602
195.5874
http://www.ijctjournal.org
PSNR
(in dB)
25.3897
25.3308
25.3249
25.2158
25.2174
Memory
(in Bytes)
7547
7072
6857
6357
6112
CR
17.9078
19.1106
19.7098
21.2600
22.1122
Page 15
CR=27.9640
CR=29.8213
Reconstrucetd Image
Reconstrucetd Image
th=54,PSNR=25.3249,
CR=30.6671
th=56,PSNR=25.2158,
CR=33.0037
Reconstrucetd Image
Sl.
No.
1
2
3
4
5
th
MSE
50
52
54
56
58
121.9080
122.1413
122.7838
123.8261
125.0919
PSNR
(in dB)
27.2705
27.2622
27.2394
27.2027
27.1585
Memory
(in Bytes)
8784
8290
7846
7395
7005
CR
15.3859
16.3028
17.2253
18.2759
19.2934
Sl.
No.
1
2
3
4
5
th
MSE
50
52
54
56
58
121.9080
122.1413
122.7838
123.8261
125.0919
PSNR
(in dB)
27.2705
27.2622
27.2394
27.2027
27.1585
Memory
(in Bytes)
13692
12902
12182
11457
10847
th=58,PSNR=25.2174,CR=34.2325
Reconstructed Image
CR
9.8707
10.4751
11.0942
11.7963
12.4597
th=50,PSNR=25.3897,
CR=17.9078
th=52,PSNR=25.3308,
CR=19.1106
Reconstructed Image
Reconstructed Image
th=54,PSNR=25.3249,
CR=19.7098
th=56,PSNR=25.2158,
CR=21.2600
Reconstructed Image
Reconstrucetd Image
Reconstrucetd Image
th=58,PSNR=25.2174,CR=22.1122
th=50,PSNR=25.3897,
ISSN :2394-2231
th=52,PSNR=25.3308,
http://www.ijctjournal.org
Page 16
Reconstructed Image
Reconstructed Image
th=58,PSNR=27.1585,CR=12.4597
th=50,PSNR=27.2705,
CR=15.3859
th=52,PSNR=27.2622,
CR=16.3028
Reconstructed Image
Reconstructed Image
th=54,PSNR=27.2394,
CR=17.2253
th=56,PSNR=27.2027,
CR=18.2759
Reconstructed Image
th=58,PSNR=27.1585,CR=19.2934
Reconstructed Image
th=50,PSNR=27.2705,CR=9.870
7
Reconstructed Image
th=54,PSNR=27.2394,CR=11.09
42
ISSN :2394-2231
Reconstructed Image
th=52,PSNR=27.2622,CR=10.47
51
Reconstructed Image
12000
10000
8000
6000
DCT-SVD-RLE Method
DCT-SVD Method
DCT-RLE Method
DCT Method
4000
2000
50
52
54
Threshold
56
58
th=56,PSNR=27.2027,CR=11.79
63
http://www.ijctjournal.org
Page 17
36
35
DCT-SVD-RLE
DCT-SVD
34
30
32
30
Compression Ratio
20
15
Increase in
Compression Ratio for
the same PSNR
28
26
24
22
20
DCT-SVD-RLE Method
DCT-SVD Method
DCT-RLE Method
DCT Method
10
50
52
54
Threshold
18
16
25.2
56
58
25.4
Compression Ratio
Compression Ratio
25
Increase in
Compression
ratio for the
same PSNR
16
14
12
PSNR vs Threshold
30
10
25
8
27.14
PSNR
20
27.16
27.18
27.2
27.22
27.24
Peak Signal to Noise Ratio
27.26
27.28
27.3
15
DCT-SVD-RLE Method
DCT-SVD Method
DCT-RLE Method
DCT Method
10
50
52
54
Threshold
56
58
ISSN :2394-2231
http://www.ijctjournal.org
Page 18
REFERENCES:
[1]
AUTHORS PROFILE
ISSN :2394-2231
http://www.ijctjournal.org
Page 19