SlideShare a Scribd company logo
Video Compression
Video Compression
 Outline
 The need for compression
 Types of redundancy
 Image compression
 Video compression
The need for compression
 Raw video contains an immense amount of
data
 Communication and storage capabilities are
limited and expensive
 Example HDTV video signal:
 1280X720 pixels/frame, progressive
scanning at 60 frames/s:
 20 Mb/s HDTV channel bandwidth
 Requires compression by a factor of 70:1
Types of redundancy
 Spectral Redundancy
 Spatial redundancy (Intra – frame compression)
 Temporal redundancy (Inter – frame compression)
 Entropy Redundancy (Lossless compression)
 Psycho-visual redundancy
Spectral Redundancy
 The RGB signals from video cameras are highly
correlated and take large bandwidth of 15 MHz
 To decrease the amount of video sample data
based on human perception, the RGB color space is
converted to Y, Cr & Cb color space
 The Y has the full bandwidth as it is very sensitive
to human perception
 The Cr and Cb components have a narrower
bandwidth because these are less sensitive to
human eye. The chrominance components are
usually decimated by two, both horizontally and
vertically resulting in a reduced number of
samples.
Spatial Redundancy
(Intra – frame compression)
 Within a single picture many blocks
have same value.
 Redundant
 DCT
Temporal redundancy
(Inter – frame compression)
Temporal redundancy…
(Inter – frame compression)
 How do we exploit this ?
 Send image differences
 Consecutive images are very similar.
 Difference images are spatially much more redundant
than real images.
 Exploit spatial redundancy of difference images!
 Motion vectors
 What if the camera moves?
 What if objects move?
 Use motion estimation before calculating the
difference image!
Entropy Redundancy
(Lossless compression)
 In picture sequence some values
occur very often
 Frequently appearing signal values
may be assigned a smaller length of
bits, thus eliminating considerable
amount of redundancy
Psycho-visual redundancy
 Human visual system
 Different sensitivity to different
information
 Human processing
 We only see some parts of the image
 Our brain completes the rest
Psycho-visual redundancy…
 Human sensitivity
 We notice errors in homogenous regions
 Low frequencies
 We notice errors in edges
 High frequencies
 We don’t notice noise in textured areas
 Medium frequencies
Image compression
 Lossy
 We do not obtain an exact copy of our
compressed data after decompression
 Very high compression rates
 Increased degradation with successive
compression / decompression
 Lossless
 We obtain an exact copy of our compressed
data after decompression
 Lower compression rates
 Freely compress / decompress images
Lossy Image Compression
 Acceptable for most real images and
situations.
 Very popular: JPEG
 We can control the level of
compression vs. Quality of the
resulting image.
 How do we do this?
Lossy Image Compression…
Discrete Cosine Transform (DCT)
Discrete Cosine Transform (DCT)
Video compression
Video compression
 Exploiting temporal redundancy
 Using all other redundancies for JPEG:
 Compression factor - 10:1
 Exploiting temporal redundancy for
MPEG-2:
 Compression factor – 100:1
 Temporal redundancy is of vital
importance to video compression!
Video compression…
 Goal: Exploit the temporal redundancy
 Predict current frame based on previously coded
frames
 Three types of coded frames:
 I-frame: Intra-coded frame, coded independently of all
other frames
 P-frame: Predicatively coded frame, coded based on
previously coded frame
 B-frame: Bi-directionally predicted frame, coded based on
both previous and future coded frames
Video compression…
 Simple frame differencing fails when there is
motion
 Must account for motion
 Motion-compensated (MC) prediction
 MC-prediction generally provides significant
improvements
 Questions:
 How can we estimate motion?
 How can we form MC-prediction?
Video compression…Motion Estimation
 Ideal situation:
 Partition video into moving objects
 Describe object motion
 Generally very difficult
 Practical approach: Block-Matching Motion Estimation
 Partition each frame into blocks, e.g. 16x16 pixels
 Describe motion of each block
 No object identification required
 Good, robust performance
Example Use of I-,P-,B-frames:
MPEG Group of Pictures (GOP)
 Arrows show prediction dependencies
