0% found this document useful (0 votes)
52 views7 pages

JPEG-LS Lossless Image Compression Analysis

This document discusses an assignment to implement lossless image coding using JPEG-LS on four images. It provides the file sizes of the compressed images, the compression ratios achieved, and MATLAB code to display the reconstructed images. References on the JPEG-LS standard are also provided. The conclusion is that the experimental compression results match the theoretical values, and JPEG-LS provides near-lossless compression with better efficiency than lossy JPEG.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
52 views7 pages

JPEG-LS Lossless Image Compression Analysis

This document discusses an assignment to implement lossless image coding using JPEG-LS on four images. It provides the file sizes of the compressed images, the compression ratios achieved, and MATLAB code to display the reconstructed images. References on the JPEG-LS standard are also provided. The conclusion is that the experimental compression results match the theoretical values, and JPEG-LS provides near-lossless compression with better efficiency than lossy JPEG.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

EE 5351 Digital Video Coding

Assignment 7- JPEG-LS
Name Kaushik vedanarayanan
Student id 1001358118
JPEG-LS

See Table 7.3/p.172, 3rd column says new JPEG. This is JPEG-LS (developed by HP as
LOCO-I). Implement lossless coding using JPEG-LS on the four images in the table.
Show the file sizes and reconstructed images.

Note: http://www.hpl.hp.com/loco/ cite relevant references on JPEG-LS

(See 1. M.J. Weinberger, G. Seroussi, G. Sapiro, The LOCO-I lossless image


compression algorithm: principles and standardization into JPEG-LS, IEEE
Trans. Image Processing, vol. 9, pp. 1309-1324, Aug.2000.

2. Ibid, LOCO-I A low Complexity Context-based, lossless image compression


algorithm, Proc. 1996 DCC, pp.140-149, Snowbird, Utah, Mar. 1996 )
Table 7.3 from page-172

Problem to verify if the theoretical value matches with the experimental value.

Steps to execute the program

1) Get the JPEG LS Zip file. Download the file


2) Unzip the file to the local machine
3) Run the code with input image to get the encoded output
4) Note down the size of the image.
5) Run the code again to get the decoded image
6) Now write a matlab code to display the image.

Sena
Sensin

Omaha

Earth
Compressed Images data:

Images Sena Sensin Earth Omaha

Compressed 27339 30344 26088 50765


Image
(Bytes)

Compression 2.3972 2.1598 2.5121 1.2910


Ratio

MATLAB CODE

close all; %close all the open


figures
close all; %close all the open
figures
clear all; %clear the variable
memory

%---------------Sena iamge----------------------
fid1= fopen('C:\Users\kauve\Desktop\dvc project\project
7\senadec.img');
I_inv1= fread(fid1, [256 256]);
I_img1=I_inv1';
figure,
subplot(2,2,1)
imshow(uint8(I_img1))
title('Sena decoded Image');

%---------------Sensin iamge----------------------
fid2= fopen('C:\Users\kauve\Desktop\dvc project\project
7\sensindec.img');
I_inv2= fread(fid2, [256 256]);
I_img2=I_inv2';
subplot(2,2,2)
imshow(uint8(I_img2))
title('Sensin decoded Image');

%---------------Earth iamge----------------------
fid3= fopen('C:\Users\kauve\Desktop\dvc project\project
7\earthdec.img');
I_inv3= fread(fid3, [256 256]);
I_img3=I_inv3';
subplot(2,2,3)
imshow(uint8(I_img3))
title('Earth decoded Image');

%---------------Omaha iamge----------------------
fid4= fopen('C:\Users\kauve\Desktop\dvc project\project
7\Omahadec.img');
I_inv4= fread(fid4, [256 256]);
I_img4=I_inv4';
subplot(2,2,4)
imshow(uint8(I_img4))
title('Omaha decoded Image');
Conclusion

JPEG lossless compression is near to lossless compression. It provides a low


complex standard code that gives a better compression efficiency than lossy JPEG.

The above results show that the experimental values are equal to the theoretical
values. It almost reaches the CALIC compression.

You might also like