2
Most read
3
Most read
4
Most read
data compression technique
 Data compression implies sending or storing a smaller number
of bits. Although many methods are used for this purpose, in
general these methods can be divided into two broad
categories: lossless and lossy methods.
 In lossless data compression, the integrity of the data is
preserved.
 The original data and the data after compression and
decompression are exactly the same because, in these
methods, the compression and decompression algorithms are
exact inverses of each other: no part of the data is lost in the
process.
 Redundant data is removed in compression and added during
decompression.
 Run-length encoding is probably the simplest method of
compression.
 It can be used to compress data made of any combination of
symbols.
 It does not need to know the frequency of occurrence of
symbols and can be very efficient if data is represented as 0s
and 1s.
 Huffman coding assigns shorter codes to symbols that occur more
frequently and longer codes to those that occur less frequently.
 For example, imagine we have a text file that uses only five
characters (A, B, C, D, E). Before we can assign bit patterns to each
character, we assign each character a weight based on its frequency
of use.
 A character’s code is found by starting at the root and
following the branches that lead to that character. The code
itself is the bit value of each branch on the path, taken in
sequence.
 Lempel Ziv (LZ) encoding is an example of a category of
algorithms called dictionary-based encoding.
 The idea is to create a dictionary (a table) of strings used
during the communication session.
 If both the sender and the receiver have a copy of the
dictionary, then previously-encountered strings can be
substituted by their index in the dictionary to reduce the
amount of information transmitted.
data compression technique
 Our eyes and ears cannot distinguish subtle changes. In such
cases, we can use a lossy data compression method.
 These methods are cheaper—they take less time and space
when it comes to sending millions of bits per second for
images and video.
 Several methods have been developed using lossy
compression techniques. JPEG (Joint Photographic Experts
Group) encoding is used to compress pictures and graphics,
MPEG (Moving Picture Experts Group) encoding is used to
compress video, and MP3 (MPEG audio layer 3) for audio
compression.
 An image can be represented by a two-dimensional array
(table) of picture elements (pixels).
 A grayscale picture of 307,200 pixels is represented by
2,457,600 bits, and a color picture is represented by 7,372,800
bits.
 In JPEG, a grayscale picture is divided into blocks of 8 × 8
pixel blocks to decrease the number of calculations because, as
we will see shortly, the number of mathematical operations for
each picture is the square of the number of units.
 The Moving Picture Experts Group (MPEG) method is used to
compress video. In principle, a motion picture is a rapid
sequence of a set of frames in which each frame is a picture.
 In other words, a frame is a spatial combination of pixels, and
a video is a temporal combination of frames that are sent one
after another.
 Compressing video, then, means spatially compressing each
frame and temporally compressing a set of frames.
MPEG frames
 Audio compression can be used for speech or music. For
speech we need to compress a 64 kHz digitized signal, while
for music we need to compress a 1.411 MHz signal.
 Two categories of techniques are used for audio compression:
predictive encoding and perceptual encoding.
 In predictive encoding,
thedifferences between
samples are encoded instead
of encoding all the sampled
values.
 This type of compression is
normally used for speech.
Several standards have been
defined such as GSM (13
kbps), G.729 (8 kbps), and
G.723.3 (6.4 or 5.3 kbps).
Detailed discussions of these
techniques are beyond the
scope of this book.
 The most common
compression technique used
to create CD-quality audio
is based on the perceptual
encoding technique.
 This type of audio needs at
least 1.411 Mbps, which
cannot be sent over the
Internet without
compression. MP3 (MPEG
audio layer 3) uses this
technique.

More Related Content

PPT
Data compression
PPTX
High energy and capacity cathode material for li ion battries
PPTX
Manufacturing of Li-ion battery
PPTX
Edge Computing.pptx
PPTX
Review of Literature
PPTX
Types of system software
PPTX
E-Commerce website IT project PPT
PPT
Computer Fundamentals
Data compression
High energy and capacity cathode material for li ion battries
Manufacturing of Li-ion battery
Edge Computing.pptx
Review of Literature
Types of system software
E-Commerce website IT project PPT
Computer Fundamentals

What's hot (20)

