No BSD License  

4.44444
4.4 | 9 ratings Rate this file 27 Downloads (last 30 days) File Size: 1.59 KB File ID: #20501 Version: 1.0

Image Compression using Wavelet

by

 

27 Jun 2008 (Updated )

This code compress the image using wavelets. Both gray scale and RGB images can be applied and some

| Watch this File

File Information
Description

The following implementation steps have been made for the devised algorithm, which is based on 2D-wavelet.
1. Reading an image of either gray scale or RGB image.
2. Converting the image into grayscale if the image is RGB.
3. Decomposition of images using wavelets for the level N.
4. Selecting and assigning a wavelet for compression.
5. Generating threshold coefficients using Birge-Massart strategy.
6. Performing the image compression using wavelets.
7. Computing and displaying the results such as compressed image, retained energy and Zero coefficients.
8. Decompression the image based on the wavelet decomposition structure.
9. Plotting the reconstructed image.
10. Computing and displaying the size of original image, compressed image and decompressed image.

Required Products Wavelet Toolbox
MATLAB release MATLAB 6.5 (R13)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (16)
30 Mar 2015 Vasumathi Ganesh

this error is arriving
Error using image
TrueColor CData contains element out of range 0.0 <= value <= 1.0

Error in wavecompression (line 37)
subplot(222), image(xd);

Comment only
16 Oct 2014 LEO

LEO (view profile)

 
17 Nov 2013 pratik chavda  
12 May 2012 moaaz

moaaz (view profile)

 
15 Mar 2012 Muhammad Ghani

What should be enter in the waavelt portion ??

Comment only
11 Oct 2011 vinnakota harish  
20 May 2011 babak ehyaee  
14 Jan 2011 nur adibah

hi...just wanna ask,what the size of original image and image after compression??and image after compression in which type of file??

Comment only
16 Dec 2010 nur adibah

hi...just wanna ask, why i cant watch your file? i really2 need it... pls

08 Sep 2010 paramveer sran

what do i enter as the name of the wavelet?

Comment only
16 Feb 2010 talal hammouri

Please give me a hint how to save compressed picture to the file

Comment only
10 Feb 2010 Shetul Saksena

what do i enter as the name of the wavelet?

Comment only
20 Dec 2009 Marcin

Marcin (view profile)

Hello.
Your programm is very helpful for me. But I have one question:
why compressed picture is not saved in the file compressed.*?
Compression effect is visible in the matlab chart, but not by the windows picture preview (for example).
Please give me a hint how to save compressed picture to the file.

24 Nov 2008 Ratanlal Dondi

very useful to my project

Comment only
24 Nov 2008 Ratanlal Dondi  
02 Aug 2008 varsha bhole

very useful

Contact us