SlideShare a Scribd company logo
Image Compression
Presented by : Abdelrahman Almassry
Supervisor : Dr. Samy Salmah
Content :
• Concept of Image Compression.
• Image Compression Models.
• Types of Image Compression.
• Variable-length Coding.
Image Compression
• Refers to reducing the amount of data required to represent a digital
image.
• Image compression address the problem of reducing the amount of
data required to represent a digital image with no significant loss of
information.
Why…….?
• Principal objective: To minimize the number of bits required to
represent an image.
• Reducing the image storage.
• Transmission requirements.
Image Compression
• Image = Information + Redundant Data
• Three Principal type of Data Redundancies
used in Image Compression :
Coding
Redundancy
Interpixel
Redundancy
Psychovisual
Redundancy
Image Compression
 The number of bits used to represent each pixel is based
on number of gray levels used to represent the image
 We represent the entire image by using least possible
number of bits. In this way we can reduce the coding
redundancy.
Coding Redundancy
Image Compression
 It is also called Spatial & Temporal redundancy.
 In an image each pixel depends on its neighbors.
 If spatial resolutions is high then inter pixel redundancy is
high.
Interpixel Redundancy
Image Compression
 Certain information has relatively less importance for the
quality of image perception. This information is said to be
psychovisually redundant.
 Removing this type of redundancy is a lossy process and the
lost information cannot be recovered.
 The method used to remove this type of redundancy is called
quantization which means the mapping of a broad range of
input values to a limited number of output values.
Psychovisual Redundancy
Image Compression Model
• The image compression system is composed of 2 distinct functional
component: an encoder & a decoder.
Source
Encoder
Channel
Encoder
Channel
Channel
Decoder
Source
Decoder
Encoder Decoder
Compression
(No redundancies)
Noise tolerant representation
(additional bits are included to
guarantee detection &
correction of error due to
transmission over channel.-
Hamming Code)
Image Compression Model
• Encoder performs Compression while Decoder performs Decompression.
Encoder is used to remove the redundancies through a series of 3
independent operations.
Mapper Quantizer
Symbol
Encoder
Channel
No Interpixel
redundancies
(Reversible)
No
Psychovisual
redundancies
(non-
reversible)
No Coding
redundancies
(Reversible)
Encoder
Image Compression Model
• Inverse steps are performed .
Channel
Symbol
Encoder
De-quantizer Inverse Mapper
Decoder
Types of Image Compression
• Image data compression methods fall into two common categories:
Lossy
compression
Lossless
compression
Lossy Compression
A lossy compression method is one where compressing
data and then decompressing it retrieves data that may
well be different from the original, but is close enough to
be useful in some way.
Lossy Compression
Used to compress multimedia
data (audio, video, still images),
especially in applications such
as streaming media and
internet telephony.
Provide higher levels of data
reduction
Result in a less than perfect
reproduction of the original
image
Lossless Compression
• Also called Information preserving compression.
• Compress and decompress images without losing information.
Variable-length Coding
• The coding redundancy can be minimized by using a variable-
length coding method where the shortest codes are assigned to
most probable gray levels.
• The most popular variable-length coding method is the Huffman
Coding.
Huffman Coding
• The Huffman coding involves the following steps.
1) Find the gray – level probabilities for the image by finding the
histogram.
2) Order the input probabilities (histogram magnitudes) from smallest to
largest.
3) Combine the smallest two. (add the two smallest)
4) GOTO step 2, until only two probabilities are left.
• Ex.
• Find 010100111100 using
Huffman.
• Find the avg no of bits
required to represent
each pixel(Lavg).
Huffman
Image compression

More Related Content

What's hot

Chapter 8 image compression
Chapter 8 image compressionChapter 8 image compression
Chapter 8 image compression
asodariyabhavesh
 
Multimedia image compression standards
Multimedia image compression standardsMultimedia image compression standards
Multimedia image compression standards
Mazin Alwaaly
 
Image Compression
Image CompressionImage Compression
Image Compression
Paramjeet Singh Jamwal
 
Introduction to Image Compression
Introduction to Image CompressionIntroduction to Image Compression
Introduction to Image Compression
Kalyan Acharjya
 
Color Image Processing: Basics
Color Image Processing: BasicsColor Image Processing: Basics
Color Image Processing: Basics
A B Shinde
 
Color fundamentals and color models - Digital Image Processing
Color fundamentals and color models - Digital Image ProcessingColor fundamentals and color models - Digital Image Processing
Color fundamentals and color models - Digital Image Processing
Amna
 
