24
Haar wavelet based approach for image compression Presented by Revanna.B.R 4MC11LDS18 2 nd Sem M.Tech DE&CS

M.Tech project on Haar wavelet based approach for image compression

Embed Size (px)

Citation preview

Page 1: M.Tech project on Haar wavelet based approach for image compression

Haar wavelet based approach for image compression

Presented by

Revanna.B.R

4MC11LDS18

2nd Sem M.Tech

DE&CS

Page 2: M.Tech project on Haar wavelet based approach for image compression

Introduction • The computer is becoming more and more powerful

day by day. As a result, the use of digital images is increasing rapidly.

• Data requires considerable storage capacity and transmission bandwidth.

• The way of using the images in the web applications more effectively.

• Internet teleconferencing, High Definition Television (HDTV), satellite communications and digital storage of movies are not feasible without a high degree of compression.

Page 3: M.Tech project on Haar wavelet based approach for image compression

Block diagram of an Encoder:

Page 4: M.Tech project on Haar wavelet based approach for image compression

Block diagram of an Decoder:

Page 5: M.Tech project on Haar wavelet based approach for image compression

Classification of Compression Technique

Lossless vs. Lossy compression:Predictive vs. Transform coding:

Page 6: M.Tech project on Haar wavelet based approach for image compression

Wavelets for image compression

• Wavelet transform exploits both the spatial and frequency correlation of data by contractions and translations of mother wavelet on the input data.

• Another encouraging feature of wavelet transform is its symmetric nature that is both the forward and the inverse transform has the same complexity, building fast compression and decompression routines.

Page 7: M.Tech project on Haar wavelet based approach for image compression

• Its characteristics well suited for image compression include the ability to take into account of Human Visual System’s (HVS) characteristics, very good energy compaction capabilities, robustness under transmission, high compression ratio etc.

Page 8: M.Tech project on Haar wavelet based approach for image compression

Proposed work

Decomposition to lower resolution

Page 9: M.Tech project on Haar wavelet based approach for image compression

Structure of wavelet decomposition

Page 10: M.Tech project on Haar wavelet based approach for image compression

8×8 image

Page 11: M.Tech project on Haar wavelet based approach for image compression

2D array representing

Averaging: (64+2)/2=33, (3+61)/2=32, (60+6)/2=33, (7+57)/2=32 Differencing: 64–33 =31, 3–32= –29, 60–33=27 and 7–32= –25

Page 12: M.Tech project on Haar wavelet based approach for image compression

Transformed array after operation on each row

Page 13: M.Tech project on Haar wavelet based approach for image compression

Final Transformed Matrix after one step

Page 14: M.Tech project on Haar wavelet based approach for image compression

Software architecture:Algorithm:

The algorithm steps for compression and reconstruction of image are:

Step 1: Start with the matrix P representing the original image.

Step 2: Compute the transformed matrix T by the operation averaging and differencing (First for each row, then for each column) .

Step 3: Choose a threshold method and apply that to find the new matrix say D.

Step 4: Use D to compute the compression ratio and others values and to reconstruct the original image as well.

Page 15: M.Tech project on Haar wavelet based approach for image compression

Advantages

• It is conceptually simple. • It is fast. • It is memory efficient, since it can be calculated in

place without a temporary array. • It is exactly reversible without the edge effects that

are a problem with other wavelet transforms.

Page 16: M.Tech project on Haar wavelet based approach for image compression

Results:

Page 17: M.Tech project on Haar wavelet based approach for image compression
Page 18: M.Tech project on Haar wavelet based approach for image compression
Page 19: M.Tech project on Haar wavelet based approach for image compression
Page 20: M.Tech project on Haar wavelet based approach for image compression
Page 21: M.Tech project on Haar wavelet based approach for image compression
Page 22: M.Tech project on Haar wavelet based approach for image compression

Conclusion:• A picture can say more than a thousand words.• This is not always a problem because now computers

are capable enough to handle large amounts of data. • The rapid increase in the range and use of electronic

imaging justifies attention for systematic design of an image compression system and for providing the image quality needed in different applications.

• Wavelet can be effectively used for this purpose.• Haar wavelets as the basis functions along with the

quality measurement of the compressed images have been presented here.

Page 23: M.Tech project on Haar wavelet based approach for image compression

Future work:

• the trade-off between the value of the threshold ε and the image quality can be studied and also fixing the correct threshold value is also of great interest.

• finding out the exact number of transformation level required in case of application specific image compression can be studied.

Page 24: M.Tech project on Haar wavelet based approach for image compression

Thank you