SlideShare a Scribd company logo
1 of 9
Data Compression
Table of contents
• What is data compression?
• The need of data compression.
• What factors lead to data compression?
• Methods of data compression.
What is data compression?
• Data compression is the process of encoding
data more efficiently to achieve a reduction
in file size.
• Data compression is a reduction in the
number of bits needed to represent data.
• Data compression is also called compaction.
• Data may be Text, Image, Audio and Video
The need of data compression
• Storage Space
– Less storage space as size of file get reduced.
• Transmission time
– Less time taken as smaller size file transferred
from source to destination.
• Transmission speed.
– Uploading and downloading of file take less
time due to smaller size.
What factors lead to data
compression?
Redundancy refers to the amount of wasted space consumed by
storage media to record picture information in a digital image.
Image compression is achieved by exploiting redundancies in
the image. These redundancies could be spatial, spectral, or
temporal redundancy.
Spatial redundancy: elements that are duplicated within a
structure, such as neighboring pixels in a still image.
Exploiting spatial redundancy is how compression is
performed.
Spectral redundancy is due to correlation between different color
planes.
What factors lead to data
compression?(Cont..)
• Temporal redundancy: pixels in two video
frames that have the same values in the
same location.
• Exploiting temporal redundancy is one of
the primary techniques in video
compression.
Methods of data compression.
• There are two kinds of compression: Lossless and
Lossy.
• Lossless:
– No Loss of Information
• When we encode/decode, we get back original data.
– Most widely used in text compression.
– Compression ratio is very less.(3:1)
• Compression ratio=uncompressed size(in bytes)/
compressed size(in bytes)
– E.g. Run-length coding, Huffman coding, Arithmetic
coding, Lempel-Zev-Welch(LZW)
Methods of data compression.
• Lossy
– Always loss of information.
• When we encode/decode, we get back an
approximation of the original data.
– Most widely used in Image, Audio and Video
compression.
– Compression ratio is very high.(10:1)
– E.g. JPEG(Joint photographic expert group):
compressed image
– MP3: compressed audio
– MPEG(Motion picture expert group): compressed
video
Data compression

More Related Content

What's hot

Data compression
Data compressionData compression
Data compression
Nizar Sbaih
 
video compression techique
video compression techiquevideo compression techique
video compression techique
Ashish Kumar
 
A raster graphics image
A raster graphics imageA raster graphics image
A raster graphics image
connermurray
 

What's hot (20)

Uncompressed lossless lossy audio
Uncompressed lossless lossy audioUncompressed lossless lossy audio
Uncompressed lossless lossy audio
 
Data compression
Data  compressionData  compression
Data compression
 
Compression techniques
Compression techniquesCompression techniques
Compression techniques
 
Image compression
Image compressionImage compression
Image compression
 
Introduction Data Compression/ Data compression, modelling and coding,Image C...
Introduction Data Compression/ Data compression, modelling and coding,Image C...Introduction Data Compression/ Data compression, modelling and coding,Image C...
Introduction Data Compression/ Data compression, modelling and coding,Image C...
 
Data compression
Data compressionData compression
Data compression
 
Data compression
Data compression Data compression
Data compression
 
comparision of lossy and lossless image compression using various algorithm
comparision of lossy and lossless image compression using various algorithmcomparision of lossy and lossless image compression using various algorithm
comparision of lossy and lossless image compression using various algorithm
 
Data compression techniques
Data compression techniquesData compression techniques
Data compression techniques
 
Compression
CompressionCompression
Compression
 
Data compression
Data compressionData compression
Data compression
 
A new algorithm for data compression technique using vlsi
A new algorithm for data compression technique using vlsiA new algorithm for data compression technique using vlsi
A new algorithm for data compression technique using vlsi
 
Data compression
Data compressionData compression
Data compression
 
video compression techique
video compression techiquevideo compression techique
video compression techique
 
Image compression
Image compression Image compression
Image compression
 
Why Image compression is Necessary?
Why Image compression is Necessary?Why Image compression is Necessary?
Why Image compression is Necessary?
 
A raster graphics image
A raster graphics imageA raster graphics image
A raster graphics image
 
Lossless Compression
Lossless CompressionLossless Compression
Lossless Compression
 
Video Compression
Video CompressionVideo Compression
Video Compression
 
image basics and image compression
image basics and image compressionimage basics and image compression
image basics and image compression
 

Similar to Data compression