between frames
MPEG: Motion Picture Experts Group
 MPEG-1 (1992)
 Compression for Storage
 1.5Mbps
 Frame-based Compression
 MPEG-2 (1994)
 Digital TV
 6.0 Mbps
 Frame-based Compression
 MPEG-4 (1998)
 Multimedia Applications, digital TV, synthetic graphics
 Lower bit rate
 Object based compression
 MPEG-7
 Multimedia Content Description Interface, XML-based
 MPEG-21
 Digital identification, IP rights management
Video compression

More Related Content

What's hot

video compression techique
video compression techiquevideo compression techique
video compression techiqueAshish Kumar
 
Audio compression
Audio compressionAudio compression
Audio compression
Miled Othmen
 
Video compression
Video compressionVideo compression
Video compression
DarkNight14
 
Wavelet based image compression technique
Wavelet based image compression techniqueWavelet based image compression technique
Wavelet based image compression techniquePriyanka Pachori
 
Audio compression
Audio compression Audio compression
Audio compression
Darshan IT
 
Audio compression
Audio compressionAudio compression
Audio compressionSahil Garg
 
Fundamentals and image compression models
Fundamentals and image compression modelsFundamentals and image compression models
Fundamentals and image compression models
lavanya marichamy
 
Mpeg video compression
Mpeg video compressionMpeg video compression
Mpeg video compression
Gem WeBlog
 
Digital Video And Compression
Digital Video And CompressionDigital Video And Compression
Digital Video And Compression
Robert Burk
 
Audio compression 1
Audio compression 1Audio compression 1
Audio compression 1
Rajat Kumar
 
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
 
JPEG Image Compression
JPEG Image CompressionJPEG Image Compression
JPEG Image Compression
Aishwarya K. M.
 
Audio and video compression
Audio and video compressionAudio and video compression
Audio and video compressionneeraj9217
 
Motion Estimation - umit 5 (II).pdf
Motion Estimation  - umit 5 (II).pdfMotion Estimation  - umit 5 (II).pdf
Motion Estimation - umit 5 (II).pdf
HeenaSyed6
 
Image compression in digital image processing
Image compression in digital image processingImage compression in digital image processing
Image compression in digital image processing
DHIVYADEVAKI
 
Multimedia communication networks
Multimedia communication networksMultimedia communication networks
Multimedia communication networks
Mohammad Ilyas Malik
 
Video Compression Basics
Video Compression BasicsVideo Compression Basics
Video Compression Basics
Sanjiv Malik
 
Introduction to Image Compression
Introduction to Image CompressionIntroduction to Image Compression
Introduction to Image Compression
Kalyan Acharjya
 

What's hot (20)

video compression techique
video compression techiquevideo compression techique
video compression techique
 
Audio compression
Audio compressionAudio compression
Audio compression
 
Video compression
Video compressionVideo compression
Video compression
 
Wavelet based image compression technique
Wavelet based image compression techniqueWavelet based image compression technique
Wavelet based image compression technique
 
Audio compression
Audio compression Audio compression
Audio compression
 
H261
H261H261
H261
 
Audio compression
Audio compressionAudio compression
Audio compression
 
Fundamentals and image compression models
Fundamentals and image compression modelsFundamentals and image compression models
Fundamentals and image compression models
 
Mpeg video compression
Mpeg video compressionMpeg video compression
Mpeg video compression
 
Digital Video And Compression
Digital Video And CompressionDigital Video And Compression
Digital Video And Compression
 
Audio compression 1
Audio compression 1Audio compression 1
Audio compression 1
 
Compression: Video Compression (MPEG and others)
Compression: Video Compression (MPEG and others)Compression: Video Compression (MPEG and others)
Compression: Video Compression (MPEG and others)
 
image compression ppt
image compression pptimage compression ppt
image compression ppt
 
JPEG Image Compression
JPEG Image CompressionJPEG Image Compression
JPEG Image Compression
 
Audio and video compression
Audio and video compressionAudio and video compression
Audio and video compression
 
Motion Estimation - umit 5 (II).pdf
Motion Estimation  - umit 5 (II).pdfMotion Estimation  - umit 5 (II).pdf
Motion Estimation - umit 5 (II).pdf
 
Image compression in digital image processing
Image compression in digital image processingImage compression in digital image processing
Image compression in digital image processing
 
