Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Overview
Introduction to Image Compression DWT Concepts Lifting scheme Block diagram DWT vs. DCT DWT Drawbacks Conclusion References
Principles of Compression
Spatial Correlation Redundancy among neighboring pixels Spectral Correlation Redundancy among different color planes Temporal Correlation Redundancy between adjacent frames in a sequence of image
Classification of Compression
Lossless vs. Lossy Compression
Lossless
Digitally identical to the original image Only achieve a modest amount of compression
Lossy
Discards components of the signal that are known to be
redundant Signal is therefore changed from input Achieving much higher compression under normal viewing conditions no visible loss is perceived (visually lossless)
Classification of Compression
Predictive coding Information already received (in transmission) is used to predict future values Difference between predicted and actual is stored Easily implemented in spatial (image) domain
Classification of Compression
Transform Coding Transform signal from spatial domain to other space using a well-known transform Encode signal in new domain Higher compression, in general than predictive, but requires more computation Subband Coding Split the frequency band of a signal in various subbands
Classification of Compression
..
The filters used in sub band coding are known as quadrature mirror filter(QMF) Use tree decomposition of an image data into various frequency sub bands. The output of each decimated sub bands quantized and encoded separately
1 t b a ,b (t ) ( ) a a
(1)
Lifting scheme
BLOCK DIAGRAM
a) Input Image Input image is a grey scale image of the size 256 x 256 pixels. Each pixel is represented by 8 bits. b) Data converter software Converts the input image into HEX format
c) Two dimensional memory HEX file from the data converter is given as input to the two dimensional memory of the size 256 x 256 which is generated using Xilinx core generator. This is an intermediate memory used for storing the HEX file.
d) Wavelet transform module It takes the data from intermediate memory and applies the wavelet transform . Output from this module is stored back in the intermediate memory and the DUMP signal is generated which indicates that transform is completed.
e) Data converter
Data converter reads the data from intermediate memory which is in HEX form and converts it back in to an image of 256 x 256 size
Advantages
No need to divide the input coding into non-overlapping 2-D blocks, it has higher compression ratios avoid blocking artifacts. Allows good localization both in time and spatial frequency domain. Transformation of the whole image introduces inherent scaling Better identification of which data is relevant to human perception higher compression ratio
Visual Comparison
(a)
(b)
(c)
(a) Original Image256x256Pixels, 24-BitRGB (b) JPEG (DCT) Compressed with compression ratio 43:1(c) JPEG2000 (DWT) Compressed with compression ratio 43:1
The complexity of calculating wavelet transform depends on the length of the wavelet filters, which is at least one multiplication per coefficient. Lifting scheme a new method compute DWT using integer arithmetic DWT has been implemented in hardware such as ASIC and FPGA
Disadvantages
Disadvantages of DWT
The cost of computing DWT as compared to DCT may be higher. The use of larger DWT basis functions or wavelet filters produces blurring and ringing noise near edge regions in images or video frames Longer compression time Lower quality than JPEG at low compression rates
conclusion
A discrete wavelet transform designed in VHDL and simulated using modelsim
References
References
S.M.Aziz and Matteo Michel, VHDL based design of an FDWT processor S.Masud, VLSI system for Discrete Wavelet Transform S. G. Mallat, A Theory for Multi resolution Signal Decomposition: The wavelet Representation
THANK YOU