SlideShare a Scribd company logo
1 of 27
Download to read 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.

More Related Content

What's hot

Chapter 2 : TEXT
Chapter 2 : TEXTChapter 2 : TEXT
Chapter 2 : TEXT
azira96
 

What's hot (20)

Video compression
Video compressionVideo compression
Video compression
 
Audio compression
Audio compressionAudio compression
Audio compression
 
Audio and Video Compression
Audio and Video CompressionAudio and Video Compression
Audio and Video Compression
 
Multimedia systems
Multimedia systemsMultimedia systems
Multimedia systems
 
Digital Audio in Multimedia
Digital Audio in MultimediaDigital Audio in Multimedia
Digital Audio in Multimedia
 
Chapter 3 - Multimedia System Design
Chapter 3 - Multimedia System DesignChapter 3 - Multimedia System Design
Chapter 3 - Multimedia System Design
 
Multimedia:Multimedia compression
Multimedia:Multimedia compression Multimedia:Multimedia compression
Multimedia:Multimedia compression
 
data compression technique
data compression techniquedata compression technique
data compression technique
 
Chapter 5 : ANIMATION
Chapter 5 : ANIMATIONChapter 5 : ANIMATION
Chapter 5 : ANIMATION
 
Audio compression
Audio compressionAudio compression
Audio compression
 
lecture on data compression
lecture on data compressionlecture on data compression
lecture on data compression
 
Chapter 1 - Multimedia Fundamentals
Chapter 1 - Multimedia FundamentalsChapter 1 - Multimedia Fundamentals
Chapter 1 - Multimedia Fundamentals
 
Multimedia color in image and video
Multimedia color in image and videoMultimedia color in image and video
Multimedia color in image and video
 
Multimedia by Tay Vaughan
Multimedia by Tay Vaughan Multimedia by Tay Vaughan
Multimedia by Tay Vaughan
 
Audio compression
Audio compressionAudio compression
Audio compression
 
Multimedia chapter 4
Multimedia chapter 4Multimedia chapter 4
Multimedia chapter 4
 
image compression ppt
image compression pptimage compression ppt
image compression ppt
 
Chapter 2 : TEXT
Chapter 2 : TEXTChapter 2 : TEXT
Chapter 2 : TEXT
 
Multimedia networking
Multimedia networkingMultimedia networking
Multimedia networking
 
Digital Audio
Digital AudioDigital Audio
Digital Audio
 

Viewers also liked

Data compression
Data compressionData compression
Data compression
Nizar Sbaih
 
Data compression introduction
Data compression introductionData compression introduction
Data compression introduction
Rahul Khanwani
 

Viewers also liked (20)

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
 
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
 
Compression techniques
Compression techniquesCompression techniques
Compression techniques
 
Data compression
Data compression Data compression
Data compression
 
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
 
Fundamentals of Data compression
Fundamentals of Data compressionFundamentals of Data compression
Fundamentals of Data compression
 
Data compression
Data compressionData compression
Data compression
 

Similar to Chapter 5 - Data Compression

Data representation
Data representationData representation
Data representation
ChingTing
 
10.1.1.184.6612
10.1.1.184.661210.1.1.184.6612
10.1.1.184.6612
NITC
 
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
Videoguy
 
Compression of digital voice and video
Compression of digital voice and videoCompression of digital voice and video
Compression of digital voice and video
sangusajjan
 
Compression presentation 415 (1)
Compression presentation 415 (1)Compression presentation 415 (1)
Compression presentation 415 (1)
Godo Dodo
 
Video Compression Technology
Video Compression TechnologyVideo Compression Technology
Video Compression Technology
Tong Teerayuth
 

Similar to 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
 

Recently uploaded

1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
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
 
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
heathfieldcps1
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 

Recently uploaded (20)

Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
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
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
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
 
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Ữ Â...
 
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
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
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...
 
Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptx
 
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
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 

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.