Digital Image Processing
1
Module-IV
IMAGE COMPRESSION
2
• Definition: Compression means storing data in a
format that requires less space than usual.
• Data compression is particularly useful in
communications because it enables devices to
transmit the same amount of data in fewer bits.
3
• The bandwidth of a digital communication link
can be effectively increased by compressing data
at the sending end and decompressing data at the
receiving end.
• There are a variety of data compression
techniques, but only a few have been
standardized.
4
Types of Data Compression
• There are two main types of data compression :
Lossy and Lossless.
• In Lossy data compression the message can never be
recovered exactly as it was before it was
compressed.
5
• In a Lossless data compression file the original
message can be exactly decoded.
• Lossless compression is ideal for text.
• Huffman coding is type of lossless data
compression.
6
Compression Algorithms
• Huffman Coding
• Run Length Encoding
• Shift Codes
• Arithmetic Codes
• Block Truncation Codes
• Transform codes
• Vector Quantization
7
Huffman Coding
• Huffman coding is a popular compression technique that
assigns variable length codes (VLC) to symbols, so that
the most frequently occurring symbols have the shortest
codes.
• On decompression the symbols are reassigned their
original fixed length codes.
8
• The idea is to use short bit strings to represent
the most frequently used characters
• and to use longer bit strings to represent less
frequently used characters.
9
• That is, the most common characters, usually space, e,
and t are assigned the shortest codes.
• In this way the total number of bits required to transmit
the data can be considerably less than the number
required if the fixed length ASCII representation is used.
• A Huffman code is a binary tree with branches assigned
the value 0 or 1.
10
11

More Related Content

PDF
A research paper_on_lossless_data_compre
PPTX
Computer Graphics & Visualization - 06
PPT
Compression techniques
PPTX
Unit 3 Image Compression and Segmentation.pptx
PPTX
DIP.pptx
PDF
Dictionary Based Compression
PPTX
4 data compression
PDF
12_HuffmanhsjsjsjjsiejjssjjejsjCoding_pdf.pdf
A research paper_on_lossless_data_compre
Computer Graphics & Visualization - 06
Compression techniques
Unit 3 Image Compression and Segmentation.pptx
DIP.pptx
Dictionary Based Compression
4 data compression
12_HuffmanhsjsjsjjsiejjssjjejsjCoding_pdf.pdf

Similar to Module-IV 093.pdf (20)

PPTX
Image compression
PPTX
Data compression
PPTX
Data compression techniques
PPTX
Data compression
PDF
F0365046054
PPT
2.3 unit-ii-text-compression-a-outline-compression-techniques-run-length-codi...
PDF
Module-IV 094.pdf
PPTX
Text compression
PPTX
Data Compression and encryption for security
PPTX
Data compression
PDF
Lossless Image Compression Techniques Comparative Study
PPTX
Chapter 4 Lossless Compression Algorithims.pptx
PDF
Image compression
PPT
Data compression
PPTX
Data compression algorithms
PPT
Hufman coding basic
PDF
Lossless image compression.(1)
PPTX
Fundamentals of Data compression
PPTX
Compression technologies
Image compression
Data compression
Data compression techniques
Data compression
F0365046054
2.3 unit-ii-text-compression-a-outline-compression-techniques-run-length-codi...
Module-IV 094.pdf
Text compression
Data Compression and encryption for security
Data compression
Lossless Image Compression Techniques Comparative Study
Chapter 4 Lossless Compression Algorithims.pptx
Image compression
Data compression
Data compression algorithms
Hufman coding basic
Lossless image compression.(1)
Fundamentals of Data compression
Compression technologies
Ad

More from SamrajECE (8)

PPTX
Unit 4 -IOT3_IoT_platform_Design_methodology.pptx
PDF
reservation-policy-required-followed for admission
PPT
M4L12.ppt
PDF
Module-V 096.pdf
PDF
Module-IV 095.pdf
PDF
ModuleII092.pdf
PDF
ModuleII091.pdf
PDF
ModuleII090.pdf
Unit 4 -IOT3_IoT_platform_Design_methodology.pptx
reservation-policy-required-followed for admission
M4L12.ppt
Module-V 096.pdf
Module-IV 095.pdf
ModuleII092.pdf
ModuleII091.pdf
ModuleII090.pdf
Ad

