SlideShare una empresa de Scribd logo
1 de 13
UNIT -5
Introduction to Image and Video
CompressionImage Compression
DIGITIZING AUDIO
According to the Nyquist theorem, if the highest
frequency of the signal is f, we need to sample the
signal 2f times per second.
Voice is sampled at 8000 samples per second with 8 bits per
sample. This results in a digital signal of 64 kbps.
Music is sampled at 44,100 samples per second with 16 bits
per sample. This results in a digital signal of 705.6 kbps for
monaural and 1.411 Mbps for stereo.
DIGTIZNG VIDEO
A video consists of a sequence of frames. If the
frames are displayed on the screen fast enough, we
get an impression of motion.
Each frame is divided into small grids, called picture
elements or pixels.
For black-and-white TV, each 8-bit pixel represents one
of 256 different gray levels.
For a color TV, each pixel is 24 bits, with 8 bits for each
primary color (red, green, and blue).
Audio Compression
Predictive Encoding:
In predictive encoding, the differences between
the samples are encoded instead of encoding all the
sampled values.
Perceptual Encoding: MP3:
The most common compression technique that
is used to create CD-quality audio is based on the
perceptual encoding technique.
Video Compression
Image Compression: JPEG
Image Compression: JPEG
Case 1: a block of uniform gray
Case 2: A Block With Two Different
Uniform Gray Scale Sections
Case 3: A Block That Changes Gradually
From above three cases
•The transformation creates table T from
table P.
•The dc value is the average value
(multiplied by a constant) of the pixels.
•The ac values are the changes.
•Lack of changes in neighboring pixels
creates 0s.
Quantization
•the values are quantized to reduce the number
of bits needed for encoding.
•divide the number by a constant and then drop
the fraction.
•The divisor depends on the position of the
value in the T table.
•JPEG is called LOSSY compression is because of
quantization phase is not reversible.
Compression
Video Compression: MPEG

Más contenido relacionado

La actualidad más candente

Compression presentation 415 (1)
Compression presentation 415 (1)Compression presentation 415 (1)
Compression presentation 415 (1)Godo Dodo
 
Audio compression
Audio compressionAudio compression
Audio compressionSahil Garg
 
Video Data
Video DataVideo Data
Video DataSanea
 
Video compression
Video compressionVideo compression
Video compressionDarkNight14
 
Multimedia lossy compression
Multimedia lossy compressionMultimedia lossy compression
Multimedia lossy compressionanjunarayanan
 

La actualidad más candente (6)

Compression presentation 415 (1)
Compression presentation 415 (1)Compression presentation 415 (1)
Compression presentation 415 (1)
 
Audio compression
Audio compressionAudio compression
Audio compression
 
Video Data
Video DataVideo Data
Video Data
 
Video compression
Video compressionVideo compression
Video compression
 
Multimedia lossy compression
Multimedia lossy compressionMultimedia lossy compression
Multimedia lossy compression
 
Audio and Video Compression
Audio and Video CompressionAudio and Video Compression
Audio and Video Compression
 

Similar a DATA COMMUNICATUION Unit 5

Similar a DATA COMMUNICATUION Unit 5 (20)

Multimedia.pdf
Multimedia.pdfMultimedia.pdf
Multimedia.pdf
 
image basics and image compression
image basics and image compressionimage basics and image compression
image basics and image compression
 
Compression of digital voice and video
Compression of digital voice and videoCompression of digital voice and video
Compression of digital voice and video
 
Jpeg and mpeg ppt
Jpeg and mpeg pptJpeg and mpeg ppt
Jpeg and mpeg ppt
 
audiocompression-130624061221-phpapp02.pptx
audiocompression-130624061221-phpapp02.pptxaudiocompression-130624061221-phpapp02.pptx
audiocompression-130624061221-phpapp02.pptx
 
Audio compression
Audio compressionAudio compression
Audio compression
 
Chapter four.pptx
Chapter four.pptxChapter four.pptx
Chapter four.pptx
 
Chapter fourvvvvvvvbbhhgggghhhhhhheryuuuhh
Chapter fourvvvvvvvbbhhgggghhhhhhheryuuuhhChapter fourvvvvvvvbbhhgggghhhhhhheryuuuhh
Chapter fourvvvvvvvbbhhgggghhhhhhheryuuuhh
 
