SlideShare ist ein Scribd-Unternehmen logo
1 von 20
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

Weitere ähnliche Inhalte

Was ist angesagt?

Comparison between Lossy and Lossless Compression
Comparison between Lossy and Lossless CompressionComparison between Lossy and Lossless Compression
Comparison between Lossy and Lossless Compressionrafikrokon
 
Simultaneous Smoothing and Sharpening of Color Images
Simultaneous Smoothing and Sharpening of Color ImagesSimultaneous Smoothing and Sharpening of Color Images
Simultaneous Smoothing and Sharpening of Color ImagesCristina Pérez Benito
 
Multimedia image compression standards
Multimedia image compression standardsMultimedia image compression standards
Multimedia image compression standardsMazin Alwaaly
 
Image processing fundamentals
Image processing fundamentalsImage processing fundamentals
Image processing fundamentalsA B Shinde
 
Digital Image Fundamentals
Digital Image FundamentalsDigital Image Fundamentals
Digital Image FundamentalsA B Shinde
 
Image resolution
Image resolutionImage resolution
Image resolutionAMICC
 
MPEG-1 Part 2 Video Encoding
MPEG-1 Part 2 Video EncodingMPEG-1 Part 2 Video Encoding
MPEG-1 Part 2 Video EncodingChristian Kehl
 
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 standardsRishab2612
 
IT Introduction - 06. Graphic & Multimedia
IT Introduction - 06. Graphic & MultimediaIT Introduction - 06. Graphic & Multimedia
IT Introduction - 06. Graphic & MultimediaArry Arman
 
Introduction to Image Compression
Introduction to Image CompressionIntroduction to Image Compression
Introduction to Image CompressionKalyan Acharjya
 
Digital image processing
Digital image processingDigital image processing
Digital image processingABIRAMI M
 
Noise filtering
Noise filteringNoise filtering
Noise filteringAlaa Ahmed
 
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 algorithmchezhiyan chezhiyan
 

Was ist angesagt? (20)

Comparison between Lossy and Lossless Compression
Comparison between Lossy and Lossless CompressionComparison between Lossy and Lossless Compression
Comparison between Lossy and Lossless Compression
 
Simultaneous Smoothing and Sharpening of Color Images
Simultaneous Smoothing and Sharpening of Color ImagesSimultaneous Smoothing and Sharpening of Color Images
Simultaneous Smoothing and Sharpening of Color Images
 
Multimedia image compression standards
Multimedia image compression standardsMultimedia image compression standards
Multimedia image compression standards
 
Jpeg compression
Jpeg compressionJpeg compression
Jpeg compression
 
Image processing fundamentals
Image processing fundamentalsImage processing fundamentals
Image processing fundamentals
 
Digital Image Fundamentals
Digital Image FundamentalsDigital Image Fundamentals
Digital Image Fundamentals
 
Image resolution
Image resolutionImage resolution
Image resolution
 
Spatial domain and filtering
Spatial domain and filteringSpatial domain and filtering
Spatial domain and filtering
 
Jpeg dct
Jpeg dctJpeg dct
Jpeg dct
 
MPEG-1 Part 2 Video Encoding
MPEG-1 Part 2 Video EncodingMPEG-1 Part 2 Video Encoding
MPEG-1 Part 2 Video Encoding
 
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
 
Segmentation
SegmentationSegmentation
Segmentation
 
IT Introduction - 06. Graphic & Multimedia
IT Introduction - 06. Graphic & MultimediaIT Introduction - 06. Graphic & Multimedia
IT Introduction - 06. Graphic & Multimedia
 
YUV, Y CB CR and Subsampling
YUV, Y CB CR and SubsamplingYUV, Y CB CR and Subsampling
YUV, Y CB CR and Subsampling
 
Introduction to Image Compression
Introduction to Image CompressionIntroduction to Image Compression
Introduction to Image Compression
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
 
Digital image processing
Digital image processingDigital image processing
Digital image processing
 
Image segmentation
Image segmentation Image segmentation
Image segmentation
 
Noise filtering
Noise filteringNoise filtering
Noise filtering
 
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
 

Ähnlich wie Image compression

Image compression 14_04_2020 (1)
Image compression 14_04_2020 (1)Image compression 14_04_2020 (1)
Image compression 14_04_2020 (1)Joel P
 
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
 
Enhanced Image Compression Using Wavelets
Enhanced Image Compression Using WaveletsEnhanced Image Compression Using Wavelets
Enhanced Image Compression Using WaveletsIJRES Journal
 
Iaetsd performance analysis of discrete cosine
Iaetsd performance analysis of discrete cosineIaetsd performance analysis of discrete cosine
Iaetsd performance analysis of discrete cosineIaetsd 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 compressionPradip Kumar
 
06 cie552 image_manipulation
06 cie552 image_manipulation06 cie552 image_manipulation
06 cie552 image_manipulationElsayed 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 processingDHIVYADEVAKI
 
Image compression
Image compressionImage compression
Image compressionIshucs
 
Image compression
Image compressionImage compression
Image compressionHuda Seyam
 
Chapter 3 : IMAGE
Chapter 3 : IMAGEChapter 3 : IMAGE
Chapter 3 : IMAGEazira96
 
notes_Image Compression_edited.ppt
notes_Image Compression_edited.pptnotes_Image Compression_edited.ppt
notes_Image Compression_edited.pptHarisMasood20
 

Ähnlich wie Image compression (20)

Image compression 14_04_2020 (1)
Image compression 14_04_2020 (1)Image compression 14_04_2020 (1)
Image compression 14_04_2020 (1)
 
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 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
 

Kürzlich hochgeladen

Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
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.pdfQucHHunhnh
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...PsychoTech Services
 

Kürzlich hochgeladen (20)

Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
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
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 

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

Hinweis der Redaktion

  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