DIGITAL IMAGE PROCESSING - Day 4 Image Transform
DIGITAL IMAGE PROCESSING - Day 4 Image TransformDIGITAL IMAGE PROCESSING - Day 4 Image Transform
DIGITAL IMAGE PROCESSING - Day 4 Image Transform
vijayanand Kandaswamy
 
digital image processing
digital image processingdigital image processing
digital image processing
Abinaya B
 
Comparison between JPEG(DCT) and JPEG 2000(DWT) compression standards
Comparison between JPEG(DCT) and JPEG 2000(DWT) compression standardsComparison between JPEG(DCT) and JPEG 2000(DWT) compression standards
Comparison between JPEG(DCT) and JPEG 2000(DWT) compression standards
Rishab2612
 
Image enhancement sharpening
Image enhancement  sharpeningImage enhancement  sharpening
Image enhancement sharpening
arulraj121
 
Data Redundacy
Data RedundacyData Redundacy
Data Redundacy
Poonam Seth
 
Fundamentals of Data compression
Fundamentals of Data compressionFundamentals of Data compression
Fundamentals of Data compression
M.k. Praveen
 
MPEG video compression standard
MPEG video compression standardMPEG video compression standard
MPEG video compression standard
anuragjagetiya
 
Interpixel redundancy
Interpixel redundancyInterpixel redundancy
Interpixel redundancy
Naveen Kumar
 
Jpeg dct
Jpeg dctJpeg dct
Jpeg dct
darshan2518
 
Data compression techniques
Data compression techniquesData compression techniques
Data compression techniques
Deep Bhatt
 
Noise recognition in digital image
Noise recognition in digital imageNoise recognition in digital image
Noise recognition in digital image
Reyad Hossain
 

What's hot (20)

Chapter 8 image compression
Chapter 8 image compressionChapter 8 image compression
Chapter 8 image compression
 
Image compression
Image compressionImage compression
Image compression
 
Multimedia image compression standards
Multimedia image compression standardsMultimedia image compression standards
Multimedia image compression standards
 
Image Compression
Image CompressionImage Compression
Image Compression
 
Introduction to Image Compression
Introduction to Image CompressionIntroduction to Image Compression
Introduction to Image Compression
 
image compression ppt
image compression pptimage compression ppt
image compression ppt
 
Color Image Processing: Basics
Color Image Processing: BasicsColor Image Processing: Basics
Color Image Processing: Basics
 
Color fundamentals and color models - Digital Image Processing
Color fundamentals and color models - Digital Image ProcessingColor fundamentals and color models - Digital Image Processing
Color fundamentals and color models - Digital Image Processing
 
DIGITAL IMAGE PROCESSING - Day 4 Image Transform
DIGITAL IMAGE PROCESSING - Day 4 Image TransformDIGITAL IMAGE PROCESSING - Day 4 Image Transform
DIGITAL IMAGE PROCESSING - Day 4 Image Transform
 
digital image processing
digital image processingdigital image processing
digital image processing
 
Comparison between JPEG(DCT) and JPEG 2000(DWT) compression standards
Comparison between JPEG(DCT) and JPEG 2000(DWT) compression standardsComparison between JPEG(DCT) and JPEG 2000(DWT) compression standards
Comparison between JPEG(DCT) and JPEG 2000(DWT) compression standards
 
Image enhancement sharpening
Image enhancement  sharpeningImage enhancement  sharpening
Image enhancement sharpening
 
Data Redundacy
Data RedundacyData Redundacy
Data Redundacy
 
Fundamentals of Data compression
Fundamentals of Data compressionFundamentals of Data compression
Fundamentals of Data compression
 
MPEG video compression standard
MPEG video compression standardMPEG video compression standard
MPEG video compression standard
 
Audio compression
Audio compressionAudio compression
Audio compression
 
Interpixel redundancy
Interpixel redundancyInterpixel redundancy
Interpixel redundancy
 
Jpeg dct
Jpeg dctJpeg dct
Jpeg dct
 
Data compression techniques
Data compression techniquesData compression techniques
Data compression techniques
 
Noise recognition in digital image
Noise recognition in digital imageNoise recognition in digital image
Noise recognition in digital image
 

Similar to Image compression

Image proccessing and its applications.
Image proccessing and its applications.Image proccessing and its applications.
Image proccessing and its applications.
Ashwini Awatare
 
Image compression introductory presentation
Image compression introductory presentationImage compression introductory presentation
Image compression introductory presentationTariq Abbas
 
image basics and image compression
image basics and image compressionimage basics and image compression
image basics and image compression
murugan hari
 
Image compression
Image compressionImage compression
Enhanced Image Compression Using Wavelets
Enhanced Image Compression Using WaveletsEnhanced Image Compression Using Wavelets
Enhanced Image Compression Using Wavelets
IJRES Journal
 
