SlideShare une entreprise Scribd logo
1  sur  27
Télécharger pour lire hors ligne
Chapter 5
Data Compression
-PRATIK MAN SINGH PRADHAN (WWW.PMSPRATIK.COM.NP)-
MMS2401 – MULTIMEDIA SYSTEMS & COMMUNICATIONS (3 CREDITS)
Compression
 File compression is the practice of packaging a file
or files to use less disk space.
 The File Compression category includes software
programs that will archive your files and extract
archived files such as ZIP and RAR files.
 Many products in this category let you manage files
and protect them with encryption.
Data Compression
 In signal processing, data compression, source
coding, or bit-rate reduction involves encoding
information using fewer bits than the original
representation.
 Compression can be either lossy or lossless. Lossless
compression reduces bits by identifying and
eliminating statistical redundancy.
Need for Data Compression
 Bit rates required for uncompressed PAL Video
 720X576 = 414720 Pixels in each frame
 Frame Rate = 60 (for regular displays)
 Bit Rate = More than 160 Mbps
 Bit rates required for uncompressed High Definition Video
 1920 X 1080 = 2073600 Pixels in each frame
 Frame Rate = 60 (for regular displays)
 Bit Rate = More than 2 Gbps
 Bit rates required for uncompressed audio data stream
 Telephone Quality = 60 Kbps
 CD Quality = 1.4 Mbps
Fundamentals of Multimedia Data
Compression Coding Technique
 Audio, image and video require vast amounts of data
 320x240x8bits grayscale image: 77Kb
 1100x900x24bits color image: 3MB
 640x480x24x30frames/sec: 27.6 MB/sec
 Low network’s bandwidth doesn't allow for real time video transmission
 Slow storage devices don't allow for fast playing back ‰Compression
reduces storage requirements
Modes of Compression
 Lossless Compression
 Only redundancies or repetition are removed
 Data is not altered or lost in the process
 E.g. Computer file compression
 Lossy Compression
 Redundancies as well as some unessential information in the data are removed
 E.g. Image and video compression
Lossy DCT-Based Compression
 A discrete cosine transform (DCT) expresses a finite sequence of data
points in terms of a sum of cosine functions oscillating at different
frequencies.
 DCTs are important to numerous applications in science and engineering,
from lossy compression of audio (e.g. MP3) and images (e.g. JPEG) (where
small high-frequency components can be discarded), to spectral methods
for the numerical solution of partial differential equations.
 The use of cosine rather than sine functions is critical for compression, since
it turns out (as described below) that fewer cosine functions are needed to
approximate a typical signal, whereas for differential equations the cosines
express a particular choice of boundary conditions.
Two Types of Compression
 Entropy Encoding
 Does not take into account the nature of information to be compressed
 Treats all data as sequence of data
 Is lossless
 Source Encoding
 Makes use of transformations dependent on the type of original data E.g.
Suppression of silence for audio, and exploring motion redundancies for video.
 Is either lossy or lossless
Compression Efficiency
 Compression ratio – (size of the original data) / (size of compressed data)
 Positive compression if radio > 1; negative compression otherwise
 Figure of Merit = (size of compression data) / (size of original data)
 Reciprocal of compression ratio
Compression
Coding
Standards
 JPEG
 ITU-T
 H.261
 H.264
 MPEG
 Motion Compensation
 Huffman Code
 Hybrid Encoding
JPEG
 "Joint Photographic Expert Group" -- an international standard in 1992.
 JPEG is a lossy compression technique for color images.
 Although it can reduce files sizes to about 5% of their normal size, some
detail is lost in the compression.
JPEG Compression Steps
ITU-T
 The ITU Telecommunication Standardization Sector (ITU-T) is one of the
three sectors (divisions or units) of the International Telecommunication
Union (ITU); it coordinates standards for telecommunications.
 The Video Coding Experts Group or Visual Coding Experts Group (VCEG) is
