File Exchange

image thumbnail

Walsh and Wavelet Transform for Color/Gray Image Compression

version 1.0 (1.96 MB) by

this technique using two transformation with Arithmetic Coding

12 Downloads

Updated

View License

this type of the compression depends on the two level DWT and then apply 2D walsh transformation on each 8x8 block. the final transformed image coded by arithmetic coding.

Comments and Ratings (6)

Nayan Patel

Necs

Necs (view profile)

Mr. Mohammed Siddeq I have tried to download the Arith.code.m & Arith Decode.m and Walsh2DTransform.m into desame folder or WWT but still they were giving errors.
Pls help me

Check Results
(Error in ==> Walsh_DWT_Coding at 51
Im(:,:)=I(:,:,1); % Choose first layer from image matrix....
 
??? Error using ==> imread at 374
File "C:\WWT\Images\2.bmp" does not exist.

Error in ==> Color_Walsh_DWT_Coding at 32
Im = imread(Path_Name); % Read color image
 
??? Error using ==> load
Unable to read file C:\WWT\images\2.wwt: No such file or directory.

Error in ==> Color_Walsh_DWT_Decoding at 15
X=load(Path_Name, '-mat'); % Read compress data from the file
 
??? Input argument "I" is undefined.

Error in ==> Walsh_DWT_Coding at 51
Im(:,:)=I(:,:,1); % Choose first layer from image matrix....
 
??? Undefined variable Header.

Error in ==> Walsh_DWT_Decoding at 44
S_2=double(Header(1).S_2);
 

ans =

 Compute Table of Symbols ...

??? Input argument "Data" is undefined.

Error in ==> Arith_Code at 14
Table(1)=Data(1);
 
??? Input argument "Counts" is undefined.

Error in ==> Arith_Decode at 9
       Counts=double(Counts);
 

ans =

 Compute Table of Symbols ...

??? Input argument "Data" is undefined.

Error in ==> Arith_Code at 14
Table(1)=Data(1);
 
??? Input argument "I" is undefined.

Error in ==> Walsh_DWT_Coding at 51
Im(:,:)=I(:,:,1); % Choose first layer from image matrix....
 
??? Input argument "I" is undefined.

Error in ==> Walsh_DWT_Coding at 51
Im(1,1)=I(1,1,1); % Choose first layer from image matrix....
 
??? Input argument "I" is undefined.

Error in ==> Walsh_DWT_Coding at 51
Im(1,1)=I(1,1,1); % Choose first layer from image matrix....
 
??? Input argument "I" is undefined.

Error in ==> Walsh_DWT_Coding at 51
Im(:,:)=I(:,:,1); % Choose first layer from image matrix....)

Neha Patil

How can i save .wwt into jpg/png/bmp file format? Please help

how to save compressed file into same format in this technique?

MATLAB Release
MATLAB 7.7 (R2008b)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video