MPEG video compression standard
MPEG video compression standardMPEG video compression standard
MPEG video compression standard
 
Lec2
Lec2Lec2
Lec2
 
video compression techique
video compression techiquevideo compression techique
video compression techique
 
Fundamentals of Data compression
Fundamentals of Data compressionFundamentals of Data compression
Fundamentals of Data compression
 
Image compression and jpeg
Image compression and jpegImage compression and jpeg
Image compression and jpeg
 
MULTECH2 LESSON 5.pdf
MULTECH2 LESSON 5.pdfMULTECH2 LESSON 5.pdf
MULTECH2 LESSON 5.pdf
 
Audio Compression_2023.pptx
Audio Compression_2023.pptxAudio Compression_2023.pptx
Audio Compression_2023.pptx
 
Video
VideoVideo
Video
 
Mpeg 2
Mpeg 2Mpeg 2
Mpeg 2
 
Multimedia Object - Video
Multimedia Object - VideoMultimedia Object - Video
Multimedia Object - Video
 
Multimedia Object - Audio
Multimedia Object - AudioMultimedia Object - Audio
Multimedia Object - Audio
 
introduction to jpeg for image proce.ppt
introduction to jpeg for image proce.pptintroduction to jpeg for image proce.ppt
introduction to jpeg for image proce.ppt
 

Más de Anjuman College of Engg. & Tech. (7)

Digital Communication Unit 1
Digital Communication Unit 1Digital Communication Unit 1
Digital Communication Unit 1
 
Digital Communication Unit 3
Digital Communication Unit 3Digital Communication Unit 3
Digital Communication Unit 3
 
Unit 6 dcom
Unit 6 dcom   Unit 6 dcom
Unit 6 dcom
 
Unit 4 bandwidth utilization
Unit 4 bandwidth utilizationUnit 4 bandwidth utilization
Unit 4 bandwidth utilization
 
Unit 3 communication media
Unit 3   communication mediaUnit 3   communication media
Unit 3 communication media
 
Data Communication Unit 2
Data Communication Unit 2 Data Communication Unit 2
Data Communication Unit 2
 
Data Communication Unit 1
Data Communication Unit 1Data Communication Unit 1
Data Communication Unit 1
 

Último

How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxAmanpreet Kaur
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Association for Project Management
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdfssuserdda66b
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 

Último (20)

How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 

DATA COMMUNICATUION Unit 5

  • 1. UNIT -5 Introduction to Image and Video CompressionImage Compression
  • 2.
  • 3. DIGITIZING AUDIO According to the Nyquist theorem, if the highest frequency of the signal is f, we need to sample the signal 2f times per second. Voice is sampled at 8000 samples per second with 8 bits per sample. This results in a digital signal of 64 kbps. Music is sampled at 44,100 samples per second with 16 bits per sample. This results in a digital signal of 705.6 kbps for monaural and 1.411 Mbps for stereo.
  • 4. DIGTIZNG VIDEO A video consists of a sequence of frames. If the frames are displayed on the screen fast enough, we get an impression of motion. Each frame is divided into small grids, called picture elements or pixels. For black-and-white TV, each 8-bit pixel represents one of 256 different gray levels. For a color TV, each pixel is 24 bits, with 8 bits for each primary color (red, green, and blue).
  • 5. Audio Compression Predictive Encoding: In predictive encoding, the differences between the samples are encoded instead of encoding all the sampled values. Perceptual Encoding: MP3: The most common compression technique that is used to create CD-quality audio is based on the perceptual encoding technique.
  • 7. Image Compression: JPEG Case 1: a block of uniform gray
  • 8. Case 2: A Block With Two Different Uniform Gray Scale Sections
  • 9. Case 3: A Block That Changes Gradually
  • 10. From above three cases •The transformation creates table T from table P. •The dc value is the average value (multiplied by a constant) of the pixels. •The ac values are the changes. •Lack of changes in neighboring pixels creates 0s.
  • 11. Quantization •the values are quantized to reduce the number of bits needed for encoding. •divide the number by a constant and then drop the fraction. •The divisor depends on the position of the value in the T table. •JPEG is called LOSSY compression is because of quantization phase is not reversible.