SlideShare uma empresa Scribd logo
1 de 36
Media Compression
Techniques
Michael Moewe
EE290F, Spring 2004
Professor Kaminow
Table of Contents
 Image Compression Methods
 JPEG
 GIF 89a
 Wavelet Compression
 Fractal
 Sound Compression
 MPEG Audio Overview
 MPEG Layer-3 (MP3)
 MPEG AAC
 Video Compression Methods
 H.261
 MPEG/MPEG-2
 MPEG-4
 MPEG-7
JPEG Compression: Basics
 Human vision is insensitive to high spatial frequencies
 JPEG Takes advantage of this by compressing high frequencies
more coarsely and storing image as frequency data
 JPEG is a “lossy” compression scheme.
Losslessly compressed image, ~150KB JPEG compressed, ~14KB
Digital Image Representation
 JPEG can handle arbitrary color spaces
(RGB, CMYK, YCbCr (separates colors into
grayscale components)
 Luminance/Chrominance commonly used,
with Chrominance subsampled due to human
vision insensitivity
 Uncompressed spatial color data components
are stored in quantized values (8, 16, 24bit,
etc).
Flow Chart of JPEG
Compression Process
 Divide image into 8x8 pixel blocks
 Apply 2D Fourier Discrete Cosine Transform
(FDCT) Transform
 Apply coarse quantization to high spatial
frequency components
 Compress resulting data losslessly and store
8x8
pixel
blocks
FDC
T
Frequency
Dependent
quantization
Zig-zag
scan
Huffman
encoding
JPEG
syntax
generator
Quantization
Table
output
Example of Frequency
Quantization with 8x8 blocks
128 128 128 128 128 128 128 128
118 111 112 117 120 123 123 122
125 121 115 111 119 119 118 117
120 121 113 113 125 124 115 108
120 120 116 119 124 120 115 110
117 113 111 122 120 110 116 119
109 113 111 122 120 110 116 119
111 121 124 118 115 121 117 113
-80 4 -6 6 2 -2 -2 0
24 -8 8 12 0 0 0 2
10 -4 0 -12 -4 4 4 -2
8 0 -2 -6 10 4 -2 0
18 4 -4 6 -8 -4 0 0
-2 8 6 -4 0 -2 0 0
12 0 6 0 0 0 -2 -2
0 8 0 -4 -2 0 0 0
16 11 10 16 24 40 51 61
12 12 14 19 26 58 60 55
14 13 16 24 40 57 69 56
14 17 22 29 51 87 80 62
18 22 37 56 68 109 103 77
24 35 55 64 81 104 113 92
49 64 78 87 103 121 120 101
72 92 95 98 112 100 103 99
-5 0 0 0 0 0 0 0
2 -1 1 1 0 0 0 0
1 0 0 -1 0 0 0 0
1 0 0 0 0 0 0 0
1 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
Quantization Matrix to divide by
Color space values (spatial data)
Quantized spatial frequency values
Color space values (spatial data)
Scanning and Huffman
Encoding
-5 0 0 0 0 0 0 0
2 -1 1 1 0 0 0 0
1 0 0 -1 0 0 0 0
1 0 0 0 0 0 0 0
1 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
 Spatial Frequencies scanned in zig-zag
pattern (note high frequencies mostly zero)
 Huffman encoding used to losslessly record
values in table
0,2,1,-1,0,0,1,0,1,1,0,0,1,0,0,0,-1,0,0,… 0
Can be stored as:
(1,2),(0,1),(0,-1),(2,1),(1,1),(0,1),(0,1),(2,1),(3,1),EOB
Examples of varying JPEG
compression ratios
500KB image, minimum compression 40KB image, half compression 11KB image, max compression
Close-up details of different
JPEG compression ratios
Uncompressed image
(roughness between pixels
still visible)
Half compression, blurring &
halos around sharp edges
Max compression, 8-pixel
blocks apparent, large
distortion in high-frequency
areas
JPEG Encoding modes
 Sequential mode
 Image scanned in a raster scan with single pass, 8-bit
resolution
 Sequential mode
 Step-by-step buildup of image from low to high frequency,
useful for applications with long loading times (internet,
portable devices, etc)
 Hierarchical mode
 Encoded using low spatial resolution image and encoding
higher resolution images based on interpolated difference,
for display on varying equipment
GIF 89a Image Compression
 Compuserve’s image compression
format
 Best for images with sharp edges, low
bits per channel, computer graphics
where JPEG spatial averaging is
inadequate
 Usually used with 8-bit images,
whereas JPEG is better for 16-bit
images.
GIF 89a examples vs. JPEG
GIF Image, 7.5KB,
optimal encoding
JPEG, blotchy spots in single-
color areas
Wavelet Image Compression
 Optimal for images containing
sharp edges, or continuous
curves/lines (fingerprints)
 Compared with DCT, uses
more optimal set of functions
to represent sharp edges
than cosines.
 Wavelets are finite in extent
as opposed to sinusoidal
functions
Several different families of wavelets.
Source: “An Introduction to Wavelets”.
http://www.amara.com/IEEEwave/IEEEwavelet.html#contents
Wavelet vs. JPEG
compression
Wavelet compression
file size: 1861 bytes
compression ratio - 105.6
Source: “About Wavelet Compression”. http://www.barrt.ru/parshukov/about.htm.
JPEG compression
file size: 1895 bytes
compression ratio - 103.8
Wavelet compression
advantages
Fig. 1. Fourier basis functions, time-
frequency tiles, and coverage of the
time-frequency plane.
Fig. 2. Daubechies wavelet basis functions,
time-frequency tiles, and coverage of the time-
frequency plane
Source: “An Introduction to Wavelets”.
http://www.amara.com/IEEEwave/IEEEwavelet.html#contents
Fractal Based Image
Compression
 Image compressed in terms of self-
similarity rather than pixel resolution
 Can be digitally scaled to any resolution
when decoded
Table of Contents
 Image Compression Methods
 JPEG
 GIF 89a
 Wavelet Compression
 Fractal
 Sound Compression
 MPEG Audio Overview
 MPEG Layer-3 (MP3)
 MPEG AAC
 Video Compression Methods
 H.261
 MPEG/MPEG-2
 MPEG-4
 MPEG-7
MPEG Audio basics &
Psychoacoustic Model
 Human hearing limited to values lower than
~20kHz in most cases
 Human hearing is insensitive to quiet
frequency components to sound
accompanying other stronger frequency
components
 Stereo audio streams contain largely
redundant information
 MPEG audio compression takes advantage of
these facts to reduce extent and detail of
mostly inaudible frequency ranges
MPEG-Layer3 Overview
MP3 Compression Flow Chart
MPEG Layer-3 performance
sound quality bandwidth mode bitrate reduction ratio
telephone sound 2.5 kHz mono 8 kbps * 96:1
better than short wave 4.5 kHz mono 16 kbps 48:1
better than AM radio 7.5 kHz mono 32 kbps 24:1
similar to FM radio 11 kHz stereo 56...64 kbps 26...24:1
near-CD 15 kHz stereo 96 kbps 16:1
CD >15 kHz stereo 112..128kbps 14..12:1
MPEG-2 Advanced Audio Coding
(AAC) codec (next generation)
 Sampling frequencies from 8kHz to 96kHz
 1 to 48 channels per stream
 Temporal Noise Shaping (TNS) smooths
quantization noise by making frequency
domain predictions
 Prediction: Allows predictable sound patterns
such as speech to be predicted and
compressed with better quality
MPEG-2 AAC Flowchart
Table of Contents
 Image Compression Methods
 JPEG
 GIF 89a
 Wavelet Compression
 Fractal
 Sound Compression
 MPEG Audio Overview
 MPEG Layer-3 (MP3)
 MPEG AAC
 Video Compression Methods
 H.261
 MPEG/MPEG-2
 MPEG-4
 MPEG-7
Video Compression with
Temporal Redundancy
 Using strictly spatial redundancy
(JPEG) gives video compression ratios
from 7:1 to 27:1
 Taking advantage of temporal
redundancy in video gives 20:1 to 300:1
compression for H.261, or 30:1 to 100:1
for high quality MPEG-2
Videoconferencing
Compression with H.261
 H.261 is standard recommended for
videoconferencing over ISDN lines.
 Takes advantage of both spatial and
temporal redundancy in moving images
 Extremely similar to JPEG, but uses
initial frame plus motion vectors to
predict subsequent frames
H.261 Block Structure
 Basic unit of processing is in 8x8 pixel
blocks.
 Macro Blocks (MB, 16x16 pixels) are
used for motion estimation, 4 blocks of
luminance, 2 of chrominance
 Groups of Blocks (GOB) of 3x11 MB’s
are stored together with a header in
stream.
H.261 Block Structure of
bitstream
Source: “H.261 Videoconferencing Codec” http://www.uh.edu/~hebert/ece6354/H261-report.pdf
Block structure of H.261 video bitstream, Common Intermediate
Format (CIF), 360x288 pixels luminance, 180x144 pixels chrominance
H.261 Decoding (Similar to
encoding process)
Encoded
Bitstream
Bitstream
DEcoder
Loop Filter
Inverse
Quantizer IDCT
Decompresse
d Video
Motion
Compensation
Reference
Frame
MPEG Video Compression
 Supports JPEG and H.261 through downward
compatibility
 Supports higher Chrominance resolution and pixel
resolution (720x480 is standard used for TV signals)
 Supports interlaced and noninterlaced modes
 Uses Bidirectional prediction in “Group Of Pictures”
to encode difference frames.
Source: “Parallelization of Software Mpeg Compression” http://www.evl.uic.edu/fwang/mpeg.html
“Group Of Pictures” inter-frame dependencies in a stream
MPEG 1 & 2 Bitstream
Source: http://www.doc.ic.ac.uk/~nd/surprise_96/journal/vol4/sab/report.html
The MPEG data hierarchy
MPEG-4
 Original goal was for 10 times better
compression than H.261
 Goals shifted to
 Flexible bitstreams for varying receiver capabilities
 Stream can contain new applications and
algorithms
 Content-based interactivity with data stream
 Network independence (used for Internet,
Wireless, POTS, etc)
 Object based representations
MPEG-4 audio-visual scene
composition
 Can place media objects anywhere in a
scene
 Apply transforms to change appearance or
qualities of an object
 Group objects to form compound objects
 Apply streamed data to objects
 Interactively change viewer’s position in the
virtual scene
http://www.iis.fraunhofer.de/amm/techinf/mpeg4/mp4_overv.pdf
MPEG-4 “Audiovisual Scene”
Example
Source: “MPEG-4 Overview” http://www.chiariglione.org/mpeg/standards/mpeg-4/mpeg-4.htm
MPEG-7
 Media tagging format for doing searches on arbitrary media formats via
feature extraction algorithms
 Visual descriptors such as:
 Basic Structures
 Color
 Texture
 Shape
 Localization of spatio-temporal objects
 Motion
 Face Recognition
 Audio descriptors such as :
 Sound effects description
 Musical Instrument Timbre Description
 Spoken Content Description
 Melodic Descriptors (search by tune)
 Uniform Silence Segment
 Example application: Play a few notes on a keyboard and have
matched song retrieved.
Conclusion
 Media compression is indispensable
even as storage and streaming
capacities increase
 Future goals oriented towards
increasing ease of access to media
information (similar to google for text
based information)
References
 MPEG Overview (
http://www.chiariglione.org/mpeg/standards/mpeg-4/mpeg-4.htm)
 Wu C., Irin J. “Emerging Multimedia Computer Communication Technologies”.
1998, Prentice Hall PTR, NJ.
 Overview of the MPEG-4 Standard (
http://www.iis.fraunhofer.de/amm/techinf/mpeg4/mp4_overv.pdf)
 Digital Video, MPEG and Associated Artifacts (
http://www.doc.ic.ac.uk/~nd/surprise_96/journal/vol4/sab/report.html)
 Parallelization of Software MPEG Compression (
http://www.evl.uic.edu/fwang/mpeg.html)
 H.261 Video Teleconferencing Codec (
http://www.uh.edu/~hebert/ece6354/H261-report.pdf)
 An Introduction to Wavelets (
http://www.amara.com/IEEEwave/IEEEwavelet.html#contents)
 About Wavelet Compression (http://www.barrt.ru/parshukov/about.htm)

Mais conteúdo relacionado

Mais procurados

MPEG video compression standard
MPEG video compression standardMPEG video compression standard
MPEG video compression standardanuragjagetiya
 
Compression: Video Compression (MPEG and others)
Compression: Video Compression (MPEG and others)Compression: Video Compression (MPEG and others)
Compression: Video Compression (MPEG and others)danishrafiq
 
video compression techique
video compression techiquevideo compression techique
video compression techiqueAshish Kumar
 
Video Compression Basics
Video Compression BasicsVideo Compression Basics
Video Compression BasicsSanjiv Malik
 
Signal Compression and JPEG
Signal Compression and JPEGSignal Compression and JPEG
Signal Compression and JPEGguest9006ab
 
video_compression_2004
video_compression_2004video_compression_2004
video_compression_2004aniruddh Tyagi
 
MPEG Compression Standards
MPEG Compression StandardsMPEG Compression Standards
MPEG Compression StandardsAjay
 
Multimedia presentation video compression
Multimedia presentation video compressionMultimedia presentation video compression
Multimedia presentation video compressionLaLit DuBey
 
Video Compression Techniques
Video Compression TechniquesVideo Compression Techniques
Video Compression Techniquescnssources
 
Introduction To Video Compression
Introduction To Video CompressionIntroduction To Video Compression
Introduction To Video Compressionguestdd7ccca
 
Digital Video And Compression
Digital Video And CompressionDigital Video And Compression
Digital Video And CompressionRobert Burk
 
Multimedia basic video compression techniques
Multimedia basic video compression techniquesMultimedia basic video compression techniques
Multimedia basic video compression techniquesMazin Alwaaly
 
Compression: Images (JPEG)
Compression: Images (JPEG)Compression: Images (JPEG)
Compression: Images (JPEG)danishrafiq
 

Mais procurados (20)

Jpeg and mpeg ppt
Jpeg and mpeg pptJpeg and mpeg ppt
Jpeg and mpeg ppt
 
MPEG video compression standard
MPEG video compression standardMPEG video compression standard
MPEG video compression standard
 
video compression
video compressionvideo compression
video compression
 
Compression: Video Compression (MPEG and others)
Compression: Video Compression (MPEG and others)Compression: Video Compression (MPEG and others)
Compression: Video Compression (MPEG and others)
 
video compression techique
video compression techiquevideo compression techique
video compression techique
 
Video Compression Basics
Video Compression BasicsVideo Compression Basics
Video Compression Basics
 
Signal Compression and JPEG
Signal Compression and JPEGSignal Compression and JPEG
Signal Compression and JPEG
 
video_compression_2004
video_compression_2004video_compression_2004
video_compression_2004
 
MPEG Compression Standards
MPEG Compression StandardsMPEG Compression Standards
MPEG Compression Standards
 
Multimedia presentation video compression
Multimedia presentation video compressionMultimedia presentation video compression
Multimedia presentation video compression
 
Video Compression Techniques
Video Compression TechniquesVideo Compression Techniques
Video Compression Techniques
 
Multimedia Object - Image
Multimedia Object - ImageMultimedia Object - Image
Multimedia Object - Image
 
Introduction To Video Compression
Introduction To Video CompressionIntroduction To Video Compression
Introduction To Video Compression
 
Compression
CompressionCompression
Compression
 
Compression
CompressionCompression
Compression
 
Digital Video And Compression
Digital Video And CompressionDigital Video And Compression
Digital Video And Compression
 
Multimedia basic video compression techniques
Multimedia basic video compression techniquesMultimedia basic video compression techniques
Multimedia basic video compression techniques
 
Hw2
Hw2Hw2
Hw2
 
Audio compression
Audio compressionAudio compression
Audio compression
 
Compression: Images (JPEG)
Compression: Images (JPEG)Compression: Images (JPEG)
Compression: Images (JPEG)
 

Destaque

Standards De Compression Audio Et VidéO
Standards De Compression Audio Et VidéOStandards De Compression Audio Et VidéO
Standards De Compression Audio Et VidéObriantais
 
28 h 264-avc_by_dhchang
28   h 264-avc_by_dhchang28   h 264-avc_by_dhchang
28 h 264-avc_by_dhchangBadri Patro
 
Hw3 0972552
Hw3 0972552Hw3 0972552
Hw3 0972552s0972552
 
Iain Richardson: An Introduction to Video Compression
Iain Richardson: An Introduction to Video CompressionIain Richardson: An Introduction to Video Compression
Iain Richardson: An Introduction to Video CompressionIain Richardson
 

Destaque (6)

MPEG/Audio Compression
MPEG/Audio CompressionMPEG/Audio Compression
MPEG/Audio Compression
 
Standards De Compression Audio Et VidéO
Standards De Compression Audio Et VidéOStandards De Compression Audio Et VidéO
Standards De Compression Audio Et VidéO
 
28 h 264-avc_by_dhchang
28   h 264-avc_by_dhchang28   h 264-avc_by_dhchang
28 h 264-avc_by_dhchang
 
Chap55
Chap55Chap55
Chap55
 
Hw3 0972552
Hw3 0972552Hw3 0972552
Hw3 0972552
 
Iain Richardson: An Introduction to Video Compression
Iain Richardson: An Introduction to Video CompressionIain Richardson: An Introduction to Video Compression
Iain Richardson: An Introduction to Video Compression
 

Semelhante a Compression presentation 415 (1)

Video Coding Standard
Video Coding StandardVideo Coding Standard
Video Coding StandardVideoguy
 
Compression of digital voice and video
Compression of digital voice and videoCompression of digital voice and video
Compression of digital voice and videosangusajjan
 
Chapter 5 - Data Compression
Chapter 5 - Data CompressionChapter 5 - Data Compression
Chapter 5 - Data CompressionPratik Pradhan
 
Mm01 a vformat
Mm01 a vformatMm01 a vformat
Mm01 a vformatgotovikas
 
Data representation
Data representationData representation
Data representationChingTing
 
J03502050055
J03502050055J03502050055
J03502050055theijes
 
Performance Evaluation of H.264 AVC Using CABAC Entropy Coding For Compound I...
Performance Evaluation of H.264 AVC Using CABAC Entropy Coding For Compound I...Performance Evaluation of H.264 AVC Using CABAC Entropy Coding For Compound I...
Performance Evaluation of H.264 AVC Using CABAC Entropy Coding For Compound I...DR.P.S.JAGADEESH KUMAR
 
CyberSec_JPEGcompressionForensics.pdf
CyberSec_JPEGcompressionForensics.pdfCyberSec_JPEGcompressionForensics.pdf
CyberSec_JPEGcompressionForensics.pdfMohammadAzreeYahaya
 
notes_Image Compression_edited.ppt
notes_Image Compression_edited.pptnotes_Image Compression_edited.ppt
notes_Image Compression_edited.pptHarisMasood20
 
Rate Distortion Performance for Joint Source Channel Coding of JPEG image Ove...
Rate Distortion Performance for Joint Source Channel Coding of JPEG image Ove...Rate Distortion Performance for Joint Source Channel Coding of JPEG image Ove...
Rate Distortion Performance for Joint Source Channel Coding of JPEG image Ove...CSCJournals
 
nullcon 2010 - Steganography & Stegananalysis: A Technical & Psychological Pe...
nullcon 2010 - Steganography & Stegananalysis: A Technical & Psychological Pe...nullcon 2010 - Steganography & Stegananalysis: A Technical & Psychological Pe...
nullcon 2010 - Steganography & Stegananalysis: A Technical & Psychological Pe...n|u - The Open Security Community
 
image processing for jpeg presentati.ppt
image processing for jpeg presentati.pptimage processing for jpeg presentati.ppt
image processing for jpeg presentati.pptnaghamallella
 

Semelhante a Compression presentation 415 (1) (20)

Video Coding Standard
Video Coding StandardVideo Coding Standard
Video Coding Standard
 
Compression of digital voice and video
Compression of digital voice and videoCompression of digital voice and video
Compression of digital voice and video
 
Image compression and jpeg
Image compression and jpegImage compression and jpeg
Image compression and jpeg
 
PPT
PPTPPT
PPT
 
Chapter 5 - Data Compression
Chapter 5 - Data CompressionChapter 5 - Data Compression
Chapter 5 - Data Compression
 
lect10-mpeg1.ppt
lect10-mpeg1.pptlect10-mpeg1.ppt
lect10-mpeg1.ppt
 
Mm01 a vformat
Mm01 a vformatMm01 a vformat
Mm01 a vformat
 
Multimedia Object - Audio
Multimedia Object - AudioMultimedia Object - Audio
Multimedia Object - Audio
 
Data representation
Data representationData representation
Data representation
 
J03502050055
J03502050055J03502050055
J03502050055
 
Ec36783787
Ec36783787Ec36783787
Ec36783787
 
Performance Evaluation of H.264 AVC Using CABAC Entropy Coding For Compound I...
Performance Evaluation of H.264 AVC Using CABAC Entropy Coding For Compound I...Performance Evaluation of H.264 AVC Using CABAC Entropy Coding For Compound I...
Performance Evaluation of H.264 AVC Using CABAC Entropy Coding For Compound I...
 
CyberSec_JPEGcompressionForensics.pdf
CyberSec_JPEGcompressionForensics.pdfCyberSec_JPEGcompressionForensics.pdf
CyberSec_JPEGcompressionForensics.pdf
 
notes_Image Compression_edited.ppt
notes_Image Compression_edited.pptnotes_Image Compression_edited.ppt
notes_Image Compression_edited.ppt
 
Rate Distortion Performance for Joint Source Channel Coding of JPEG image Ove...
Rate Distortion Performance for Joint Source Channel Coding of JPEG image Ove...Rate Distortion Performance for Joint Source Channel Coding of JPEG image Ove...
Rate Distortion Performance for Joint Source Channel Coding of JPEG image Ove...
 
Compression
CompressionCompression
Compression
 
Compression
CompressionCompression
Compression
 
nullcon 2010 - Steganography & Stegananalysis: A Technical & Psychological Pe...
nullcon 2010 - Steganography & Stegananalysis: A Technical & Psychological Pe...nullcon 2010 - Steganography & Stegananalysis: A Technical & Psychological Pe...
nullcon 2010 - Steganography & Stegananalysis: A Technical & Psychological Pe...
 
Multimedia Object - Video
Multimedia Object - VideoMultimedia Object - Video
Multimedia Object - Video
 
image processing for jpeg presentati.ppt
image processing for jpeg presentati.pptimage processing for jpeg presentati.ppt
image processing for jpeg presentati.ppt
 

Último

Verified Trusted Call Girls Tambaram Chennai ✔✔7427069034 Independent Chenna...
Verified Trusted Call Girls Tambaram Chennai ✔✔7427069034  Independent Chenna...Verified Trusted Call Girls Tambaram Chennai ✔✔7427069034  Independent Chenna...
Verified Trusted Call Girls Tambaram Chennai ✔✔7427069034 Independent Chenna... Shivani Pandey
 
↑Top Model (Kolkata) Call Girls Sonagachi ⟟ 8250192130 ⟟ High Class Call Girl...
↑Top Model (Kolkata) Call Girls Sonagachi ⟟ 8250192130 ⟟ High Class Call Girl...↑Top Model (Kolkata) Call Girls Sonagachi ⟟ 8250192130 ⟟ High Class Call Girl...
↑Top Model (Kolkata) Call Girls Sonagachi ⟟ 8250192130 ⟟ High Class Call Girl...noor ahmed
 
Top Rated Kolkata Call Girls Khardah ⟟ 6297143586 ⟟ Call Me For Genuine Sex S...
Top Rated Kolkata Call Girls Khardah ⟟ 6297143586 ⟟ Call Me For Genuine Sex S...Top Rated Kolkata Call Girls Khardah ⟟ 6297143586 ⟟ Call Me For Genuine Sex S...
Top Rated Kolkata Call Girls Khardah ⟟ 6297143586 ⟟ Call Me For Genuine Sex S...ritikasharma
 
👙 Kolkata Call Girls Shyam Bazar 💫💫7001035870 Model escorts Service
👙  Kolkata Call Girls Shyam Bazar 💫💫7001035870 Model escorts Service👙  Kolkata Call Girls Shyam Bazar 💫💫7001035870 Model escorts Service
👙 Kolkata Call Girls Shyam Bazar 💫💫7001035870 Model escorts Serviceanamikaraghav4
 
Low Rate Young Call Girls in Surajpur Greater Noida ✔️☆9289244007✔️☆ Female E...
Low Rate Young Call Girls in Surajpur Greater Noida ✔️☆9289244007✔️☆ Female E...Low Rate Young Call Girls in Surajpur Greater Noida ✔️☆9289244007✔️☆ Female E...
Low Rate Young Call Girls in Surajpur Greater Noida ✔️☆9289244007✔️☆ Female E...SofiyaSharma5
 
Call Girls Manjri Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Manjri Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Manjri Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Manjri Call Me 7737669865 Budget Friendly No Advance Bookingroncy bisnoi
 
↑Top Model (Kolkata) Call Girls Salt Lake ⟟ 8250192130 ⟟ High Class Call Girl...
↑Top Model (Kolkata) Call Girls Salt Lake ⟟ 8250192130 ⟟ High Class Call Girl...↑Top Model (Kolkata) Call Girls Salt Lake ⟟ 8250192130 ⟟ High Class Call Girl...
↑Top Model (Kolkata) Call Girls Salt Lake ⟟ 8250192130 ⟟ High Class Call Girl...noor ahmed
 
Call Girl Nashik Saloni 7001305949 Independent Escort Service Nashik
Call Girl Nashik Saloni 7001305949 Independent Escort Service NashikCall Girl Nashik Saloni 7001305949 Independent Escort Service Nashik
Call Girl Nashik Saloni 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
𓀤Call On 6297143586 𓀤 Ultadanga Call Girls In All Kolkata 24/7 Provide Call W...
𓀤Call On 6297143586 𓀤 Ultadanga Call Girls In All Kolkata 24/7 Provide Call W...𓀤Call On 6297143586 𓀤 Ultadanga Call Girls In All Kolkata 24/7 Provide Call W...
𓀤Call On 6297143586 𓀤 Ultadanga Call Girls In All Kolkata 24/7 Provide Call W...rahim quresi
 
Almora call girls 📞 8617697112 At Low Cost Cash Payment Booking
Almora call girls 📞 8617697112 At Low Cost Cash Payment BookingAlmora call girls 📞 8617697112 At Low Cost Cash Payment Booking
Almora call girls 📞 8617697112 At Low Cost Cash Payment BookingNitya salvi
 
Book Sex Workers Available Kolkata Call Girls Service Airport Kolkata ✔ 62971...
Book Sex Workers Available Kolkata Call Girls Service Airport Kolkata ✔ 62971...Book Sex Workers Available Kolkata Call Girls Service Airport Kolkata ✔ 62971...
Book Sex Workers Available Kolkata Call Girls Service Airport Kolkata ✔ 62971...ritikasharma
 
5* Hotels Call Girls In Goa {{07028418221}} Call Girls In North Goa Escort Se...
5* Hotels Call Girls In Goa {{07028418221}} Call Girls In North Goa Escort Se...5* Hotels Call Girls In Goa {{07028418221}} Call Girls In North Goa Escort Se...
5* Hotels Call Girls In Goa {{07028418221}} Call Girls In North Goa Escort Se...Apsara Of India
 
Independent Sonagachi Escorts ✔ 9332606886✔ Full Night With Room Online Booki...
Independent Sonagachi Escorts ✔ 9332606886✔ Full Night With Room Online Booki...Independent Sonagachi Escorts ✔ 9332606886✔ Full Night With Room Online Booki...
Independent Sonagachi Escorts ✔ 9332606886✔ Full Night With Room Online Booki...Riya Pathan
 
2k Shot Call girls Laxmi Nagar Delhi 9205541914
2k Shot Call girls Laxmi Nagar Delhi 92055419142k Shot Call girls Laxmi Nagar Delhi 9205541914
2k Shot Call girls Laxmi Nagar Delhi 9205541914Delhi Call girls
 
Model Call Girls In Velappanchavadi WhatsApp Booking 7427069034 call girl ser...
Model Call Girls In Velappanchavadi WhatsApp Booking 7427069034 call girl ser...Model Call Girls In Velappanchavadi WhatsApp Booking 7427069034 call girl ser...
Model Call Girls In Velappanchavadi WhatsApp Booking 7427069034 call girl ser... Shivani Pandey
 
Top Rated Pune Call Girls Pimpri Chinchwad ⟟ 6297143586 ⟟ Call Me For Genuin...
Top Rated  Pune Call Girls Pimpri Chinchwad ⟟ 6297143586 ⟟ Call Me For Genuin...Top Rated  Pune Call Girls Pimpri Chinchwad ⟟ 6297143586 ⟟ Call Me For Genuin...
Top Rated Pune Call Girls Pimpri Chinchwad ⟟ 6297143586 ⟟ Call Me For Genuin...Call Girls in Nagpur High Profile
 

Último (20)

Verified Trusted Call Girls Tambaram Chennai ✔✔7427069034 Independent Chenna...
Verified Trusted Call Girls Tambaram Chennai ✔✔7427069034  Independent Chenna...Verified Trusted Call Girls Tambaram Chennai ✔✔7427069034  Independent Chenna...
Verified Trusted Call Girls Tambaram Chennai ✔✔7427069034 Independent Chenna...
 
Russian ℂall gIRLS In Goa 9316020077 ℂall gIRLS Service In Goa
Russian ℂall gIRLS In Goa 9316020077  ℂall gIRLS Service  In GoaRussian ℂall gIRLS In Goa 9316020077  ℂall gIRLS Service  In Goa
Russian ℂall gIRLS In Goa 9316020077 ℂall gIRLS Service In Goa
 
↑Top Model (Kolkata) Call Girls Sonagachi ⟟ 8250192130 ⟟ High Class Call Girl...
↑Top Model (Kolkata) Call Girls Sonagachi ⟟ 8250192130 ⟟ High Class Call Girl...↑Top Model (Kolkata) Call Girls Sonagachi ⟟ 8250192130 ⟟ High Class Call Girl...
↑Top Model (Kolkata) Call Girls Sonagachi ⟟ 8250192130 ⟟ High Class Call Girl...
 
Top Rated Kolkata Call Girls Khardah ⟟ 6297143586 ⟟ Call Me For Genuine Sex S...
Top Rated Kolkata Call Girls Khardah ⟟ 6297143586 ⟟ Call Me For Genuine Sex S...Top Rated Kolkata Call Girls Khardah ⟟ 6297143586 ⟟ Call Me For Genuine Sex S...
Top Rated Kolkata Call Girls Khardah ⟟ 6297143586 ⟟ Call Me For Genuine Sex S...
 
👙 Kolkata Call Girls Shyam Bazar 💫💫7001035870 Model escorts Service
👙  Kolkata Call Girls Shyam Bazar 💫💫7001035870 Model escorts Service👙  Kolkata Call Girls Shyam Bazar 💫💫7001035870 Model escorts Service
👙 Kolkata Call Girls Shyam Bazar 💫💫7001035870 Model escorts Service
 
Goa Call Girls 9316020077 Call Girls In Goa By Russian Call Girl in goa
Goa Call Girls 9316020077 Call Girls  In Goa By Russian Call Girl in goaGoa Call Girls 9316020077 Call Girls  In Goa By Russian Call Girl in goa
Goa Call Girls 9316020077 Call Girls In Goa By Russian Call Girl in goa
 
Low Rate Young Call Girls in Surajpur Greater Noida ✔️☆9289244007✔️☆ Female E...
Low Rate Young Call Girls in Surajpur Greater Noida ✔️☆9289244007✔️☆ Female E...Low Rate Young Call Girls in Surajpur Greater Noida ✔️☆9289244007✔️☆ Female E...
Low Rate Young Call Girls in Surajpur Greater Noida ✔️☆9289244007✔️☆ Female E...
 
Call Girls Chirag Delhi Delhi WhatsApp Number 9711199171
Call Girls Chirag Delhi Delhi WhatsApp Number 9711199171Call Girls Chirag Delhi Delhi WhatsApp Number 9711199171
Call Girls Chirag Delhi Delhi WhatsApp Number 9711199171
 
Call Girls New Ashok Nagar Delhi WhatsApp Number 9711199171
Call Girls New Ashok Nagar Delhi WhatsApp Number 9711199171Call Girls New Ashok Nagar Delhi WhatsApp Number 9711199171
Call Girls New Ashok Nagar Delhi WhatsApp Number 9711199171
 
Call Girls Manjri Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Manjri Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Manjri Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Manjri Call Me 7737669865 Budget Friendly No Advance Booking
 
↑Top Model (Kolkata) Call Girls Salt Lake ⟟ 8250192130 ⟟ High Class Call Girl...
↑Top Model (Kolkata) Call Girls Salt Lake ⟟ 8250192130 ⟟ High Class Call Girl...↑Top Model (Kolkata) Call Girls Salt Lake ⟟ 8250192130 ⟟ High Class Call Girl...
↑Top Model (Kolkata) Call Girls Salt Lake ⟟ 8250192130 ⟟ High Class Call Girl...
 
Call Girl Nashik Saloni 7001305949 Independent Escort Service Nashik
Call Girl Nashik Saloni 7001305949 Independent Escort Service NashikCall Girl Nashik Saloni 7001305949 Independent Escort Service Nashik
Call Girl Nashik Saloni 7001305949 Independent Escort Service Nashik
 
𓀤Call On 6297143586 𓀤 Ultadanga Call Girls In All Kolkata 24/7 Provide Call W...
𓀤Call On 6297143586 𓀤 Ultadanga Call Girls In All Kolkata 24/7 Provide Call W...𓀤Call On 6297143586 𓀤 Ultadanga Call Girls In All Kolkata 24/7 Provide Call W...
𓀤Call On 6297143586 𓀤 Ultadanga Call Girls In All Kolkata 24/7 Provide Call W...
 
Almora call girls 📞 8617697112 At Low Cost Cash Payment Booking
Almora call girls 📞 8617697112 At Low Cost Cash Payment BookingAlmora call girls 📞 8617697112 At Low Cost Cash Payment Booking
Almora call girls 📞 8617697112 At Low Cost Cash Payment Booking
 
Book Sex Workers Available Kolkata Call Girls Service Airport Kolkata ✔ 62971...
Book Sex Workers Available Kolkata Call Girls Service Airport Kolkata ✔ 62971...Book Sex Workers Available Kolkata Call Girls Service Airport Kolkata ✔ 62971...
Book Sex Workers Available Kolkata Call Girls Service Airport Kolkata ✔ 62971...
 
5* Hotels Call Girls In Goa {{07028418221}} Call Girls In North Goa Escort Se...
5* Hotels Call Girls In Goa {{07028418221}} Call Girls In North Goa Escort Se...5* Hotels Call Girls In Goa {{07028418221}} Call Girls In North Goa Escort Se...
5* Hotels Call Girls In Goa {{07028418221}} Call Girls In North Goa Escort Se...
 
Independent Sonagachi Escorts ✔ 9332606886✔ Full Night With Room Online Booki...
Independent Sonagachi Escorts ✔ 9332606886✔ Full Night With Room Online Booki...Independent Sonagachi Escorts ✔ 9332606886✔ Full Night With Room Online Booki...
Independent Sonagachi Escorts ✔ 9332606886✔ Full Night With Room Online Booki...
 
2k Shot Call girls Laxmi Nagar Delhi 9205541914
2k Shot Call girls Laxmi Nagar Delhi 92055419142k Shot Call girls Laxmi Nagar Delhi 9205541914
2k Shot Call girls Laxmi Nagar Delhi 9205541914
 
Model Call Girls In Velappanchavadi WhatsApp Booking 7427069034 call girl ser...
Model Call Girls In Velappanchavadi WhatsApp Booking 7427069034 call girl ser...Model Call Girls In Velappanchavadi WhatsApp Booking 7427069034 call girl ser...
Model Call Girls In Velappanchavadi WhatsApp Booking 7427069034 call girl ser...
 
Top Rated Pune Call Girls Pimpri Chinchwad ⟟ 6297143586 ⟟ Call Me For Genuin...
Top Rated  Pune Call Girls Pimpri Chinchwad ⟟ 6297143586 ⟟ Call Me For Genuin...Top Rated  Pune Call Girls Pimpri Chinchwad ⟟ 6297143586 ⟟ Call Me For Genuin...
Top Rated Pune Call Girls Pimpri Chinchwad ⟟ 6297143586 ⟟ Call Me For Genuin...
 

Compression presentation 415 (1)

  • 2. Table of Contents  Image Compression Methods  JPEG  GIF 89a  Wavelet Compression  Fractal  Sound Compression  MPEG Audio Overview  MPEG Layer-3 (MP3)  MPEG AAC  Video Compression Methods  H.261  MPEG/MPEG-2  MPEG-4  MPEG-7
  • 3. JPEG Compression: Basics  Human vision is insensitive to high spatial frequencies  JPEG Takes advantage of this by compressing high frequencies more coarsely and storing image as frequency data  JPEG is a “lossy” compression scheme. Losslessly compressed image, ~150KB JPEG compressed, ~14KB
  • 4. Digital Image Representation  JPEG can handle arbitrary color spaces (RGB, CMYK, YCbCr (separates colors into grayscale components)  Luminance/Chrominance commonly used, with Chrominance subsampled due to human vision insensitivity  Uncompressed spatial color data components are stored in quantized values (8, 16, 24bit, etc).
  • 5. Flow Chart of JPEG Compression Process  Divide image into 8x8 pixel blocks  Apply 2D Fourier Discrete Cosine Transform (FDCT) Transform  Apply coarse quantization to high spatial frequency components  Compress resulting data losslessly and store 8x8 pixel blocks FDC T Frequency Dependent quantization Zig-zag scan Huffman encoding JPEG syntax generator Quantization Table output
  • 6. Example of Frequency Quantization with 8x8 blocks 128 128 128 128 128 128 128 128 118 111 112 117 120 123 123 122 125 121 115 111 119 119 118 117 120 121 113 113 125 124 115 108 120 120 116 119 124 120 115 110 117 113 111 122 120 110 116 119 109 113 111 122 120 110 116 119 111 121 124 118 115 121 117 113 -80 4 -6 6 2 -2 -2 0 24 -8 8 12 0 0 0 2 10 -4 0 -12 -4 4 4 -2 8 0 -2 -6 10 4 -2 0 18 4 -4 6 -8 -4 0 0 -2 8 6 -4 0 -2 0 0 12 0 6 0 0 0 -2 -2 0 8 0 -4 -2 0 0 0 16 11 10 16 24 40 51 61 12 12 14 19 26 58 60 55 14 13 16 24 40 57 69 56 14 17 22 29 51 87 80 62 18 22 37 56 68 109 103 77 24 35 55 64 81 104 113 92 49 64 78 87 103 121 120 101 72 92 95 98 112 100 103 99 -5 0 0 0 0 0 0 0 2 -1 1 1 0 0 0 0 1 0 0 -1 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Quantization Matrix to divide by Color space values (spatial data) Quantized spatial frequency values Color space values (spatial data)
  • 7. Scanning and Huffman Encoding -5 0 0 0 0 0 0 0 2 -1 1 1 0 0 0 0 1 0 0 -1 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0  Spatial Frequencies scanned in zig-zag pattern (note high frequencies mostly zero)  Huffman encoding used to losslessly record values in table 0,2,1,-1,0,0,1,0,1,1,0,0,1,0,0,0,-1,0,0,… 0 Can be stored as: (1,2),(0,1),(0,-1),(2,1),(1,1),(0,1),(0,1),(2,1),(3,1),EOB
  • 8. Examples of varying JPEG compression ratios 500KB image, minimum compression 40KB image, half compression 11KB image, max compression
  • 9. Close-up details of different JPEG compression ratios Uncompressed image (roughness between pixels still visible) Half compression, blurring & halos around sharp edges Max compression, 8-pixel blocks apparent, large distortion in high-frequency areas
  • 10. JPEG Encoding modes  Sequential mode  Image scanned in a raster scan with single pass, 8-bit resolution  Sequential mode  Step-by-step buildup of image from low to high frequency, useful for applications with long loading times (internet, portable devices, etc)  Hierarchical mode  Encoded using low spatial resolution image and encoding higher resolution images based on interpolated difference, for display on varying equipment
  • 11. GIF 89a Image Compression  Compuserve’s image compression format  Best for images with sharp edges, low bits per channel, computer graphics where JPEG spatial averaging is inadequate  Usually used with 8-bit images, whereas JPEG is better for 16-bit images.
  • 12. GIF 89a examples vs. JPEG GIF Image, 7.5KB, optimal encoding JPEG, blotchy spots in single- color areas
  • 13. Wavelet Image Compression  Optimal for images containing sharp edges, or continuous curves/lines (fingerprints)  Compared with DCT, uses more optimal set of functions to represent sharp edges than cosines.  Wavelets are finite in extent as opposed to sinusoidal functions Several different families of wavelets. Source: “An Introduction to Wavelets”. http://www.amara.com/IEEEwave/IEEEwavelet.html#contents
  • 14. Wavelet vs. JPEG compression Wavelet compression file size: 1861 bytes compression ratio - 105.6 Source: “About Wavelet Compression”. http://www.barrt.ru/parshukov/about.htm. JPEG compression file size: 1895 bytes compression ratio - 103.8
  • 15. Wavelet compression advantages Fig. 1. Fourier basis functions, time- frequency tiles, and coverage of the time-frequency plane. Fig. 2. Daubechies wavelet basis functions, time-frequency tiles, and coverage of the time- frequency plane Source: “An Introduction to Wavelets”. http://www.amara.com/IEEEwave/IEEEwavelet.html#contents
  • 16. Fractal Based Image Compression  Image compressed in terms of self- similarity rather than pixel resolution  Can be digitally scaled to any resolution when decoded
  • 17. Table of Contents  Image Compression Methods  JPEG  GIF 89a  Wavelet Compression  Fractal  Sound Compression  MPEG Audio Overview  MPEG Layer-3 (MP3)  MPEG AAC  Video Compression Methods  H.261  MPEG/MPEG-2  MPEG-4  MPEG-7
  • 18. MPEG Audio basics & Psychoacoustic Model  Human hearing limited to values lower than ~20kHz in most cases  Human hearing is insensitive to quiet frequency components to sound accompanying other stronger frequency components  Stereo audio streams contain largely redundant information  MPEG audio compression takes advantage of these facts to reduce extent and detail of mostly inaudible frequency ranges
  • 20. MPEG Layer-3 performance sound quality bandwidth mode bitrate reduction ratio telephone sound 2.5 kHz mono 8 kbps * 96:1 better than short wave 4.5 kHz mono 16 kbps 48:1 better than AM radio 7.5 kHz mono 32 kbps 24:1 similar to FM radio 11 kHz stereo 56...64 kbps 26...24:1 near-CD 15 kHz stereo 96 kbps 16:1 CD >15 kHz stereo 112..128kbps 14..12:1
  • 21. MPEG-2 Advanced Audio Coding (AAC) codec (next generation)  Sampling frequencies from 8kHz to 96kHz  1 to 48 channels per stream  Temporal Noise Shaping (TNS) smooths quantization noise by making frequency domain predictions  Prediction: Allows predictable sound patterns such as speech to be predicted and compressed with better quality
  • 23. Table of Contents  Image Compression Methods  JPEG  GIF 89a  Wavelet Compression  Fractal  Sound Compression  MPEG Audio Overview  MPEG Layer-3 (MP3)  MPEG AAC  Video Compression Methods  H.261  MPEG/MPEG-2  MPEG-4  MPEG-7
  • 24. Video Compression with Temporal Redundancy  Using strictly spatial redundancy (JPEG) gives video compression ratios from 7:1 to 27:1  Taking advantage of temporal redundancy in video gives 20:1 to 300:1 compression for H.261, or 30:1 to 100:1 for high quality MPEG-2
  • 25. Videoconferencing Compression with H.261  H.261 is standard recommended for videoconferencing over ISDN lines.  Takes advantage of both spatial and temporal redundancy in moving images  Extremely similar to JPEG, but uses initial frame plus motion vectors to predict subsequent frames
  • 26. H.261 Block Structure  Basic unit of processing is in 8x8 pixel blocks.  Macro Blocks (MB, 16x16 pixels) are used for motion estimation, 4 blocks of luminance, 2 of chrominance  Groups of Blocks (GOB) of 3x11 MB’s are stored together with a header in stream.
  • 27. H.261 Block Structure of bitstream Source: “H.261 Videoconferencing Codec” http://www.uh.edu/~hebert/ece6354/H261-report.pdf Block structure of H.261 video bitstream, Common Intermediate Format (CIF), 360x288 pixels luminance, 180x144 pixels chrominance
  • 28. H.261 Decoding (Similar to encoding process) Encoded Bitstream Bitstream DEcoder Loop Filter Inverse Quantizer IDCT Decompresse d Video Motion Compensation Reference Frame
  • 29. MPEG Video Compression  Supports JPEG and H.261 through downward compatibility  Supports higher Chrominance resolution and pixel resolution (720x480 is standard used for TV signals)  Supports interlaced and noninterlaced modes  Uses Bidirectional prediction in “Group Of Pictures” to encode difference frames. Source: “Parallelization of Software Mpeg Compression” http://www.evl.uic.edu/fwang/mpeg.html “Group Of Pictures” inter-frame dependencies in a stream
  • 30. MPEG 1 & 2 Bitstream Source: http://www.doc.ic.ac.uk/~nd/surprise_96/journal/vol4/sab/report.html The MPEG data hierarchy
  • 31. MPEG-4  Original goal was for 10 times better compression than H.261  Goals shifted to  Flexible bitstreams for varying receiver capabilities  Stream can contain new applications and algorithms  Content-based interactivity with data stream  Network independence (used for Internet, Wireless, POTS, etc)  Object based representations
  • 32. MPEG-4 audio-visual scene composition  Can place media objects anywhere in a scene  Apply transforms to change appearance or qualities of an object  Group objects to form compound objects  Apply streamed data to objects  Interactively change viewer’s position in the virtual scene http://www.iis.fraunhofer.de/amm/techinf/mpeg4/mp4_overv.pdf
  • 33. MPEG-4 “Audiovisual Scene” Example Source: “MPEG-4 Overview” http://www.chiariglione.org/mpeg/standards/mpeg-4/mpeg-4.htm
  • 34. MPEG-7  Media tagging format for doing searches on arbitrary media formats via feature extraction algorithms  Visual descriptors such as:  Basic Structures  Color  Texture  Shape  Localization of spatio-temporal objects  Motion  Face Recognition  Audio descriptors such as :  Sound effects description  Musical Instrument Timbre Description  Spoken Content Description  Melodic Descriptors (search by tune)  Uniform Silence Segment  Example application: Play a few notes on a keyboard and have matched song retrieved.
  • 35. Conclusion  Media compression is indispensable even as storage and streaming capacities increase  Future goals oriented towards increasing ease of access to media information (similar to google for text based information)
  • 36. References  MPEG Overview ( http://www.chiariglione.org/mpeg/standards/mpeg-4/mpeg-4.htm)  Wu C., Irin J. “Emerging Multimedia Computer Communication Technologies”. 1998, Prentice Hall PTR, NJ.  Overview of the MPEG-4 Standard ( http://www.iis.fraunhofer.de/amm/techinf/mpeg4/mp4_overv.pdf)  Digital Video, MPEG and Associated Artifacts ( http://www.doc.ic.ac.uk/~nd/surprise_96/journal/vol4/sab/report.html)  Parallelization of Software MPEG Compression ( http://www.evl.uic.edu/fwang/mpeg.html)  H.261 Video Teleconferencing Codec ( http://www.uh.edu/~hebert/ece6354/H261-report.pdf)  An Introduction to Wavelets ( http://www.amara.com/IEEEwave/IEEEwavelet.html#contents)  About Wavelet Compression (http://www.barrt.ru/parshukov/about.htm)