10lecture10datacompression-171023182241.pdf
10lecture10datacompression-171023182241.pdf10lecture10datacompression-171023182241.pdf
10lecture10datacompression-171023182241.pdf
PUSHKAR ARYA
 
Image Processing in Android Environment AJCSE
Image Processing in Android Environment AJCSEImage Processing in Android Environment AJCSE
Image Processing in Android Environment AJCSE
BRNSSPublicationHubI
 

Similar to Data compression (20)

10lecture10datacompression-171023182241.pdf
10lecture10datacompression-171023182241.pdf10lecture10datacompression-171023182241.pdf
10lecture10datacompression-171023182241.pdf
 
Pbl1
Pbl1Pbl1
Pbl1
 
Affable Compression through Lossless Column-Oriented Huffman Coding Technique
Affable Compression through Lossless Column-Oriented Huffman Coding TechniqueAffable Compression through Lossless Column-Oriented Huffman Coding Technique
Affable Compression through Lossless Column-Oriented Huffman Coding Technique
 
Image compression
Image compressionImage compression
Image compression
 
data compression.
data compression.data compression.
data compression.
 
Multimedia revision 2017
Multimedia revision 2017Multimedia revision 2017
Multimedia revision 2017
 
A presentation on video compression
A presentation on video compressionA presentation on video compression
A presentation on video compression
 
Video compression
Video compressionVideo compression
Video compression
 
Chapter 5
Chapter 5Chapter 5
Chapter 5
 
image compression Tech. 31.pptx
image compression Tech. 31.pptximage compression Tech. 31.pptx
image compression Tech. 31.pptx
 
Enhanced Image Compression Using Wavelets
Enhanced Image Compression Using WaveletsEnhanced Image Compression Using Wavelets
Enhanced Image Compression Using Wavelets
 
[IJCT-V3I2P27] Authors: Palwinder Singh
[IJCT-V3I2P27] Authors: Palwinder Singh[IJCT-V3I2P27] Authors: Palwinder Singh
[IJCT-V3I2P27] Authors: Palwinder Singh
 
Multimedia:Multimedia compression
Multimedia:Multimedia compression Multimedia:Multimedia compression
Multimedia:Multimedia compression
 
File Indexing.pptx
File Indexing.pptxFile Indexing.pptx
File Indexing.pptx
 
Seminar Report on image compression
Seminar Report on image compressionSeminar Report on image compression
Seminar Report on image compression
 
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
 
Presentation on Image Compression
Presentation on Image Compression Presentation on Image Compression
Presentation on Image Compression
 
Teknik Pengkodean (2).pptx
Teknik Pengkodean (2).pptxTeknik Pengkodean (2).pptx
Teknik Pengkodean (2).pptx
 
Lecture 6 -_presentation_layer
Lecture 6 -_presentation_layerLecture 6 -_presentation_layer
Lecture 6 -_presentation_layer
 
Image Processing in Android Environment AJCSE
Image Processing in Android Environment AJCSEImage Processing in Android Environment AJCSE
Image Processing in Android Environment AJCSE
 

Recently uploaded

SURVEY I created for uni project research
SURVEY I created for uni project researchSURVEY I created for uni project research
SURVEY I created for uni project research
CaitlinCummins3
 
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
EADTU
 

Recently uploaded (20)

How to Send Pro Forma Invoice to Your Customers in Odoo 17
How to Send Pro Forma Invoice to Your Customers in Odoo 17How to Send Pro Forma Invoice to Your Customers in Odoo 17
How to Send Pro Forma Invoice to Your Customers in Odoo 17
 
Observing-Correct-Grammar-in-Making-Definitions.pptx
Observing-Correct-Grammar-in-Making-Definitions.pptxObserving-Correct-Grammar-in-Making-Definitions.pptx
Observing-Correct-Grammar-in-Making-Definitions.pptx
 
Improved Approval Flow in Odoo 17 Studio App
Improved Approval Flow in Odoo 17 Studio AppImproved Approval Flow in Odoo 17 Studio App
Improved Approval Flow in Odoo 17 Studio App
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
How to Manage Website in Odoo 17 Studio App.pptx
How to Manage Website in Odoo 17 Studio App.pptxHow to Manage Website in Odoo 17 Studio App.pptx
How to Manage Website in Odoo 17 Studio App.pptx
 
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
 
An overview of the various scriptures in Hinduism
An overview of the various scriptures in HinduismAn overview of the various scriptures in Hinduism
An overview of the various scriptures in Hinduism
 
Graduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptxGraduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptx
 
PSYPACT- Practicing Over State Lines May 2024.pptx
PSYPACT- Practicing Over State Lines May 2024.pptxPSYPACT- Practicing Over State Lines May 2024.pptx
PSYPACT- Practicing Over State Lines May 2024.pptx
 
e-Sealing at EADTU by Kamakshi Rajagopal
e-Sealing at EADTU by Kamakshi Rajagopale-Sealing at EADTU by Kamakshi Rajagopal
e-Sealing at EADTU by Kamakshi Rajagopal
 
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
 
The Liver & Gallbladder (Anatomy & Physiology).pptx
The Liver &  Gallbladder (Anatomy & Physiology).pptxThe Liver &  Gallbladder (Anatomy & Physiology).pptx
The Liver & Gallbladder (Anatomy & Physiology).pptx
 
SURVEY I created for uni project research
SURVEY I created for uni project researchSURVEY I created for uni project research
SURVEY I created for uni project research
 
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
 
Sternal Fractures & Dislocations - EMGuidewire Radiology Reading Room
Sternal Fractures & Dislocations - EMGuidewire Radiology Reading RoomSternal Fractures & Dislocations - EMGuidewire Radiology Reading Room
Sternal Fractures & Dislocations - EMGuidewire Radiology Reading Room
 
Basic Civil Engineering notes on Transportation Engineering & Modes of Transport
Basic Civil Engineering notes on Transportation Engineering & Modes of TransportBasic Civil Engineering notes on Transportation Engineering & Modes of Transport
Basic Civil Engineering notes on Transportation Engineering & Modes of Transport
 
Rich Dad Poor Dad ( PDFDrive.com )--.pdf
Rich Dad Poor Dad ( PDFDrive.com )--.pdfRich Dad Poor Dad ( PDFDrive.com )--.pdf
Rich Dad Poor Dad ( PDFDrive.com )--.pdf
 
ESSENTIAL of (CS/IT/IS) class 07 (Networks)
ESSENTIAL of (CS/IT/IS) class 07 (Networks)ESSENTIAL of (CS/IT/IS) class 07 (Networks)
ESSENTIAL of (CS/IT/IS) class 07 (Networks)
 
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfFICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
 
The Story of Village Palampur Class 9 Free Study Material PDF
The Story of Village Palampur Class 9 Free Study Material PDFThe Story of Village Palampur Class 9 Free Study Material PDF
The Story of Village Palampur Class 9 Free Study Material PDF
 

Data compression

  • 2. Table of contents • What is data compression? • The need of data compression. • What factors lead to data compression? • Methods of data compression.
  • 3. What is data compression? • Data compression is the process of encoding data more efficiently to achieve a reduction in file size. • Data compression is a reduction in the number of bits needed to represent data. • Data compression is also called compaction. • Data may be Text, Image, Audio and Video
  • 4. The need of data compression • Storage Space – Less storage space as size of file get reduced. • Transmission time – Less time taken as smaller size file transferred from source to destination. • Transmission speed. – Uploading and downloading of file take less time due to smaller size.
  • 5. What factors lead to data compression? Redundancy refers to the amount of wasted space consumed by storage media to record picture information in a digital image. Image compression is achieved by exploiting redundancies in the image. These redundancies could be spatial, spectral, or temporal redundancy. Spatial redundancy: elements that are duplicated within a structure, such as neighboring pixels in a still image. Exploiting spatial redundancy is how compression is performed. Spectral redundancy is due to correlation between different color planes.
  • 6. What factors lead to data compression?(Cont..) • Temporal redundancy: pixels in two video frames that have the same values in the same location. • Exploiting temporal redundancy is one of the primary techniques in video compression.
  • 7. Methods of data compression. • There are two kinds of compression: Lossless and Lossy. • Lossless: – No Loss of Information • When we encode/decode, we get back original data. – Most widely used in text compression. – Compression ratio is very less.(3:1) • Compression ratio=uncompressed size(in bytes)/ compressed size(in bytes) – E.g. Run-length coding, Huffman coding, Arithmetic coding, Lempel-Zev-Welch(LZW)
  • 8. Methods of data compression. • Lossy – Always loss of information. • When we encode/decode, we get back an approximation of the original data. – Most widely used in Image, Audio and Video compression. – Compression ratio is very high.(10:1) – E.g. JPEG(Joint photographic expert group): compressed image – MP3: compressed audio – MPEG(Motion picture expert group): compressed video