PPT
Data compression
PPTX
Bit plane coding
PPTX
Video compression
ODP
image compression ppt
PDF
Dictionary Based Compression
PPTX
Point to-point protocol (ppp)
PPTX
Image Compression
PDF
Lecture 4 Relationship between pixels
PPT
program flow mechanisms, advanced computer architecture
PPT
Compression
PPT
Compression techniques
PPT
The motion estimation
PDF
Chapter 5 - Data Compression
PPT
MPEG 4
PPSX
Color Image Processing: Basics
PPTX
Framing in data link layer
PPTX
Data compression
PPSX
Edge Detection and Segmentation
PPTX
Text compression
Data compression
Bit plane coding
Video compression
image compression ppt
Dictionary Based Compression
Point to-point protocol (ppp)
Image Compression
Lecture 4 Relationship between pixels
program flow mechanisms, advanced computer architecture
Compression
Compression techniques
The motion estimation
Chapter 5 - Data Compression
MPEG 4
Color Image Processing: Basics
Framing in data link layer
Data compression
Edge Detection and Segmentation
Text compression
Ad

Similar to data compression technique (20)

PPTX
Data compression
PPT
Data Compression
PPTX
Unit 3 Image Compression and Segmentation.pptx
PPTX
data compression IN COMPUTER NRETWORKS RR
PDF
Compression of digital voice and video
PPTX
Data compression
PPTX
PDF
Ijrdtvlis11 140006
PPT
Lecture 6 -_presentation_layer
PPTX
Fundamentals of Data compression
PDF
A research paper_on_lossless_data_compre
PPT
111111111111111111111111111111111789.ppt
PPT
111111111111111111111111111111111789.ppt
DOCX
video comparison
PPTX
Steganalysis ppt
PPTX
Data representation
PPTX
Data representation
PDF
Data Communication & Computer network: Data compression
PPT
lecture on data compression
PDF
10lecture10datacompression-171023182241.pdf
Data compression
Data Compression
Unit 3 Image Compression and Segmentation.pptx
data compression IN COMPUTER NRETWORKS RR
Compression of digital voice and video
Data compression
Ijrdtvlis11 140006
Lecture 6 -_presentation_layer
Fundamentals of Data compression
A research paper_on_lossless_data_compre
111111111111111111111111111111111789.ppt
111111111111111111111111111111111789.ppt
video comparison
Steganalysis ppt
Data representation
Data representation
Data Communication & Computer network: Data compression
lecture on data compression
10lecture10datacompression-171023182241.pdf
Ad

Recently uploaded (20)

