SlideShare uma empresa Scribd logo
1 de 27
Baixar para ler offline
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.

Mais conteúdo relacionado

Mais procurados

Video Compression Basics
Video Compression BasicsVideo Compression Basics
Video Compression BasicsSanjiv Malik
 
Audio compression 1
Audio compression 1Audio compression 1
Audio compression 1Rajat Kumar
 
Multimedia image compression standards
Multimedia image compression standardsMultimedia image compression standards
Multimedia image compression standardsMazin Alwaaly
 
Video compression
Video compressionVideo compression
Video compressionDarkNight14
 
Introduction to Image Compression
Introduction to Image CompressionIntroduction to Image Compression
Introduction to Image CompressionKalyan Acharjya
 
Multimedia system, Architecture & Databases
Multimedia system, Architecture & DatabasesMultimedia system, Architecture & Databases
Multimedia system, Architecture & DatabasesHarshita Ved
 
The MIDI Protocol - Musical Instrument Digital Interface
The MIDI Protocol - Musical Instrument Digital InterfaceThe MIDI Protocol - Musical Instrument Digital Interface
The MIDI Protocol - Musical Instrument Digital InterfaceBhaumik Bhatt
 
Hypermedia messageing (UNIT 5)
Hypermedia messageing (UNIT 5)Hypermedia messageing (UNIT 5)
Hypermedia messageing (UNIT 5)nirmalbj
 
Audio and video streaming
Audio and video streamingAudio and video streaming
Audio and video streamingRohan Bhatkar
 
Comparison between Lossy and Lossless Compression
Comparison between Lossy and Lossless CompressionComparison between Lossy and Lossless Compression
Comparison between Lossy and Lossless Compressionrafikrokon
 
video compression techique
video compression techiquevideo compression techique
video compression techiqueAshish Kumar
 

Mais procurados (20)

Video Compression Basics
Video Compression BasicsVideo Compression Basics
Video Compression Basics
 
Audio compression
Audio compressionAudio compression
Audio compression
 
lecture on data compression
lecture on data compressionlecture on data compression
lecture on data compression
 
Data compression
Data compressionData compression
Data compression
 
Audio compression 1
Audio compression 1Audio compression 1
Audio compression 1
 
Data compression
Data compressionData compression
Data compression
 
Multimedia image compression standards
Multimedia image compression standardsMultimedia image compression standards
Multimedia image compression standards
 
Image compression .
Image compression .Image compression .
Image compression .
 
Video compression
Video compressionVideo compression
Video compression
 
Introduction to Image Compression
Introduction to Image CompressionIntroduction to Image Compression
Introduction to Image Compression
 
Audio compression
Audio compressionAudio compression
Audio compression
 
Multimedia system, Architecture & Databases
Multimedia system, Architecture & DatabasesMultimedia system, Architecture & Databases
Multimedia system, Architecture & Databases
 
The MIDI Protocol - Musical Instrument Digital Interface
The MIDI Protocol - Musical Instrument Digital InterfaceThe MIDI Protocol - Musical Instrument Digital Interface
The MIDI Protocol - Musical Instrument Digital Interface
 
Hypermedia messageing (UNIT 5)
Hypermedia messageing (UNIT 5)Hypermedia messageing (UNIT 5)
Hypermedia messageing (UNIT 5)
 
JPEG Image Compression
JPEG Image CompressionJPEG Image Compression
JPEG Image Compression
 
Audio and video streaming
Audio and video streamingAudio and video streaming
Audio and video streaming
 
Comparison between Lossy and Lossless Compression
Comparison between Lossy and Lossless CompressionComparison between Lossy and Lossless Compression
Comparison between Lossy and Lossless Compression
 
Video Compression
Video CompressionVideo Compression
Video Compression
 
Data compression
Data compression Data compression
Data compression
 
video compression techique
video compression techiquevideo compression techique
video compression techique
 

Destaque

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 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
 
3 mathematical priliminaries DATA compression
3 mathematical priliminaries DATA compression3 mathematical priliminaries DATA compression
3 mathematical priliminaries DATA compressionShubham Jain
 
Data Compression for Multi-dimentional Data Warehouses
Data Compression for Multi-dimentional Data WarehousesData Compression for Multi-dimentional Data Warehouses
Data Compression for Multi-dimentional Data WarehousesMushfiqur Rahman
 

Destaque (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
 
Chapter 4 - Introduction of International Standards
Chapter 4 - Introduction of International StandardsChapter 4 - Introduction of International Standards
Chapter 4 - Introduction of International Standards
 
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 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
 
Compression techniques
Compression techniquesCompression techniques
Compression techniques
 
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
 
Data compression
Data compressionData compression
Data compression
 
3 mathematical priliminaries DATA compression
3 mathematical priliminaries DATA compression3 mathematical priliminaries DATA compression
3 mathematical priliminaries DATA compression
 
Data Compression for Multi-dimentional Data Warehouses
Data Compression for Multi-dimentional Data WarehousesData Compression for Multi-dimentional Data Warehouses
Data Compression for Multi-dimentional Data Warehouses
 

Semelhante a 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
 

Semelhante a 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
 

Último

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
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
 
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
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseAnaAcapella
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
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
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
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
 

Último (20)

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
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
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
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
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
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
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
 

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.