DCT and Wavelet Transform Based Image Compression
DCT and Wavelet Transform Based Image Compression
Compression Techniques
I. INTRODUCTION
Image compression defines as reducing the amount of data required to represent digital image. However, image information
contains a large of information, which brings a lot of difficulties for storage, processing and transmission. Thus image
compression is very importance and necessity. There are two way to image compression (1) lossless compression and (2) lossy
compression. Lossy image compression algorithms are applicable whenever the exact reconstruction of an image is not expected.
These algorithms are usually based on transform methods. In recent years, a considerable effort have been made to design image
compression method in which the main goal is to obtain good quality of decompressed images even at very low bit rates. Due to
the great use of digital information, image compression becomes imperative in different areas such as image storage, transmission
and processing. At these areas the representation of the information needs to be efficient. The goal of image coding is to reduce
the bit rate for signal transmission or storage while maintaining an acceptable image quality for different purposes.
Fourier-based transforms (e.g. DCT and DFT) are efficient in exploiting the low frequency nature of an image. However, a
major disadvantage of these transforms is that the basis functions are very long. If a transform coefficient is quantized, the effect
is visible throughout the image. This does not create much problem for the low frequency coefficients that are coded with higher
precision [2]. However, the high frequency coefficients are coarsely quantized, and hence the reconstructed quality of the image
at the edges will have poor quality. A sharp edge in an image is represented by many transform coefficients (that cancel each
other outside the edge area) that must be preserved intact and in the same relationship to one another to achieve good fidelity of
the reconstructed image. Second, an image is generally a nonstationary signal where different parts of an image have different
statistical properties. If the transform is calculated over the entire image, this nonstationarity will be lost, resulting in a poor
compression performance.
JPEG is the first international still image compression standard for continuous-tone image. The JPEG baseline system is based
on DCT. The JPEG sequential DCT-based mode has been very successful in coding images of high and medium bit rates. For low
bits rates, the quantization step size needs to be increased in order to get more compression ratio. This leads to a high degree of
artificial blocking in the reconstructed image. This is a standard problem for most block-based transform techniques [4]. The
DWT has recently emerged as a powerful technique for image compression because of the multi-resolution property. The
advantages of using DWT over the DCT lies in the fact that the DWT projects high-detail image components onto shorter basis
functions with higher resolution, while lower detail components are projected onto larger basis functions, which correspond to
narrower sub-bands, establishing a trade-off between time and frequency resolution.
……eq.2.1
Where j, k, m, n = 0, 1, 2..., N −1 and
…eq. 2.2
The DCT is a real valued transform and is closely related to the DFT. In particular, a N × N DCT of x(n 1,n2) can be expressed
in terms of DFT of its even-symmetric extension, which leads to a fast computational algorithm. Because of the even-symmetric
extension process, no artificial discontinuities are introduced at the block boundaries. Additionally the computation of the DCT
requires only real arithmetic. Because of the above properties the DCT is popular and widely used for data compression operation.
V. EXPERIMENTAL RESULTS
1. DCT Results
2. DWT results:
(a) (b)
(c) (d)
Fig 5.2: (a) Original CT Scan Image (b) Compressed image with decomposition level 1 (c) Compressed image with
decomposition level 2 (d) Compressed image with decomposition level 3
TABLE 5.1: CR, MSE, PSNR values of wavelet transform for decomposition level 1