+ All Categories
Home > Documents > Compression is the reduction in size of data in order to save space or transmission time. And its...

Compression is the reduction in size of data in order to save space or transmission time. And its...

Date post: 26-Dec-2015
Category:
Upload: avis-tate
View: 214 times
Download: 1 times
Share this document with a friend
Popular Tags:
20
Transcript
Page 1: Compression is the reduction in size of data in order to save space or transmission time. And its used just about everywhere. All the images you get on.
Page 2: Compression is the reduction in size of data in order to save space or transmission time. And its used just about everywhere. All the images you get on.

• Compression is the reduction in size of data in order to save space or transmission time. And its used just about everywhere. All the images you get on the web are compressed, typically in the JPEG (Joint Photographic Experts Group ), Medical Images , Libraries and Video Conferences, ….etc.

Page 3: Compression is the reduction in size of data in order to save space or transmission time. And its used just about everywhere. All the images you get on.

• Image compression is the application of data compression. The objective is to reduce redundancy of the image data in order to be able to store or transmit data in an efficient form. The reduction in file size allows more images to be stored in a given amount of disk or memory space. It also reduces the time required for images to be sent over the Internet or downloaded from Web pages.

Page 4: Compression is the reduction in size of data in order to save space or transmission time. And its used just about everywhere. All the images you get on.

♣The two fundamental principles used in image compression are redundancy and irrelevancy.

☻Redundancy removes redundancy from the image. ☻irrelevancy omits pixel values which are not noticeable by human eye.

♣ The information in an image can be minimized by removing the redundancy present in it.

Page 5: Compression is the reduction in size of data in order to save space or transmission time. And its used just about everywhere. All the images you get on.

♣ There are three types of redundancies: (i) spatial redundancy, which is due to the correlation

or dependence between neighboring pixel values(ii) spectral redundancy, which is due to the correlation

between different color planes or spectral bands.(iii) temporal redundancy, which is present because of

correlation between different frames in images. Image compression aims to reduce the number of

bits required to represent an image by removing the spatial and spectral redundancies as much as possible.

♣ JPEG and JPEG 2000 are two important techniques used for image compression

Page 6: Compression is the reduction in size of data in order to save space or transmission time. And its used just about everywhere. All the images you get on.

1. The need to efficiently store, manipulate, and transmit large masses of information is growing more rapidly than the capacity of systems to handle it.

2. Uncompressed images take too much space, require larger bandwidth for transmission and longer time to transmit.

3. easier exchange of image files between different devices and applications.

Page 7: Compression is the reduction in size of data in order to save space or transmission time. And its used just about everywhere. All the images you get on.

Compression system consists of two components which are encoder and

decoder .

Page 8: Compression is the reduction in size of data in order to save space or transmission time. And its used just about everywhere. All the images you get on.

Pre processing

quantizer Symbol encoder

Symbol encoder

Dequantizer InverseDCT

Page 9: Compression is the reduction in size of data in order to save space or transmission time. And its used just about everywhere. All the images you get on.

8x8 blockextraction

quantizer Symbol encoder

DCT

Symbol encoder

Dequant-izer

InverseDCT

8x8 blockmersor

Page 10: Compression is the reduction in size of data in order to save space or transmission time. And its used just about everywhere. All the images you get on.

Original Lena image 8x8 block divided

Fourier transform

DCT transform

Wavelet transform

Or any linear transform

used

QuantizerSymbol encoder

compressed Lena Image With 4 coefficients

Decoding processing

Page 11: Compression is the reduction in size of data in order to save space or transmission time. And its used just about everywhere. All the images you get on.

For examplelet the input pixel matrix is

136147147152155136155148

147140144162167123156136

162136140155155140167147

162147136140148156148162

160136155152160156145168

172152162163167136155152

179167148140147140152144

175179155140140147144140

1

0

1

0

),(1

)0,0(N

x

N

y

yxfN

c

The coefficient of DCT can be compute as follow :

vyuxyxfN

vucN

x

N

y

)12cos()12cos(),(2

1),(

1

0

1

03

vyuxvuCN

CN

yxfN

u

N

v

)12cos()12cos(),(2

1)0,0(

1),(

1

1

1

13

Original Lena image

Page 12: Compression is the reduction in size of data in order to save space or transmission time. And its used just about everywhere. All the images you get on.

Output DCT matrix

06412280

21714319

714881824

1518181118103

8338151458

120318622410

71411119263421

191492391518186

DC coefficient is at position 0,0 in the upper left corner of the matrix.

Page 13: Compression is the reduction in size of data in order to save space or transmission time. And its used just about everywhere. All the images you get on.

Zigzag sequence

7.77.67.57.47.37.27.17.0

6.76.66.56.46.36.26.16.0

5.75.65.55.45.35.25.15.0

4.74.64.54.44.34.24.14.0

3.73.63.53.43.33.23.13.0

2.72.62.52.42.32.22.12.0

1.71.61.51.41.31.21.11.0

0.70.60.50.40.30.20.10.0

Page 14: Compression is the reduction in size of data in order to save space or transmission time. And its used just about everywhere. All the images you get on.

Original Lena image Compressed Lena imagewith 4 coefficients

Compressed imagewith 16 coefficients

Compressed imagewith 25 coefficients

Compressed imagewith 40 coefficients

Compressed imagewith 50 coefficients

Page 15: Compression is the reduction in size of data in order to save space or transmission time. And its used just about everywhere. All the images you get on.

• There are two important compression schemes which are lossy and lossless compression

Page 16: Compression is the reduction in size of data in order to save space or transmission time. And its used just about everywhere. All the images you get on.

• is a type of data compression in which actual information is lost. the goal is to use lossy compression such that there is not much observable loss in the final product, while saving enormously on file size over lossless compression. In a lossy compression scheme, some of the original information is discarded when it is compressed. Therefore, it is impossible to produce an exact replica of the original image when the image is reconstruct.

Page 17: Compression is the reduction in size of data in order to save space or transmission time. And its used just about everywhere. All the images you get on.

Orginal imageMedium compression

92% less information

High compression 98% less information

Page 18: Compression is the reduction in size of data in order to save space or transmission time. And its used just about everywhere. All the images you get on.

• Lossless compressors produce an exact replica of the original image.

• Lossless compression is a compression technique that does not lose any data in the compression process. It assumes you want to get everything back that you put in.

Page 19: Compression is the reduction in size of data in order to save space or transmission time. And its used just about everywhere. All the images you get on.

Lossy CompressionLossloss Compression

The reconstruction image is not identical to the origin

The reconstruction image is identical to the origin

Compration ratio 20:1 up to 50:1 or more

Compration ratio 2:1 up to 3:1

It is used for Any type of media file, image files e.g GIF and JPEG for, music e.g MP3 real media and for example of videos files

It is not used for image files but is usually applied to text files and other files.

Page 20: Compression is the reduction in size of data in order to save space or transmission time. And its used just about everywhere. All the images you get on.

Recommended