Multimedia communication networks
Multimedia communication networksMultimedia communication networks
Multimedia communication networks
 
Video Compression Basics
Video Compression BasicsVideo Compression Basics
Video Compression Basics
 
Introduction to Image Compression
Introduction to Image CompressionIntroduction to Image Compression
Introduction to Image Compression
 

Similar to Video compression

video comparison
video comparison video comparison
video comparison
Hassanein Alwan
 
Video Compression Basics - MPEG2
Video Compression Basics - MPEG2Video Compression Basics - MPEG2
Video Compression Basics - MPEG2
VijayKumarArya
 
Camera , Visual , Imaging Technology : A Walk-through
Camera , Visual ,  Imaging Technology : A Walk-through Camera , Visual ,  Imaging Technology : A Walk-through
Camera , Visual , Imaging Technology : A Walk-through Sherin Sasidharan
 
Applying Media Content Analysis to the Production of Musical Videos as Summar...
Applying Media Content Analysis to the Production of Musical Videos as Summar...Applying Media Content Analysis to the Production of Musical Videos as Summar...
Applying Media Content Analysis to the Production of Musical Videos as Summar...
Chris Huang
 
CHAPTER – 6 Video
CHAPTER – 6    VideoCHAPTER – 6    Video
CHAPTER – 6 Video
Amir Ibrahim Tahir
 
Image compression
Image compressionImage compression
Image compression
Abdelrahman Almassry
 
HSC Multimedia
HSC MultimediaHSC Multimedia
HSC Multimedia
greg robertson
 
Multimedia systems
Multimedia systemsMultimedia systems
Multimedia systems
greg robertson
 
Video compression
Video compressionVideo compression
Video compression
Deepa K C
 
Image Processing in Android Environment AJCSE
Image Processing in Android Environment AJCSEImage Processing in Android Environment AJCSE
Image Processing in Android Environment AJCSE
BRNSSPublicationHubI
 
Seminar Report on image compression
Seminar Report on image compressionSeminar Report on image compression
Seminar Report on image compression
Pradip Kumar
 
Video and animation
Video and animationVideo and animation
Video and animation
Gem WeBlog
 
A Novel Approach for Compressing Surveillance System Videos
A Novel Approach for Compressing Surveillance System VideosA Novel Approach for Compressing Surveillance System Videos
A Novel Approach for Compressing Surveillance System Videos
INFOGAIN PUBLICATION
 
Glossary
Glossary Glossary
Glossary
Carrie Deans
 
Wavelet video processing tecnology
Wavelet video processing tecnologyWavelet video processing tecnology
Wavelet video processing tecnologyPrashant Madnavat
 

Similar to Video compression (20)

video comparison
video comparison video comparison
video comparison
 
Ha1 task one
Ha1   task oneHa1   task one
Ha1 task one
 
Video Compression Basics - MPEG2
Video Compression Basics - MPEG2Video Compression Basics - MPEG2
Video Compression Basics - MPEG2
 
Camera , Visual , Imaging Technology : A Walk-through
Camera , Visual ,  Imaging Technology : A Walk-through Camera , Visual ,  Imaging Technology : A Walk-through
Camera , Visual , Imaging Technology : A Walk-through
 
Applying Media Content Analysis to the Production of Musical Videos as Summar...
Applying Media Content Analysis to the Production of Musical Videos as Summar...Applying Media Content Analysis to the Production of Musical Videos as Summar...
Applying Media Content Analysis to the Production of Musical Videos as Summar...
 
CHAPTER – 6 Video
CHAPTER – 6    VideoCHAPTER – 6    Video
CHAPTER – 6 Video
 
Image compression
Image compressionImage compression
Image compression
 
HSC Multimedia
HSC MultimediaHSC Multimedia
HSC Multimedia
 
Multimedia systems
Multimedia systemsMultimedia systems
Multimedia systems
 
Video compression
Video compressionVideo compression
Video compression
 
Image Processing in Android Environment AJCSE
Image Processing in Android Environment AJCSEImage Processing in Android Environment AJCSE
Image Processing in Android Environment AJCSE
 
Seminar Report on image compression
Seminar Report on image compressionSeminar Report on image compression
Seminar Report on image compression
 
Video and animation
Video and animationVideo and animation
Video and animation
 