PDF
Loose-Leaf for Auditing & Assurance Services A Systematic Approach 11th ed. E...
PPTX
Machine Learning and working of machine Learning
PPTX
Business_Capability_Map_Collection__pptx
PPT
PROJECT CYCLE MANAGEMENT FRAMEWORK (PCM).ppt
PDF
Jean-Georges Perrin - Spark in Action, Second Edition (2020, Manning Publicat...
PDF
CS3352FOUNDATION OF DATA SCIENCE _1_MAterial.pdf
PPTX
1 hour to get there before the game is done so you don’t need a car seat for ...
PPT
expt-design-lecture-12 hghhgfggjhjd (1).ppt
PPTX
eGramSWARAJ-PPT Training Module for beginners
PPTX
Statisticsccdxghbbnhhbvvvvvvvvvv. Dxcvvvhhbdzvbsdvvbbvv ccc
PPTX
chuitkarjhanbijunsdivndsijvndiucbhsaxnmzsicvjsd
PPT
statistic analysis for study - data collection
PPT
Image processing and pattern recognition 2.ppt
PPTX
IMPACT OF LANDSLIDE.....................
PPTX
Lesson-01intheselfoflifeofthekennyrogersoftheunderstandoftheunderstanded
PDF
©️ 02_SKU Automatic SW Robotics for Microsoft PC.pdf
PDF
Session 11 - Data Visualization Storytelling (2).pdf
PDF
Best Data Science Professional Certificates in the USA | IABAC
PPTX
AI AND ML PROPOSAL PRESENTATION MUST.pptx
PPTX
CHAPTER-2-THE-ACCOUNTING-PROCESS-2-4.pptx
Loose-Leaf for Auditing & Assurance Services A Systematic Approach 11th ed. E...
Machine Learning and working of machine Learning
Business_Capability_Map_Collection__pptx
PROJECT CYCLE MANAGEMENT FRAMEWORK (PCM).ppt
Jean-Georges Perrin - Spark in Action, Second Edition (2020, Manning Publicat...
CS3352FOUNDATION OF DATA SCIENCE _1_MAterial.pdf
1 hour to get there before the game is done so you don’t need a car seat for ...
expt-design-lecture-12 hghhgfggjhjd (1).ppt
eGramSWARAJ-PPT Training Module for beginners
Statisticsccdxghbbnhhbvvvvvvvvvv. Dxcvvvhhbdzvbsdvvbbvv ccc
chuitkarjhanbijunsdivndsijvndiucbhsaxnmzsicvjsd
statistic analysis for study - data collection
Image processing and pattern recognition 2.ppt
IMPACT OF LANDSLIDE.....................
Lesson-01intheselfoflifeofthekennyrogersoftheunderstandoftheunderstanded
©️ 02_SKU Automatic SW Robotics for Microsoft PC.pdf
Session 11 - Data Visualization Storytelling (2).pdf
Best Data Science Professional Certificates in the USA | IABAC
AI AND ML PROPOSAL PRESENTATION MUST.pptx
CHAPTER-2-THE-ACCOUNTING-PROCESS-2-4.pptx

data compression technique

  • 2.  Data compression implies sending or storing a smaller number of bits. Although many methods are used for this purpose, in general these methods can be divided into two broad categories: lossless and lossy methods.
  • 3.  In lossless data compression, the integrity of the data is preserved.  The original data and the data after compression and decompression are exactly the same because, in these methods, the compression and decompression algorithms are exact inverses of each other: no part of the data is lost in the process.  Redundant data is removed in compression and added during decompression.
  • 4.  Run-length encoding is probably the simplest method of compression.  It can be used to compress data made of any combination of symbols.  It does not need to know the frequency of occurrence of symbols and can be very efficient if data is represented as 0s and 1s.
  • 5.  Huffman coding assigns shorter codes to symbols that occur more frequently and longer codes to those that occur less frequently.  For example, imagine we have a text file that uses only five characters (A, B, C, D, E). Before we can assign bit patterns to each character, we assign each character a weight based on its frequency of use.
  • 6.  A character’s code is found by starting at the root and following the branches that lead to that character. The code itself is the bit value of each branch on the path, taken in sequence.
  • 7.  Lempel Ziv (LZ) encoding is an example of a category of algorithms called dictionary-based encoding.  The idea is to create a dictionary (a table) of strings used during the communication session.  If both the sender and the receiver have a copy of the dictionary, then previously-encountered strings can be substituted by their index in the dictionary to reduce the amount of information transmitted.
  • 9.  Our eyes and ears cannot distinguish subtle changes. In such cases, we can use a lossy data compression method.  These methods are cheaper—they take less time and space when it comes to sending millions of bits per second for images and video.  Several methods have been developed using lossy compression techniques. JPEG (Joint Photographic Experts Group) encoding is used to compress pictures and graphics, MPEG (Moving Picture Experts Group) encoding is used to compress video, and MP3 (MPEG audio layer 3) for audio compression.
  • 10.  An image can be represented by a two-dimensional array (table) of picture elements (pixels).  A grayscale picture of 307,200 pixels is represented by 2,457,600 bits, and a color picture is represented by 7,372,800 bits.  In JPEG, a grayscale picture is divided into blocks of 8 × 8 pixel blocks to decrease the number of calculations because, as we will see shortly, the number of mathematical operations for each picture is the square of the number of units.
  • 11.  The Moving Picture Experts Group (MPEG) method is used to compress video. In principle, a motion picture is a rapid sequence of a set of frames in which each frame is a picture.  In other words, a frame is a spatial combination of pixels, and a video is a temporal combination of frames that are sent one after another.  Compressing video, then, means spatially compressing each frame and temporally compressing a set of frames.
  • 13.  Audio compression can be used for speech or music. For speech we need to compress a 64 kHz digitized signal, while for music we need to compress a 1.411 MHz signal.  Two categories of techniques are used for audio compression: predictive encoding and perceptual encoding.
  • 14.  In predictive encoding, thedifferences between samples are encoded instead of encoding all the sampled values.  This type of compression is normally used for speech. Several standards have been defined such as GSM (13 kbps), G.729 (8 kbps), and G.723.3 (6.4 or 5.3 kbps). Detailed discussions of these techniques are beyond the scope of this book.  The most common compression technique used to create CD-quality audio is based on the perceptual encoding technique.  This type of audio needs at least 1.411 Mbps, which cannot be sent over the Internet without compression. MP3 (MPEG audio layer 3) uses this technique.