the informal name of Question 6 (Visual coding) of Working Party 3 (Media
coding) of Study Group 16 (Multimedia coding, systems and applications)
of the ITU-T. Its abbreviated title is ITU-T Q.6/SG 16. It is responsible for
standardization of the "H.26x" line of video coding standards, the "T.8xx" line
of image coding standards, and related technologies.
H.261 (px64)
 The basic approach to H.261 Compression is
summarized as follows:
 H.261 Compression has been specifically
designed for video telecommunication
applications:
 Developed by CCITT in 1988-1990
 Meant for videoconferencing, videotelephone
applications over ISDN telephone lines.
 Baseline ISDN is 64 kbits/sec, and integral
multiples (px64)
H.261 (px64) Compression Steps
 We typically have a group of pictures — one I-frame followed by several P-
frames — a group of pictures
 Number of P-frames followed by each I-frame determines the size of GOP
– can be fixed or dynamic. Why this can’t be too large?
H.264
 H.264 or MPEG-4 Part 10, Advanced Video Coding (MPEG-4 AVC) is a
video coding format that is currently one of the most commonly used
formats for the recording, compression, and distribution of video content.
H.264 Compression Steps
MPEG
 The Moving Picture Experts Group (MPEG) is a working group of authorities
that was formed by ISO and IEC to set standards for audio and video
compression and transmission.
MPEG Compression Steps
 MPEG compression is essentially an attempt to overcome some
shortcomings of H.261 and JPEG: Recall H.261 dependencies:
Motion Compensation
 Uses the motion vectors to compensate the
picture.
 Parts of a previous (or future) picture can be
reused in a subsequent picture.
 Individual parts spatially compressed —
JPEG type compression
Motion Compensation Compression
Steps
Huffman Code
 In computer science and information theory, a Huffman code is a
particular type of optimal prefix code that is commonly used for lossless
data compression.
Huffman Code Encoding
Huffman Code Decoding
Huffman Code Compression Ratio
The Huffman encoding saves 20
bits.
The compression ratio is 1.21 to 1.
Huffman Code Relative Redundancy
Hybrid Encoding
 A hybrid encoding method is used to assemble the double-random phase-encoding technique
and the binary encoding method.
 Because the double-random phase-encoding technique is robust for noises and the binary
encoding method is free of using external keys, the proposed hybrid encoding method has their
advantages.
 The hybrid encoding method first encodes a covert image to form a complex-number matrix by
using the double-random phase-encoding technique, where two random real-number matrices
are used to increase the security of the encoding work.
 Then the elements of the two random real-number matrices and the elements of the complex-
number matrix are encoded to form a binary-bit string by using the binary encoding method.
 Finally, the binary data in the binary-bit string are encoded into a host image to form an overt
image with hidden information by using a gray-value modulation method. The decoding work is
easy for authorized people, but it is very difficult for unauthorized people. Therefore, the
proposed hybrid encoding method is a very useful encoding method.

Contenu connexe

Tendances

Tendances (20)

H261
H261H261
H261
 
Data compression techniques
Data compression techniquesData compression techniques
Data compression techniques
 
Multimedia System & Design Ch 5 video
Multimedia System & Design Ch 5 videoMultimedia System & Design Ch 5 video
Multimedia System & Design Ch 5 video
 
Multimedia image compression standards
Multimedia image compression standardsMultimedia image compression standards
Multimedia image compression standards
 
Data compression
Data  compressionData  compression
Data compression
 
Chapter 6 : VIDEO
Chapter 6 : VIDEOChapter 6 : VIDEO
Chapter 6 : VIDEO
 
Video Compression Basics
Video Compression BasicsVideo Compression Basics
Video Compression Basics
 
Image compression
Image compression Image compression
Image compression
 
Video compression
Video compressionVideo compression
Video compression
 
Codecs
CodecsCodecs
Codecs
 
Data compression
Data compression Data compression
Data compression
 
Multimedia systems
Multimedia systemsMultimedia systems
Multimedia systems
 
Multimedia
MultimediaMultimedia
Multimedia
 