Recently uploaded (20)

PDF
HVAC Specification 2024 according to central public works department
PDF
IGGE1 Understanding the Self1234567891011
PDF
Weekly quiz Compilation Jan -July 25.pdf
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
PDF
Vision Prelims GS PYQ Analysis 2011-2022 www.upscpdf.com.pdf
PDF
FOISHS ANNUAL IMPLEMENTATION PLAN 2025.pdf
PPTX
TNA_Presentation-1-Final(SAVE)) (1).pptx
PDF
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
PDF
advance database management system book.pdf
PDF
Practical Manual AGRO-233 Principles and Practices of Natural Farming
PDF
AI-driven educational solutions for real-life interventions in the Philippine...
PPTX
B.Sc. DS Unit 2 Software Engineering.pptx
PDF
احياء السادس العلمي - الفصل الثالث (التكاثر) منهج متميزين/كلية بغداد/موهوبين
PPTX
Onco Emergencies - Spinal cord compression Superior vena cava syndrome Febr...
PDF
MBA _Common_ 2nd year Syllabus _2021-22_.pdf
PDF
Hazard Identification & Risk Assessment .pdf
PDF
My India Quiz Book_20210205121199924.pdf
PDF
Trump Administration's workforce development strategy
PDF
Environmental Education MCQ BD2EE - Share Source.pdf
PPTX
20th Century Theater, Methods, History.pptx
HVAC Specification 2024 according to central public works department
IGGE1 Understanding the Self1234567891011
Weekly quiz Compilation Jan -July 25.pdf
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
Vision Prelims GS PYQ Analysis 2011-2022 www.upscpdf.com.pdf
FOISHS ANNUAL IMPLEMENTATION PLAN 2025.pdf
TNA_Presentation-1-Final(SAVE)) (1).pptx
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
advance database management system book.pdf
Practical Manual AGRO-233 Principles and Practices of Natural Farming
AI-driven educational solutions for real-life interventions in the Philippine...
B.Sc. DS Unit 2 Software Engineering.pptx
احياء السادس العلمي - الفصل الثالث (التكاثر) منهج متميزين/كلية بغداد/موهوبين
Onco Emergencies - Spinal cord compression Superior vena cava syndrome Febr...
MBA _Common_ 2nd year Syllabus _2021-22_.pdf
Hazard Identification & Risk Assessment .pdf
My India Quiz Book_20210205121199924.pdf
Trump Administration's workforce development strategy
Environmental Education MCQ BD2EE - Share Source.pdf
20th Century Theater, Methods, History.pptx

Module-IV 093.pdf

  • 3. • Definition: Compression means storing data in a format that requires less space than usual. • Data compression is particularly useful in communications because it enables devices to transmit the same amount of data in fewer bits. 3
  • 4. • The bandwidth of a digital communication link can be effectively increased by compressing data at the sending end and decompressing data at the receiving end. • There are a variety of data compression techniques, but only a few have been standardized. 4
  • 5. Types of Data Compression • There are two main types of data compression : Lossy and Lossless. • In Lossy data compression the message can never be recovered exactly as it was before it was compressed. 5
  • 6. • In a Lossless data compression file the original message can be exactly decoded. • Lossless compression is ideal for text. • Huffman coding is type of lossless data compression. 6
  • 7. Compression Algorithms • Huffman Coding • Run Length Encoding • Shift Codes • Arithmetic Codes • Block Truncation Codes • Transform codes • Vector Quantization 7
  • 8. Huffman Coding • Huffman coding is a popular compression technique that assigns variable length codes (VLC) to symbols, so that the most frequently occurring symbols have the shortest codes. • On decompression the symbols are reassigned their original fixed length codes. 8
  • 9. • The idea is to use short bit strings to represent the most frequently used characters • and to use longer bit strings to represent less frequently used characters. 9
  • 10. • That is, the most common characters, usually space, e, and t are assigned the shortest codes. • In this way the total number of bits required to transmit the data can be considerably less than the number required if the fixed length ASCII representation is used. • A Huffman code is a binary tree with branches assigned the value 0 or 1. 10
  • 11. 11