Iaetsd performance analysis of discrete cosine
Iaetsd performance analysis of discrete cosineIaetsd performance analysis of discrete cosine
Iaetsd performance analysis of discrete cosine
Iaetsd Iaetsd
 
REGION OF INTEREST BASED COMPRESSION OF MEDICAL IMAGE USING DISCRETE WAVELET ...
REGION OF INTEREST BASED COMPRESSION OF MEDICAL IMAGE USING DISCRETE WAVELET ...REGION OF INTEREST BASED COMPRESSION OF MEDICAL IMAGE USING DISCRETE WAVELET ...
REGION OF INTEREST BASED COMPRESSION OF MEDICAL IMAGE USING DISCRETE WAVELET ...
ijcsa
 
Seminar Report on image compression
Seminar Report on image compressionSeminar Report on image compression
Seminar Report on image compression
Pradip Kumar
 
Image Compression Techniques: A Survey
Image Compression Techniques: A SurveyImage Compression Techniques: A Survey
06 cie552 image_manipulation
06 cie552 image_manipulation06 cie552 image_manipulation
06 cie552 image_manipulation
Elsayed Hemayed
 
Image compression (4)
Image compression (4)Image compression (4)
Image compression (4)
sbsomit
 
Image compression in digital image processing
Image compression in digital image processingImage compression in digital image processing
Image compression in digital image processing
DHIVYADEVAKI
 
Image compression
Image compressionImage compression
Image compression
Ishucs
 
Seminar
SeminarSeminar
Seminar
Arun T S V
 
Image compression
Image compressionImage compression
Image compression
Huda Seyam
 
Chapter 3 : IMAGE
Chapter 3 : IMAGEChapter 3 : IMAGE
Chapter 3 : IMAGE
azira96
 
Chapter 3
Chapter 3Chapter 3
Chapter 3
nooramirahazmn
 
notes_Image Compression_edited.ppt
notes_Image Compression_edited.pptnotes_Image Compression_edited.ppt
notes_Image Compression_edited.ppt
HarisMasood20
 

Similar to Image compression (20)

Image proccessing and its applications.
Image proccessing and its applications.Image proccessing and its applications.
Image proccessing and its applications.
 
Image compression introductory presentation
Image compression introductory presentationImage compression introductory presentation
Image compression introductory presentation
 
Presentation on Image Compression
Presentation on Image Compression Presentation on Image Compression
Presentation on Image Compression
 
image basics and image compression
image basics and image compressionimage basics and image compression
image basics and image compression
 
Image compression
Image compressionImage compression
Image compression
 
Enhanced Image Compression Using Wavelets
Enhanced Image Compression Using WaveletsEnhanced Image Compression Using Wavelets
Enhanced Image Compression Using Wavelets
 
Iaetsd performance analysis of discrete cosine
Iaetsd performance analysis of discrete cosineIaetsd performance analysis of discrete cosine
Iaetsd performance analysis of discrete cosine
 
REGION OF INTEREST BASED COMPRESSION OF MEDICAL IMAGE USING DISCRETE WAVELET ...
REGION OF INTEREST BASED COMPRESSION OF MEDICAL IMAGE USING DISCRETE WAVELET ...REGION OF INTEREST BASED COMPRESSION OF MEDICAL IMAGE USING DISCRETE WAVELET ...
REGION OF INTEREST BASED COMPRESSION OF MEDICAL IMAGE USING DISCRETE WAVELET ...
 
Seminar Report on image compression
Seminar Report on image compressionSeminar Report on image compression
Seminar Report on image compression
 
Image Compression Techniques: A Survey
Image Compression Techniques: A SurveyImage Compression Techniques: A Survey
Image Compression Techniques: A Survey
 
06 cie552 image_manipulation
06 cie552 image_manipulation06 cie552 image_manipulation
06 cie552 image_manipulation
 
Image compression
Image compressionImage compression
Image compression
 
Image compression (4)
Image compression (4)Image compression (4)
Image compression (4)
 
Image compression in digital image processing
Image compression in digital image processingImage compression in digital image processing
Image compression in digital image processing
 
Image compression
Image compressionImage compression
Image compression
 
Seminar
SeminarSeminar
Seminar
 
Image compression
Image compressionImage compression
Image compression
 
Chapter 3 : IMAGE
Chapter 3 : IMAGEChapter 3 : IMAGE
Chapter 3 : IMAGE
 
Chapter 3
Chapter 3Chapter 3
Chapter 3
 
notes_Image Compression_edited.ppt
notes_Image Compression_edited.pptnotes_Image Compression_edited.ppt
notes_Image Compression_edited.ppt
 

Recently uploaded