Compression techniques
Compression techniquesCompression techniques
Compression techniques
 
Multimedia:Multimedia compression
Multimedia:Multimedia compression Multimedia:Multimedia compression
Multimedia:Multimedia compression
 
Multimedia compression
Multimedia compressionMultimedia compression
Multimedia compression
 
Multimedia communication networks
Multimedia communication networksMultimedia communication networks
Multimedia communication networks
 
Multimedia chapter 2
Multimedia chapter 2Multimedia chapter 2
Multimedia chapter 2
 
Multimedia system, Architecture & Databases
Multimedia system, Architecture & DatabasesMultimedia system, Architecture & Databases
Multimedia system, Architecture & Databases
 
JPEG Image Compression
JPEG Image CompressionJPEG Image Compression
JPEG Image Compression
 

En vedette

data compression technique
data compression techniquedata compression technique
data compression techniqueCHINMOY PAUL
 
Image file formats
Image file formatsImage file formats
Image file formatsBob Watson
 
Introduction for Data Compression
Introduction for Data Compression Introduction for Data Compression
Introduction for Data Compression MANISH T I
 
Data Compression Technique
Data Compression TechniqueData Compression Technique
Data Compression Techniquenayakslideshare
 
Data compression
Data compressionData compression
Data compressionNizar Sbaih
 
Chapter 4 - Introduction of International Standards
Chapter 4 - Introduction of International StandardsChapter 4 - Introduction of International Standards
Chapter 4 - Introduction of International StandardsPratik Pradhan
 
Chapter 2 - Multimedia Communications
Chapter 2 - Multimedia CommunicationsChapter 2 - Multimedia Communications
Chapter 2 - Multimedia CommunicationsPratik Pradhan
 
4 data compression
4 data compression4 data compression
4 data compressionRejin Thomas
 
Chapter 6 - Multimedia Over Ip
Chapter 6 - Multimedia Over IpChapter 6 - Multimedia Over Ip
Chapter 6 - Multimedia Over IpPratik Pradhan
 
Chapter 8 - Multimedia Storage and Retrieval
Chapter 8 - Multimedia Storage and RetrievalChapter 8 - Multimedia Storage and Retrieval
Chapter 8 - Multimedia Storage and RetrievalPratik Pradhan
 
Chapter 9 -Multimedia on The Internet
Chapter 9 -Multimedia on The InternetChapter 9 -Multimedia on The Internet
Chapter 9 -Multimedia on The InternetPratik Pradhan
 
Chapter 7 - Multimedia Networking Issues
Chapter 7 - Multimedia Networking IssuesChapter 7 - Multimedia Networking Issues
Chapter 7 - Multimedia Networking IssuesPratik Pradhan
 
Data compression introduction
Data compression introductionData compression introduction
Data compression introductionRahul Khanwani
 
Chapter 10 - Multimedia Over Atm
Chapter 10 - Multimedia Over AtmChapter 10 - Multimedia Over Atm
Chapter 10 - Multimedia Over AtmPratik Pradhan
 
Chapter 11 - Emerging Multimedia Technologies
Chapter 11 - Emerging Multimedia TechnologiesChapter 11 - Emerging Multimedia Technologies
Chapter 11 - Emerging Multimedia TechnologiesPratik Pradhan
 
Chapter 1 - Multimedia Fundamentals
Chapter 1 - Multimedia FundamentalsChapter 1 - Multimedia Fundamentals
Chapter 1 - Multimedia FundamentalsPratik Pradhan
 
Fundamentals of Data compression
Fundamentals of Data compressionFundamentals of Data compression
Fundamentals of Data compressionM.k. Praveen
 

En vedette (20)

data compression technique
data compression techniquedata compression technique
data compression technique
 
Image file formats
Image file formatsImage file formats
Image file formats
 
Introduction for Data Compression
Introduction for Data Compression Introduction for Data Compression
Introduction for Data Compression
 
Data Compression Technique
Data Compression TechniqueData Compression Technique
Data Compression Technique
 