Compression
CompressionCompression
Compression
 
85 videocompress
85 videocompress85 videocompress
85 videocompress
 
A Novel Approach for Compressing Surveillance System Videos
A Novel Approach for Compressing Surveillance System VideosA Novel Approach for Compressing Surveillance System Videos
A Novel Approach for Compressing Surveillance System Videos
 
Glossary
Glossary Glossary
Glossary
 
Glossary
GlossaryGlossary
Glossary
 
Wavelet video processing tecnology
Wavelet video processing tecnologyWavelet video processing tecnology
Wavelet video processing tecnology
 
Tech report
Tech reportTech report
Tech report
 

More from nnmaurya

IP Over Satellite
IP Over SatelliteIP Over Satellite
IP Over Satellite
nnmaurya
 
TV transmission principles
TV transmission principlesTV transmission principles
TV transmission principles
nnmaurya
 
Video Server
Video ServerVideo Server
Video Server
nnmaurya
 
Digital modulation basics(nnm)
Digital modulation basics(nnm)Digital modulation basics(nnm)
Digital modulation basics(nnm)
nnmaurya
 
Cro(nnm)
Cro(nnm)Cro(nnm)
Cro(nnm)
nnmaurya
 
Computer networking (nnm)
Computer networking (nnm)Computer networking (nnm)
Computer networking (nnm)
nnmaurya
 
Challenges in iptv technologies(nnm)
Challenges in iptv technologies(nnm)Challenges in iptv technologies(nnm)
Challenges in iptv technologies(nnm)
nnmaurya
 
Ccd principles(nnm)
Ccd principles(nnm)Ccd principles(nnm)
Ccd principles(nnm)
nnmaurya
 

More from nnmaurya (8)

IP Over Satellite
IP Over SatelliteIP Over Satellite
IP Over Satellite
 
TV transmission principles
TV transmission principlesTV transmission principles
TV transmission principles
 
Video Server
Video ServerVideo Server
Video Server
 
Digital modulation basics(nnm)
Digital modulation basics(nnm)Digital modulation basics(nnm)
Digital modulation basics(nnm)
 
Cro(nnm)
Cro(nnm)Cro(nnm)
Cro(nnm)
 
Computer networking (nnm)
Computer networking (nnm)Computer networking (nnm)
Computer networking (nnm)
 
Challenges in iptv technologies(nnm)
Challenges in iptv technologies(nnm)Challenges in iptv technologies(nnm)
Challenges in iptv technologies(nnm)
 
Ccd principles(nnm)
Ccd principles(nnm)Ccd principles(nnm)
Ccd principles(nnm)
 

Recently uploaded

Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
manasideore6
 
Online aptitude test management system project report.pdf
Online aptitude test management system project report.pdfOnline aptitude test management system project report.pdf
Online aptitude test management system project report.pdf
Kamal Acharya
 
PPT on GRP pipes manufacturing and testing
PPT on GRP pipes manufacturing and testingPPT on GRP pipes manufacturing and testing
PPT on GRP pipes manufacturing and testing
anoopmanoharan2
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
Kerry Sado
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
MdTanvirMahtab2
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
Massimo Talia
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
thanhdowork
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
WENKENLI1
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Sreedhar Chowdam
 
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
ssuser7dcef0
 
14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application
SyedAbiiAzazi1
 
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABSDESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
itech2017
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Teleport Manpower Consultant
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation & Control
 
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
zwunae
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
Kamal Acharya
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Christina Lin
 
digital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdfdigital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdf
drwaing
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
Osamah Alsalih
 
Technical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prismsTechnical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prisms
heavyhaig
 

Recently uploaded (20)

Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
 
Online aptitude test management system project report.pdf
Online aptitude test management system project report.pdfOnline aptitude test management system project report.pdf
Online aptitude test management system project report.pdf
 
PPT on GRP pipes manufacturing and testing
PPT on GRP pipes manufacturing and testingPPT on GRP pipes manufacturing and testing
PPT on GRP pipes manufacturing and testing
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
 
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
 
14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application
 
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABSDESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
 
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
 
digital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdfdigital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdf
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
 
Technical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prismsTechnical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prisms
 