A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
Digital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion DesignsDigital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion Designs
chanes7
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Atul Kumar Singh
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
timhan337
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
vaibhavrinwa19
 
Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
deeptiverma2406
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
DhatriParmar
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
Chapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdfChapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdf
Kartik Tiwari
 
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBCSTRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
kimdan468
 
Group Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana BuscigliopptxGroup Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana Buscigliopptx
ArianaBusciglio
 

Recently uploaded (20)

A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
Digital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion DesignsDigital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion Designs
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
 
Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
Chapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdfChapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdf
 
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBCSTRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
 
Group Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana BuscigliopptxGroup Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana Buscigliopptx
 

Image compression

  • 1. Image Compression Presented by : Abdelrahman Almassry Supervisor : Dr. Samy Salmah
  • 2. Content : • Concept of Image Compression. • Image Compression Models. • Types of Image Compression. • Variable-length Coding.
  • 3. Image Compression • Refers to reducing the amount of data required to represent a digital image. • Image compression address the problem of reducing the amount of data required to represent a digital image with no significant loss of information.
  • 4. Why…….? • Principal objective: To minimize the number of bits required to represent an image. • Reducing the image storage. • Transmission requirements.
  • 5. Image Compression • Image = Information + Redundant Data • Three Principal type of Data Redundancies used in Image Compression : Coding Redundancy Interpixel Redundancy Psychovisual Redundancy
  • 6. Image Compression  The number of bits used to represent each pixel is based on number of gray levels used to represent the image  We represent the entire image by using least possible number of bits. In this way we can reduce the coding redundancy. Coding Redundancy
  • 7. Image Compression  It is also called Spatial & Temporal redundancy.  In an image each pixel depends on its neighbors.  If spatial resolutions is high then inter pixel redundancy is high. Interpixel Redundancy
  • 8. Image Compression  Certain information has relatively less importance for the quality of image perception. This information is said to be psychovisually redundant.  Removing this type of redundancy is a lossy process and the lost information cannot be recovered.  The method used to remove this type of redundancy is called quantization which means the mapping of a broad range of input values to a limited number of output values. Psychovisual Redundancy
  • 9. Image Compression Model • The image compression system is composed of 2 distinct functional component: an encoder & a decoder. Source Encoder Channel Encoder Channel Channel Decoder Source Decoder Encoder Decoder Compression (No redundancies) Noise tolerant representation (additional bits are included to guarantee detection & correction of error due to transmission over channel.- Hamming Code)
  • 10. Image Compression Model • Encoder performs Compression while Decoder performs Decompression. Encoder is used to remove the redundancies through a series of 3 independent operations. Mapper Quantizer Symbol Encoder Channel No Interpixel redundancies (Reversible) No Psychovisual redundancies (non- reversible) No Coding redundancies (Reversible) Encoder
  • 11. Image Compression Model • Inverse steps are performed . Channel Symbol Encoder De-quantizer Inverse Mapper Decoder
  • 12. Types of Image Compression • Image data compression methods fall into two common categories: Lossy compression Lossless compression
  • 13. Lossy Compression A lossy compression method is one where compressing data and then decompressing it retrieves data that may well be different from the original, but is close enough to be useful in some way.
  • 14. Lossy Compression Used to compress multimedia data (audio, video, still images), especially in applications such as streaming media and internet telephony. Provide higher levels of data reduction Result in a less than perfect reproduction of the original image
  • 15. Lossless Compression • Also called Information preserving compression. • Compress and decompress images without losing information.
  • 16.
  • 17. Variable-length Coding • The coding redundancy can be minimized by using a variable- length coding method where the shortest codes are assigned to most probable gray levels. • The most popular variable-length coding method is the Huffman Coding.
  • 18. Huffman Coding • The Huffman coding involves the following steps. 1) Find the gray – level probabilities for the image by finding the histogram. 2) Order the input probabilities (histogram magnitudes) from smallest to largest. 3) Combine the smallest two. (add the two smallest) 4) GOTO step 2, until only two probabilities are left.
  • 19. • Ex. • Find 010100111100 using Huffman. • Find the avg no of bits required to represent each pixel(Lavg). Huffman

Editor's Notes

  1. Mapper: transforms input data in a way that facilitates reduction of inter pixel redundancies. Quantizer: achieved by compressing a range of values to a single quantum value. When the number of discrete symbols in a given stream is reduced, the stream becomes more compressible. Symbol encoder: assigns the shortest code to the most frequently occurring output values
  2. Lavg = Σ l(rk) pr(rk) احتمالية كل بيت * عدد البايناري بيت لهذه الاحتمالية bits / pixel Total no. of bits required to represent entire image = MNLavg = 256*256*L