Data compression
Data compressionData compression
Data compression
 
Data compression
Data compressionData compression
Data compression
 
Chapter 4 - Introduction of International Standards
Chapter 4 - Introduction of International StandardsChapter 4 - Introduction of International Standards
Chapter 4 - Introduction of International Standards
 
Data compression
Data compressionData compression
Data compression
 
Chapter 2 - Multimedia Communications
Chapter 2 - Multimedia CommunicationsChapter 2 - Multimedia Communications
Chapter 2 - Multimedia Communications
 
4 data compression
4 data compression4 data compression
4 data compression
 
Chapter 6 - Multimedia Over Ip
Chapter 6 - Multimedia Over IpChapter 6 - Multimedia Over Ip
Chapter 6 - Multimedia Over Ip
 
Chapter 8 - Multimedia Storage and Retrieval
Chapter 8 - Multimedia Storage and RetrievalChapter 8 - Multimedia Storage and Retrieval
Chapter 8 - Multimedia Storage and Retrieval
 
Data compression
Data compressionData compression
Data compression
 
Chapter 9 -Multimedia on The Internet
Chapter 9 -Multimedia on The InternetChapter 9 -Multimedia on The Internet
Chapter 9 -Multimedia on The Internet
 
Chapter 7 - Multimedia Networking Issues
Chapter 7 - Multimedia Networking IssuesChapter 7 - Multimedia Networking Issues
Chapter 7 - Multimedia Networking Issues
 
Data compression introduction
Data compression introductionData compression introduction
Data compression introduction
 
Chapter 10 - Multimedia Over Atm
Chapter 10 - Multimedia Over AtmChapter 10 - Multimedia Over Atm
Chapter 10 - Multimedia Over Atm
 
Chapter 11 - Emerging Multimedia Technologies
Chapter 11 - Emerging Multimedia TechnologiesChapter 11 - Emerging Multimedia Technologies
Chapter 11 - Emerging Multimedia Technologies
 
Chapter 1 - Multimedia Fundamentals
Chapter 1 - Multimedia FundamentalsChapter 1 - Multimedia Fundamentals
Chapter 1 - Multimedia Fundamentals
 
Fundamentals of Data compression
Fundamentals of Data compressionFundamentals of Data compression
Fundamentals of Data compression
 

Similaire à Chapter 5 - Data Compression

Data representation
Data representationData representation
Data representationChingTing
 
An overview Survey on Various Video compressions and its importance
An overview Survey on Various Video compressions and its importanceAn overview Survey on Various Video compressions and its importance
An overview Survey on Various Video compressions and its importanceINFOGAIN PUBLICATION
 
Lecture 6 -_presentation_layer
Lecture 6 -_presentation_layerLecture 6 -_presentation_layer
Lecture 6 -_presentation_layerSerious_SamSoul
 
10.1.1.184.6612
10.1.1.184.661210.1.1.184.6612
10.1.1.184.6612NITC
 
Seminar Report on image compression
Seminar Report on image compressionSeminar Report on image compression
Seminar Report on image compressionPradip Kumar
 
Image compression and it’s security1
Image compression and it’s security1Image compression and it’s security1
Image compression and it’s security1Reyad Hossain
 
DVI,FRACTAL IMAGE,SUB BAND IMAGE,VIDEO CODING AND WAVELET BASED COMPRESSION
DVI,FRACTAL IMAGE,SUB BAND IMAGE,VIDEO CODING AND WAVELET BASED COMPRESSIONDVI,FRACTAL IMAGE,SUB BAND IMAGE,VIDEO CODING AND WAVELET BASED COMPRESSION
DVI,FRACTAL IMAGE,SUB BAND IMAGE,VIDEO CODING AND WAVELET BASED COMPRESSIONkirupasuchi1996
 
MPEG video compression standard
MPEG video compression standardMPEG video compression standard
MPEG video compression standardanuragjagetiya
 
