assignment 3

23
PN G ortable etwork raphics

Upload: squirenetic

Post on 29-Nov-2014

366 views

Category:

Technology


0 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Assignment 3

PNG

ortableetworkraphics

Page 2: Assignment 3

LosslessCompressed

Page 3: Assignment 3

Bitmap

Image

Format

Page 4: Assignment 3

GIFPNG

Page 5: Assignment 3

Lossless Compression

Lossless Compression

Page 6: Assignment 3

FILTERING / PREDICTION

Page 7: Assignment 3

FILTERING / PREDICTIONA

B C

X

ed4b1b

cf431c

ed4b1b

Actual Value: e34918

Predicted Value: e34920=- 2

Page 8: Assignment 3

DEFLATE11001010 11001000 11001011 11001010

C1 (Hexadecimal)

Page 9: Assignment 3

WEB DESIGN

ANIMATION

COMPRESSION NOTOPTIMIZED FOR PHOTOS

Page 10: Assignment 3

BMP (Uncompressed): 4 218 Kilobytes

PNG: 715 Kilobytes= Compression Ratio: 5.899 … : 1

Page 11: Assignment 3

FLACree ossless udio odec

Page 12: Assignment 3

Relatively New

Free / Open Source

Lossless Audio Compression

FLACMP3WAV

Page 13: Assignment 3

0100 to 00000000000000000000000000100000 bits / sample

1 To 655 350 samples / second

Up to 8 ChannelsArtist / Song Name / Album / Year / Copyright

Metadata and Album Covers

Page 14: Assignment 3

3 Compression Stages1. Linear PredictionPredicts and compares adjacent samples. Records the relative difference.

2. Golomb-Rice Algorithm EncodingSearches the code for commonly repeated chunks of data and replacesthem with shorter “symbols”.

3. Run-Length EncodingReplaces identical blocks of code appearing in order (silence for example) with 1 block repeating X number of times

Page 15: Assignment 3

WAV100%

FLAC60%

MP3 – 10%

Page 16: Assignment 3

Used by:

Audi philes

Music Collectors

Torrent Scene

Page 17: Assignment 3

H.264

Page 18: Assignment 3

Mpeg 4 Part 10

Page 19: Assignment 3

AVCAdvanced Video Codec

Page 20: Assignment 3

Compression Techniques

Block Size Motion Compensation

Page 21: Assignment 3

Compression Techniques

Entropy Encoding

10100101 10100101 10100101

10100101 10100101 10100101

10100101 10100101 10100101

10100101 10100101

10100101 10100101

10100101 10100101

10100101

10100101

10100101

10000101 11100101 11100111

10100111 00000011 00100011

10100011 10100000 11100000

00100000 0111000011110000

11100000 1000000 10000010

100100011000110110110101

10100101 = 1100

Page 22: Assignment 3

Compression Ratio

Uncompressed Video:33 MB /s @ 640x360 24 FPS16-bit Color

Compressed Video:64 KB/s @ 640x360 24 FPS16-bit Color

Compression Ratio:

515 : 1

Page 23: Assignment 3

THE ENDVideo Presentation created by: Henrik LarssonImage Source for compression Techniques images: Screenshot from “Elephants Dream”Copyright 2006, Blender Foundation / Netherlands Art Media InstituteURLS: http://en.wikipedia.org/wiki/File:Motion_compensation_example-original.jpghttp://en.wikipedia.org/wiki/File:Motion_compensation_example-difference.jpghttp://en.wikipedia.org/wiki/File:Motion_compensation_example-compensated_difference.jpg