Video compression

  • 2. Video Compression  Outline  The need for compression  Types of redundancy  Image compression  Video compression
  • 3. The need for compression  Raw video contains an immense amount of data  Communication and storage capabilities are limited and expensive  Example HDTV video signal:  1280X720 pixels/frame, progressive scanning at 60 frames/s:  20 Mb/s HDTV channel bandwidth  Requires compression by a factor of 70:1
  • 4. Types of redundancy  Spectral Redundancy  Spatial redundancy (Intra – frame compression)  Temporal redundancy (Inter – frame compression)  Entropy Redundancy (Lossless compression)  Psycho-visual redundancy
  • 5. Spectral Redundancy  The RGB signals from video cameras are highly correlated and take large bandwidth of 15 MHz  To decrease the amount of video sample data based on human perception, the RGB color space is converted to Y, Cr & Cb color space  The Y has the full bandwidth as it is very sensitive to human perception  The Cr and Cb components have a narrower bandwidth because these are less sensitive to human eye. The chrominance components are usually decimated by two, both horizontally and vertically resulting in a reduced number of samples.
  • 6. Spatial Redundancy (Intra – frame compression)  Within a single picture many blocks have same value.  Redundant  DCT
  • 7. Temporal redundancy (Inter – frame compression)
  • 8. Temporal redundancy… (Inter – frame compression)  How do we exploit this ?  Send image differences  Consecutive images are very similar.  Difference images are spatially much more redundant than real images.  Exploit spatial redundancy of difference images!  Motion vectors  What if the camera moves?  What if objects move?  Use motion estimation before calculating the difference image!
  • 9. Entropy Redundancy (Lossless compression)  In picture sequence some values occur very often  Frequently appearing signal values may be assigned a smaller length of bits, thus eliminating considerable amount of redundancy
  • 10. Psycho-visual redundancy  Human visual system  Different sensitivity to different information  Human processing  We only see some parts of the image  Our brain completes the rest
  • 11. Psycho-visual redundancy…  Human sensitivity  We notice errors in homogenous regions  Low frequencies  We notice errors in edges  High frequencies  We don’t notice noise in textured areas  Medium frequencies
  • 12. Image compression  Lossy  We do not obtain an exact copy of our compressed data after decompression  Very high compression rates  Increased degradation with successive compression / decompression  Lossless  We obtain an exact copy of our compressed data after decompression  Lower compression rates  Freely compress / decompress images
  • 13. Lossy Image Compression  Acceptable for most real images and situations.  Very popular: JPEG  We can control the level of compression vs. Quality of the resulting image.  How do we do this?
  • 18. Video compression  Exploiting temporal redundancy  Using all other redundancies for JPEG:  Compression factor - 10:1  Exploiting temporal redundancy for MPEG-2:  Compression factor – 100:1  Temporal redundancy is of vital importance to video compression!
  • 19. Video compression…  Goal: Exploit the temporal redundancy  Predict current frame based on previously coded frames  Three types of coded frames:  I-frame: Intra-coded frame, coded independently of all other frames  P-frame: Predicatively coded frame, coded based on previously coded frame  B-frame: Bi-directionally predicted frame, coded based on both previous and future coded frames
  • 20. Video compression…  Simple frame differencing fails when there is motion  Must account for motion  Motion-compensated (MC) prediction  MC-prediction generally provides significant improvements  Questions:  How can we estimate motion?  How can we form MC-prediction?
  • 21. Video compression…Motion Estimation  Ideal situation:  Partition video into moving objects  Describe object motion  Generally very difficult  Practical approach: Block-Matching Motion Estimation  Partition each frame into blocks, e.g. 16x16 pixels  Describe motion of each block  No object identification required  Good, robust performance
  • 22. Example Use of I-,P-,B-frames: MPEG Group of Pictures (GOP)  Arrows show prediction dependencies between frames
  • 23. MPEG: Motion Picture Experts Group  MPEG-1 (1992)  Compression for Storage  1.5Mbps  Frame-based Compression  MPEG-2 (1994)  Digital TV  6.0 Mbps  Frame-based Compression  MPEG-4 (1998)  Multimedia Applications, digital TV, synthetic graphics  Lower bit rate  Object based compression  MPEG-7  Multimedia Content Description Interface, XML-based  MPEG-21  Digital identification, IP rights management