Introduction to Video Compression Techniques - Anurag Jain
Introduction to Video Compression Techniques - Anurag JainIntroduction to Video Compression Techniques - Anurag Jain
Introduction to Video Compression Techniques - Anurag JainVideoguy
 
Compression of digital voice and video
Compression of digital voice and videoCompression of digital voice and video
Compression of digital voice and videosangusajjan
 
A REVIEW ON LATEST TECHNIQUES OF IMAGE COMPRESSION
A REVIEW ON LATEST TECHNIQUES OF IMAGE COMPRESSIONA REVIEW ON LATEST TECHNIQUES OF IMAGE COMPRESSION
A REVIEW ON LATEST TECHNIQUES OF IMAGE COMPRESSIONNancy Ideker
 
Video Compression Basics - MPEG2
Video Compression Basics - MPEG2Video Compression Basics - MPEG2
Video Compression Basics - MPEG2VijayKumarArya
 
Compression presentation 415 (1)
Compression presentation 415 (1)Compression presentation 415 (1)
Compression presentation 415 (1)Godo Dodo
 
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 VideosINFOGAIN PUBLICATION
 
Performance and Analysis of Video Compression Using Block Based Singular Valu...
Performance and Analysis of Video Compression Using Block Based Singular Valu...Performance and Analysis of Video Compression Using Block Based Singular Valu...
Performance and Analysis of Video Compression Using Block Based Singular Valu...IJMER
 
J03502050055
J03502050055J03502050055
J03502050055theijes
 
Video Compression Technology
Video Compression TechnologyVideo Compression Technology
Video Compression TechnologyTong Teerayuth
 
Video compressiontechniques&standards lamamahmoud_report#2
Video compressiontechniques&standards lamamahmoud_report#2Video compressiontechniques&standards lamamahmoud_report#2
Video compressiontechniques&standards lamamahmoud_report#2engLamaMahmoud
 

Similaire à Chapter 5 - Data Compression (20)

Data representation
Data representationData representation
Data representation
 
An overview Survey on Various Video compressions and its importance
An overview Survey on Various Video compressions and its importanceAn overview Survey on Various Video compressions and its importance
An overview Survey on Various Video compressions and its importance
 
Lecture 6 -_presentation_layer
Lecture 6 -_presentation_layerLecture 6 -_presentation_layer
Lecture 6 -_presentation_layer
 
10.1.1.184.6612
10.1.1.184.661210.1.1.184.6612
10.1.1.184.6612
 
Seminar Report on image compression
Seminar Report on image compressionSeminar Report on image compression
Seminar Report on image compression
 
Image compression and it’s security1
Image compression and it’s security1Image compression and it’s security1
Image compression and it’s security1
 
DIP.pptx
DIP.pptxDIP.pptx
DIP.pptx
 
DVI,FRACTAL IMAGE,SUB BAND IMAGE,VIDEO CODING AND WAVELET BASED COMPRESSION
DVI,FRACTAL IMAGE,SUB BAND IMAGE,VIDEO CODING AND WAVELET BASED COMPRESSIONDVI,FRACTAL IMAGE,SUB BAND IMAGE,VIDEO CODING AND WAVELET BASED COMPRESSION
DVI,FRACTAL IMAGE,SUB BAND IMAGE,VIDEO CODING AND WAVELET BASED COMPRESSION
 
MPEG video compression standard
MPEG video compression standardMPEG video compression standard
MPEG video compression standard
 
Introduction to Video Compression Techniques - Anurag Jain
Introduction to Video Compression Techniques - Anurag JainIntroduction to Video Compression Techniques - Anurag Jain
Introduction to Video Compression Techniques - Anurag Jain
 
Compression of digital voice and video
Compression of digital voice and videoCompression of digital voice and video
Compression of digital voice and video
 
A REVIEW ON LATEST TECHNIQUES OF IMAGE COMPRESSION
A REVIEW ON LATEST TECHNIQUES OF IMAGE COMPRESSIONA REVIEW ON LATEST TECHNIQUES OF IMAGE COMPRESSION
A REVIEW ON LATEST TECHNIQUES OF IMAGE COMPRESSION
 
Video Compression Basics - MPEG2
Video Compression Basics - MPEG2Video Compression Basics - MPEG2
Video Compression Basics - MPEG2
 
M.sc.iii sem digital image processing unit v
M.sc.iii sem digital image processing unit vM.sc.iii sem digital image processing unit v
M.sc.iii sem digital image processing unit v
 
Compression presentation 415 (1)
Compression presentation 415 (1)Compression presentation 415 (1)
Compression presentation 415 (1)
 
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
 
Performance and Analysis of Video Compression Using Block Based Singular Valu...
Performance and Analysis of Video Compression Using Block Based Singular Valu...Performance and Analysis of Video Compression Using Block Based Singular Valu...
Performance and Analysis of Video Compression Using Block Based Singular Valu...
 
J03502050055
J03502050055J03502050055
J03502050055
 
Video Compression Technology
Video Compression TechnologyVideo Compression Technology
Video Compression Technology
 
Video compressiontechniques&standards lamamahmoud_report#2
Video compressiontechniques&standards lamamahmoud_report#2Video compressiontechniques&standards lamamahmoud_report#2
Video compressiontechniques&standards lamamahmoud_report#2
 

Dernier

Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxShobhayan Kirtania
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...Pooja Nehwal
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 

Dernier (20)

Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptx
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 

Chapter 5 - Data Compression

  • 1. Chapter 5 Data Compression -PRATIK MAN SINGH PRADHAN (WWW.PMSPRATIK.COM.NP)- MMS2401 – MULTIMEDIA SYSTEMS & COMMUNICATIONS (3 CREDITS)
  • 2. Compression  File compression is the practice of packaging a file or files to use less disk space.  The File Compression category includes software programs that will archive your files and extract archived files such as ZIP and RAR files.  Many products in this category let you manage files and protect them with encryption.
  • 3. Data Compression  In signal processing, data compression, source coding, or bit-rate reduction involves encoding information using fewer bits than the original representation.  Compression can be either lossy or lossless. Lossless compression reduces bits by identifying and eliminating statistical redundancy.
  • 4. Need for Data Compression  Bit rates required for uncompressed PAL Video  720X576 = 414720 Pixels in each frame  Frame Rate = 60 (for regular displays)  Bit Rate = More than 160 Mbps  Bit rates required for uncompressed High Definition Video  1920 X 1080 = 2073600 Pixels in each frame  Frame Rate = 60 (for regular displays)  Bit Rate = More than 2 Gbps  Bit rates required for uncompressed audio data stream  Telephone Quality = 60 Kbps  CD Quality = 1.4 Mbps
  • 5. Fundamentals of Multimedia Data Compression Coding Technique  Audio, image and video require vast amounts of data  320x240x8bits grayscale image: 77Kb  1100x900x24bits color image: 3MB  640x480x24x30frames/sec: 27.6 MB/sec  Low network’s bandwidth doesn't allow for real time video transmission  Slow storage devices don't allow for fast playing back ‰Compression reduces storage requirements
  • 6. Modes of Compression  Lossless Compression  Only redundancies or repetition are removed  Data is not altered or lost in the process  E.g. Computer file compression  Lossy Compression  Redundancies as well as some unessential information in the data are removed  E.g. Image and video compression
  • 7. Lossy DCT-Based Compression  A discrete cosine transform (DCT) expresses a finite sequence of data points in terms of a sum of cosine functions oscillating at different frequencies.  DCTs are important to numerous applications in science and engineering, from lossy compression of audio (e.g. MP3) and images (e.g. JPEG) (where small high-frequency components can be discarded), to spectral methods for the numerical solution of partial differential equations.  The use of cosine rather than sine functions is critical for compression, since it turns out (as described below) that fewer cosine functions are needed to approximate a typical signal, whereas for differential equations the cosines express a particular choice of boundary conditions.
  • 8. Two Types of Compression  Entropy Encoding  Does not take into account the nature of information to be compressed  Treats all data as sequence of data  Is lossless  Source Encoding  Makes use of transformations dependent on the type of original data E.g. Suppression of silence for audio, and exploring motion redundancies for video.  Is either lossy or lossless
  • 9. Compression Efficiency  Compression ratio – (size of the original data) / (size of compressed data)  Positive compression if radio > 1; negative compression otherwise  Figure of Merit = (size of compression data) / (size of original data)  Reciprocal of compression ratio
  • 10. Compression Coding Standards  JPEG  ITU-T  H.261  H.264  MPEG  Motion Compensation  Huffman Code  Hybrid Encoding
  • 11. JPEG  "Joint Photographic Expert Group" -- an international standard in 1992.  JPEG is a lossy compression technique for color images.  Although it can reduce files sizes to about 5% of their normal size, some detail is lost in the compression.
  • 13. ITU-T  The ITU Telecommunication Standardization Sector (ITU-T) is one of the three sectors (divisions or units) of the International Telecommunication Union (ITU); it coordinates standards for telecommunications.  The Video Coding Experts Group or Visual Coding Experts Group (VCEG) is the informal name of Question 6 (Visual coding) of Working Party 3 (Media coding) of Study Group 16 (Multimedia coding, systems and applications) of the ITU-T. Its abbreviated title is ITU-T Q.6/SG 16. It is responsible for standardization of the "H.26x" line of video coding standards, the "T.8xx" line of image coding standards, and related technologies.
  • 14. H.261 (px64)  The basic approach to H.261 Compression is summarized as follows:  H.261 Compression has been specifically designed for video telecommunication applications:  Developed by CCITT in 1988-1990  Meant for videoconferencing, videotelephone applications over ISDN telephone lines.  Baseline ISDN is 64 kbits/sec, and integral multiples (px64)
  • 15. H.261 (px64) Compression Steps  We typically have a group of pictures — one I-frame followed by several P- frames — a group of pictures  Number of P-frames followed by each I-frame determines the size of GOP – can be fixed or dynamic. Why this can’t be too large?
  • 16. H.264  H.264 or MPEG-4 Part 10, Advanced Video Coding (MPEG-4 AVC) is a video coding format that is currently one of the most commonly used formats for the recording, compression, and distribution of video content.
  • 18. MPEG  The Moving Picture Experts Group (MPEG) is a working group of authorities that was formed by ISO and IEC to set standards for audio and video compression and transmission.
  • 19. MPEG Compression Steps  MPEG compression is essentially an attempt to overcome some shortcomings of H.261 and JPEG: Recall H.261 dependencies:
  • 20. Motion Compensation  Uses the motion vectors to compensate the picture.  Parts of a previous (or future) picture can be reused in a subsequent picture.  Individual parts spatially compressed — JPEG type compression
  • 22. Huffman Code  In computer science and information theory, a Huffman code is a particular type of optimal prefix code that is commonly used for lossless data compression.
  • 25. Huffman Code Compression Ratio The Huffman encoding saves 20 bits. The compression ratio is 1.21 to 1.
  • 26. Huffman Code Relative Redundancy
  • 27. Hybrid Encoding  A hybrid encoding method is used to assemble the double-random phase-encoding technique and the binary encoding method.  Because the double-random phase-encoding technique is robust for noises and the binary encoding method is free of using external keys, the proposed hybrid encoding method has their advantages.  The hybrid encoding method first encodes a covert image to form a complex-number matrix by using the double-random phase-encoding technique, where two random real-number matrices are used to increase the security of the encoding work.  Then the elements of the two random real-number matrices and the elements of the complex- number matrix are encoded to form a binary-bit string by using the binary encoding method.  Finally, the binary data in the binary-bit string are encoded into a host image to form an overt image with hidden information by using a gray-value modulation method. The decoding work is easy for authorized people, but it is very difficult for unauthorized people. Therefore, the proposed hybrid encoding method is a very useful encoding method.