SlideShare a Scribd company logo
COMPRESSION
COMPRESSION
MODELS
MODELS
RANJANA
RANJANA
22010103043
22010103043
WHAT IS COMPRESSION ?
WHAT IS COMPRESSION ?
• Image compression is the process of reducing amount of data
Image compression is the process of reducing amount of data
required to represent or store an image.
required to represent or store an image.
• Process of encoding data so that it take less storage space or
Process of encoding data so that it take less storage space or
less transmission time.
less transmission time.
Why Do We Need Image Compression?
Why Do We Need Image Compression?
• Consider a black and white image that has a resolution of
Consider a black and white image that has a resolution of
1000*1000
1000*1000
• each pixel uses 8 bits to represent the intensity.
each pixel uses 8 bits to represent the intensity.
• So total no of bits required = 1000*1000*8 = 80,00,000 bits per
So total no of bits required = 1000*1000*8 = 80,00,000 bits per
image.
image.
• And consider if it is a video with 30 frames per second of the
And consider if it is a video with 30 frames per second of the
above-mentioned type images
above-mentioned type images
• total bits for a video of 3 secs is: 3*(30*(8, 000, 000))
total bits for a video of 3 secs is: 3*(30*(8, 000, 000))
• =720, 000, 000 bits
=720, 000, 000 bits
• Storage Efficiency: Compressed images require less storage
Storage Efficiency: Compressed images require less storage
space.​
space.​
• Transmission Speed: Smaller image files can be transmitted
Transmission Speed: Smaller image files can be transmitted
faster over networks.​
faster over networks.​
• Cost Reduction: Less storage and bandwidth usage lead to cost
Cost Reduction: Less storage and bandwidth usage lead to cost
savings.​
savings.​
• Improved Performance: Enhances performance of applications
Improved Performance: Enhances performance of applications
by reducing load times.
by reducing load times.
Data vs. Information
Data vs. Information
• Data: Raw pixel values in an
image.​
• Information: Meaningful content
derived from data.​
• Compression focuses on reducing
data redundancy while
preserving essential information.
Redundancy and Its Types
Redundancy and Its Types
•Redundancy means
Redundancy means
repetitive data or
repetitive data or
unwanwanted data
unwanwanted data
CLASSIFICATION
CLASSIFICATION
 Interpixel Redundancy
Interpixel Redundancy
Psychovisual Redundancy
Psychovisual Redundancy
 Coding Redundancy
Coding Redundancy
Coding Redundancy
Coding Redundancy
 Coding redundancy is caused due to poor selection of coding
Coding redundancy is caused due to poor selection of coding
technique
technique
 Coding techniques assigns a unique code for all symbols of message
Coding techniques assigns a unique code for all symbols of message
• Wrong choice of coding technique creates unnecessary additional
Wrong choice of coding technique creates unnecessary additional
bits. These extra bits are called redundancy
bits. These extra bits are called redundancy
• CODING REDUNDANCY = AVERAGE BITS USED TO CODE - ENTROPHY
CODING REDUNDANCY = AVERAGE BITS USED TO CODE - ENTROPHY
Interpixel Redundancy
Interpixel Redundancy
• This type of redundancy is related with the inter-pixel
This type of redundancy is related with the inter-pixel
correlations within an image.
correlations within an image.
• The value of any given pixel can be predicted from the value of
The value of any given pixel can be predicted from the value of
its neighbours or adjacent pixels that are highly corelated.
its neighbours or adjacent pixels that are highly corelated.
• Inter-pixel dependency is solved by algorithms like:
Inter-pixel dependency is solved by algorithms like:
• Predictive Coding, Bit Plane Algorithm, Run Length
Predictive Coding, Bit Plane Algorithm, Run Length
Psychovisual Redundancy
Psychovisual Redundancy
• The eye and the brain do not respond to all visual information with
The eye and the brain do not respond to all visual information with
same sensitivity.
same sensitivity.
• Some information is neglected during the processing by the
Some information is neglected during the processing by the
brain.because human perception does not involve quantative analysis
brain.because human perception does not involve quantative analysis
of every pixel in the image.
of every pixel in the image.
• Elimination of this information does not affect the interpretation of
Elimination of this information does not affect the interpretation of
the image by the brain.
the image by the brain.
• Psycho visual redundancy is distinctly vision related, and its
Psycho visual redundancy is distinctly vision related, and its
elimination does result in loss of information.
elimination does result in loss of information.
• Quantization is an example. When 256 levels are reduced by grouping
Quantization is an example. When 256 levels are reduced by grouping
to 16 levels, objects are still recognizable.
to 16 levels, objects are still recognizable.
Image Compression Model
Image Compression Model
• Encoder: Compresses the
Encoder: Compresses the
image by reducing
image by reducing
redundancies
redundancies
• Decoder: Reconstructs the
Decoder: Reconstructs the
image from compressed
image from compressed
data
data
BLOCK DIAGRAM OF COMPRESSION MODEL
BLOCK DIAGRAM OF COMPRESSION MODEL
Stages of Encoder
Stages of Encoder
•MAPPER
MAPPER
Reduces Interpixel Redundancy
Reduces Interpixel Redundancy
Reversible operation
Reversible operation
QUANTIZER
QUANTIZER
Reduces Psychovisual Redundancy
Reduces Psychovisual Redundancy
Not a reversible operation
Not a reversible operation
SYMBOL ENCODER
SYMBOL ENCODER
To create a fixed or variable length code
To create a fixed or variable length code
Reversible operation
Reversible operation
/S
LOSSLESS /S
LOSSLESS
Huffman Coding
Huffman Coding
COMPRESSION MODELSCOMPRESSION MODELSCOMPRESSION MODELS
COMPRESSION MODELSCOMPRESSION MODELSCOMPRESSION MODELS
COMPRESSION MODELSCOMPRESSION MODELSCOMPRESSION MODELS
COMPRESSION MODELSCOMPRESSION MODELSCOMPRESSION MODELS
COMPRESSION MODELSCOMPRESSION MODELSCOMPRESSION MODELS
COMPRESSION MODELSCOMPRESSION MODELSCOMPRESSION MODELS
COMPRESSION MODELSCOMPRESSION MODELSCOMPRESSION MODELS
COMPRESSION MODELSCOMPRESSION MODELSCOMPRESSION MODELS
COMPRESSION MODELSCOMPRESSION MODELSCOMPRESSION MODELS
JPEG Data compression
JPEG Data compression
• Joint Photographic Experts Group : lossy compression
Joint Photographic Experts Group : lossy compression
Algorithm of JPEG Data Compression :
Algorithm of JPEG Data Compression :
1.
1.Splitting
Splitting – We split our image into the blocks of 8*8 blocks. It forms
– We split our image into the blocks of 8*8 blocks. It forms
64 blocks in which each block is referred to as 1 pixel.
64 blocks in which each block is referred to as 1 pixel.
2.
2.Color Space Transform
Color Space Transform – In this phase, we convert R, G, B to Y, Cb,
– In this phase, we convert R, G, B to Y, Cb,
Cr model. Here Y is for brightness, Cb is color blueness and Cr
Cr model. Here Y is for brightness, Cb is color blueness and Cr
stands for Color redness. We transform it into chromium colors as
stands for Color redness. We transform it into chromium colors as
these are less sensitive to human eyes thus can be removed.
these are less sensitive to human eyes thus can be removed.
3.
3.Apply DCT
Apply DCT – We apply Direct cosine transform on each block. The
– We apply Direct cosine transform on each block. The
discrete cosine transform (DCT) represents an image as a sum of
discrete cosine transform (DCT) represents an image as a sum of
sinusoids of varying magnitudes and frequencies.
sinusoids of varying magnitudes and frequencies.
4.Quantization
4.Quantization – reduce the no of bit per sample
– reduce the no of bit per sample
5. Serialization –
5. Serialization – In serialization, we perform the zig-zag scanning
In serialization, we perform the zig-zag scanning
pattern to exploit redundancy.
pattern to exploit redundancy.
6. Vectoring
6. Vectoring – We apply DPCM (differential pulse code modeling) on DC
– We apply DPCM (differential pulse code modeling) on DC
elements. DC elements are used to define the strength of colors.
elements. DC elements are used to define the strength of colors.
7.Encoding
7.Encoding –
–
•In the last stage, we apply to encode either run-length encoding or
In the last stage, we apply to encode either run-length encoding or
Huffman encoding. The main aim is to convert the image into text and
Huffman encoding. The main aim is to convert the image into text and
by applying any encoding we convert it into binary form (0, 1) to
by applying any encoding we convert it into binary form (0, 1) to
compress the data.
compress the data.
Ad

More Related Content

Similar to COMPRESSION MODELSCOMPRESSION MODELSCOMPRESSION MODELS (20)

IMAGE PROCESSING
IMAGE PROCESSINGIMAGE PROCESSING
IMAGE PROCESSING
ABHISHEK MAURYA
 
Image Compression using a Raspberry Pi
Image Compression using a Raspberry PiImage Compression using a Raspberry Pi
Image Compression using a Raspberry Pi
IRJET Journal
 
Image processing and compression.pptx
Image processing and compression.pptxImage processing and compression.pptx
Image processing and compression.pptx
dudoo1
 
Digital Image Processing - Image Compression
Digital Image Processing - Image CompressionDigital Image Processing - Image Compression
Digital Image Processing - Image Compression
Mathankumar S
 
A REVIEW ON LATEST TECHNIQUES OF IMAGE COMPRESSION
A REVIEW ON LATEST TECHNIQUES OF IMAGE COMPRESSIONA REVIEW ON LATEST TECHNIQUES OF IMAGE COMPRESSION
A REVIEW ON LATEST TECHNIQUES OF IMAGE COMPRESSION
Nancy Ideker
 
CR Presentation.ppt - Computed Radiography
CR Presentation.ppt - Computed RadiographyCR Presentation.ppt - Computed Radiography
CR Presentation.ppt - Computed Radiography
ssuserefa29a
 
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
 
Data compression techniques
Data compression techniquesData compression techniques
Data compression techniques
Deep Bhatt
 
Design and Implementation of EZW & SPIHT Image Coder for Virtual Images
Design and Implementation of EZW & SPIHT Image Coder for Virtual ImagesDesign and Implementation of EZW & SPIHT Image Coder for Virtual Images
Design and Implementation of EZW & SPIHT Image Coder for Virtual Images
CSCJournals
 
UNIT-4.pptx
UNIT-4.pptxUNIT-4.pptx
UNIT-4.pptx
NiharikaThakur32
 
Image compression introductory presentation
Image compression introductory presentationImage compression introductory presentation
Image compression introductory presentation
Tariq Abbas
 
An Introduction to digital image processing
An Introduction to digital image processingAn Introduction to digital image processing
An Introduction to digital image processing
nastaranEmamjomeh1
 
Image compression
Image compressionImage compression
Image compression
Shiva Krishna Chandra Shekar
 
UNIT-4.pdf
UNIT-4.pdfUNIT-4.pdf
UNIT-4.pdf
NiharikaThakur32
 
UNIT-4.pdf
UNIT-4.pdfUNIT-4.pdf
UNIT-4.pdf
NiharikaThakur32
 
dc module1 part 1.pptx
dc module1 part 1.pptxdc module1 part 1.pptx
dc module1 part 1.pptx
AzmiNizar1
 
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
 
Digital image processing
Digital image processingDigital image processing
Digital image processing
ShubhamSinghKunwar
 
GJU MM Unit 3.pdf
GJU MM Unit 3.pdfGJU MM Unit 3.pdf
GJU MM Unit 3.pdf
diljots78
 
Teknik Pengkodean (2).pptx
Teknik Pengkodean (2).pptxTeknik Pengkodean (2).pptx
Teknik Pengkodean (2).pptx
zulhelmanz
 
Image Compression using a Raspberry Pi
Image Compression using a Raspberry PiImage Compression using a Raspberry Pi
Image Compression using a Raspberry Pi
IRJET Journal
 
Image processing and compression.pptx
Image processing and compression.pptxImage processing and compression.pptx
Image processing and compression.pptx
dudoo1
 
Digital Image Processing - Image Compression
Digital Image Processing - Image CompressionDigital Image Processing - Image Compression
Digital Image Processing - Image Compression
Mathankumar S
 
A REVIEW ON LATEST TECHNIQUES OF IMAGE COMPRESSION
A REVIEW ON LATEST TECHNIQUES OF IMAGE COMPRESSIONA REVIEW ON LATEST TECHNIQUES OF IMAGE COMPRESSION
A REVIEW ON LATEST TECHNIQUES OF IMAGE COMPRESSION
Nancy Ideker
 
CR Presentation.ppt - Computed Radiography
CR Presentation.ppt - Computed RadiographyCR Presentation.ppt - Computed Radiography
CR Presentation.ppt - Computed Radiography
ssuserefa29a
 
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
 
Data compression techniques
Data compression techniquesData compression techniques
Data compression techniques
Deep Bhatt
 
Design and Implementation of EZW & SPIHT Image Coder for Virtual Images
Design and Implementation of EZW & SPIHT Image Coder for Virtual ImagesDesign and Implementation of EZW & SPIHT Image Coder for Virtual Images
Design and Implementation of EZW & SPIHT Image Coder for Virtual Images
CSCJournals
 
Image compression introductory presentation
Image compression introductory presentationImage compression introductory presentation
Image compression introductory presentation
Tariq Abbas
 
An Introduction to digital image processing
An Introduction to digital image processingAn Introduction to digital image processing
An Introduction to digital image processing
nastaranEmamjomeh1
 
dc module1 part 1.pptx
dc module1 part 1.pptxdc module1 part 1.pptx
dc module1 part 1.pptx
AzmiNizar1
 
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
 
GJU MM Unit 3.pdf
GJU MM Unit 3.pdfGJU MM Unit 3.pdf
GJU MM Unit 3.pdf
diljots78
 
Teknik Pengkodean (2).pptx
Teknik Pengkodean (2).pptxTeknik Pengkodean (2).pptx
Teknik Pengkodean (2).pptx
zulhelmanz
 

Recently uploaded (20)

Huckel_Molecular orbital _Theory_8_Slides.pptx
Huckel_Molecular orbital _Theory_8_Slides.pptxHuckel_Molecular orbital _Theory_8_Slides.pptx
Huckel_Molecular orbital _Theory_8_Slides.pptx
study2022bsc
 
VOLLEY BALL SPORT CLUB.PPTADADADADADADADAA
VOLLEY BALL SPORT CLUB.PPTADADADADADADADAAVOLLEY BALL SPORT CLUB.PPTADADADADADADADAA
VOLLEY BALL SPORT CLUB.PPTADADADADADADADAA
binopsditpamobvit
 
sorcesofdrugs-160228074 56 4246643544 (3).ppt
sorcesofdrugs-160228074 56 4246643544 (3).pptsorcesofdrugs-160228074 56 4246643544 (3).ppt
sorcesofdrugs-160228074 56 4246643544 (3).ppt
IndalSatnami
 
COPD.pptxxxxxxxxxxxxxxxx. xxxxxx̌x̌xxx̌
COPD.pptxxxxxxxxxxxxxxxx.   xxxxxx̌x̌xxx̌COPD.pptxxxxxxxxxxxxxxxx.   xxxxxx̌x̌xxx̌
COPD.pptxxxxxxxxxxxxxxxx. xxxxxx̌x̌xxx̌
priyankamuduli2112
 
powerpointguidelines_copy.pdf Najjajshshhshsh
powerpointguidelines_copy.pdf Najjajshshhshshpowerpointguidelines_copy.pdf Najjajshshhshsh
powerpointguidelines_copy.pdf Najjajshshhshsh
bcomstudynep
 
Classroom-Observations-Sept-2022.pptx FF
Classroom-Observations-Sept-2022.pptx  FFClassroom-Observations-Sept-2022.pptx  FF
Classroom-Observations-Sept-2022.pptx FF
FouziaAleem1
 
Route-Surveying-Earthworks-Lecture-Compilation_Penarejo.pptx
Route-Surveying-Earthworks-Lecture-Compilation_Penarejo.pptxRoute-Surveying-Earthworks-Lecture-Compilation_Penarejo.pptx
Route-Surveying-Earthworks-Lecture-Compilation_Penarejo.pptx
shyrinabautista
 
1617 SEEART EHSAN HUMAN GENffETICS.pptx
1617 SEEART EHSAN  HUMAN GENffETICS.pptx1617 SEEART EHSAN  HUMAN GENffETICS.pptx
1617 SEEART EHSAN HUMAN GENffETICS.pptx
seeratehsan08
 
When Is the Best Time to Use Job Finding Apps?
When Is the Best Time to Use Job Finding Apps?When Is the Best Time to Use Job Finding Apps?
When Is the Best Time to Use Job Finding Apps?
SnapJob
 
Best Fashion Designing Colleges in Delhi
Best Fashion Designing Colleges in DelhiBest Fashion Designing Colleges in Delhi
Best Fashion Designing Colleges in Delhi
top10privatecolleges
 
RCM-billing in medical coding0000 1.pptx
RCM-billing in medical coding0000 1.pptxRCM-billing in medical coding0000 1.pptx
RCM-billing in medical coding0000 1.pptx
liajohn0808
 
RightShip-Inspection-Maritime-Safety-Simplified.pptx
RightShip-Inspection-Maritime-Safety-Simplified.pptxRightShip-Inspection-Maritime-Safety-Simplified.pptx
RightShip-Inspection-Maritime-Safety-Simplified.pptx
ultronmeg
 
Pixida, Simplifying Success in Germany, the USA, Brazil, China and Portugal
Pixida, Simplifying Success in Germany, the USA, Brazil, China and PortugalPixida, Simplifying Success in Germany, the USA, Brazil, China and Portugal
Pixida, Simplifying Success in Germany, the USA, Brazil, China and Portugal
TechMeetups
 
Hiyawkal Giachew internship ppt. (2).pdf
Hiyawkal Giachew internship ppt. (2).pdfHiyawkal Giachew internship ppt. (2).pdf
Hiyawkal Giachew internship ppt. (2).pdf
tsionasrat2
 
English For Carrier, It enhance your Communication Skills
English For Carrier, It enhance your Communication SkillsEnglish For Carrier, It enhance your Communication Skills
English For Carrier, It enhance your Communication Skills
ankitbeherabiru
 
!Warshauer Paul Curriculum Vitae, Resume
!Warshauer Paul Curriculum Vitae, Resume!Warshauer Paul Curriculum Vitae, Resume
!Warshauer Paul Curriculum Vitae, Resume
PaulWarshauer1
 
Placement cell of college - why choose me
Placement cell of college - why choose mePlacement cell of college - why choose me
Placement cell of college - why choose me
mmanvi024
 
KSHAR PPT.pptxhshdhdhdhdbdbdbfbdbdbdbdbdbd
KSHAR PPT.pptxhshdhdhdhdbdbdbfbdbdbdbdbdbdKSHAR PPT.pptxhshdhdhdhdbdbdbfbdbdbdbdbdbd
KSHAR PPT.pptxhshdhdhdhdbdbdbfbdbdbdbdbdbd
ArpitMalhotra16
 
EasyWorship Pro 2025 Crack with numerous key free Download
EasyWorship Pro 2025 Crack with numerous key free DownloadEasyWorship Pro 2025 Crack with numerous key free Download
EasyWorship Pro 2025 Crack with numerous key free Download
haleemasadia367999
 
SAFETY BRIEFING.........................
SAFETY BRIEFING.........................SAFETY BRIEFING.........................
SAFETY BRIEFING.........................
BalaChandran458212
 
Huckel_Molecular orbital _Theory_8_Slides.pptx
Huckel_Molecular orbital _Theory_8_Slides.pptxHuckel_Molecular orbital _Theory_8_Slides.pptx
Huckel_Molecular orbital _Theory_8_Slides.pptx
study2022bsc
 
VOLLEY BALL SPORT CLUB.PPTADADADADADADADAA
VOLLEY BALL SPORT CLUB.PPTADADADADADADADAAVOLLEY BALL SPORT CLUB.PPTADADADADADADADAA
VOLLEY BALL SPORT CLUB.PPTADADADADADADADAA
binopsditpamobvit
 
sorcesofdrugs-160228074 56 4246643544 (3).ppt
sorcesofdrugs-160228074 56 4246643544 (3).pptsorcesofdrugs-160228074 56 4246643544 (3).ppt
sorcesofdrugs-160228074 56 4246643544 (3).ppt
IndalSatnami
 
COPD.pptxxxxxxxxxxxxxxxx. xxxxxx̌x̌xxx̌
COPD.pptxxxxxxxxxxxxxxxx.   xxxxxx̌x̌xxx̌COPD.pptxxxxxxxxxxxxxxxx.   xxxxxx̌x̌xxx̌
COPD.pptxxxxxxxxxxxxxxxx. xxxxxx̌x̌xxx̌
priyankamuduli2112
 
powerpointguidelines_copy.pdf Najjajshshhshsh
powerpointguidelines_copy.pdf Najjajshshhshshpowerpointguidelines_copy.pdf Najjajshshhshsh
powerpointguidelines_copy.pdf Najjajshshhshsh
bcomstudynep
 
Classroom-Observations-Sept-2022.pptx FF
Classroom-Observations-Sept-2022.pptx  FFClassroom-Observations-Sept-2022.pptx  FF
Classroom-Observations-Sept-2022.pptx FF
FouziaAleem1
 
Route-Surveying-Earthworks-Lecture-Compilation_Penarejo.pptx
Route-Surveying-Earthworks-Lecture-Compilation_Penarejo.pptxRoute-Surveying-Earthworks-Lecture-Compilation_Penarejo.pptx
Route-Surveying-Earthworks-Lecture-Compilation_Penarejo.pptx
shyrinabautista
 
1617 SEEART EHSAN HUMAN GENffETICS.pptx
1617 SEEART EHSAN  HUMAN GENffETICS.pptx1617 SEEART EHSAN  HUMAN GENffETICS.pptx
1617 SEEART EHSAN HUMAN GENffETICS.pptx
seeratehsan08
 
When Is the Best Time to Use Job Finding Apps?
When Is the Best Time to Use Job Finding Apps?When Is the Best Time to Use Job Finding Apps?
When Is the Best Time to Use Job Finding Apps?
SnapJob
 
Best Fashion Designing Colleges in Delhi
Best Fashion Designing Colleges in DelhiBest Fashion Designing Colleges in Delhi
Best Fashion Designing Colleges in Delhi
top10privatecolleges
 
RCM-billing in medical coding0000 1.pptx
RCM-billing in medical coding0000 1.pptxRCM-billing in medical coding0000 1.pptx
RCM-billing in medical coding0000 1.pptx
liajohn0808
 
RightShip-Inspection-Maritime-Safety-Simplified.pptx
RightShip-Inspection-Maritime-Safety-Simplified.pptxRightShip-Inspection-Maritime-Safety-Simplified.pptx
RightShip-Inspection-Maritime-Safety-Simplified.pptx
ultronmeg
 
Pixida, Simplifying Success in Germany, the USA, Brazil, China and Portugal
Pixida, Simplifying Success in Germany, the USA, Brazil, China and PortugalPixida, Simplifying Success in Germany, the USA, Brazil, China and Portugal
Pixida, Simplifying Success in Germany, the USA, Brazil, China and Portugal
TechMeetups
 
Hiyawkal Giachew internship ppt. (2).pdf
Hiyawkal Giachew internship ppt. (2).pdfHiyawkal Giachew internship ppt. (2).pdf
Hiyawkal Giachew internship ppt. (2).pdf
tsionasrat2
 
English For Carrier, It enhance your Communication Skills
English For Carrier, It enhance your Communication SkillsEnglish For Carrier, It enhance your Communication Skills
English For Carrier, It enhance your Communication Skills
ankitbeherabiru
 
!Warshauer Paul Curriculum Vitae, Resume
!Warshauer Paul Curriculum Vitae, Resume!Warshauer Paul Curriculum Vitae, Resume
!Warshauer Paul Curriculum Vitae, Resume
PaulWarshauer1
 
Placement cell of college - why choose me
Placement cell of college - why choose mePlacement cell of college - why choose me
Placement cell of college - why choose me
mmanvi024
 
KSHAR PPT.pptxhshdhdhdhdbdbdbfbdbdbdbdbdbd
KSHAR PPT.pptxhshdhdhdhdbdbdbfbdbdbdbdbdbdKSHAR PPT.pptxhshdhdhdhdbdbdbfbdbdbdbdbdbd
KSHAR PPT.pptxhshdhdhdhdbdbdbfbdbdbdbdbdbd
ArpitMalhotra16
 
EasyWorship Pro 2025 Crack with numerous key free Download
EasyWorship Pro 2025 Crack with numerous key free DownloadEasyWorship Pro 2025 Crack with numerous key free Download
EasyWorship Pro 2025 Crack with numerous key free Download
haleemasadia367999
 
SAFETY BRIEFING.........................
SAFETY BRIEFING.........................SAFETY BRIEFING.........................
SAFETY BRIEFING.........................
BalaChandran458212
 
Ad

COMPRESSION MODELSCOMPRESSION MODELSCOMPRESSION MODELS

  • 2. WHAT IS COMPRESSION ? WHAT IS COMPRESSION ? • Image compression is the process of reducing amount of data Image compression is the process of reducing amount of data required to represent or store an image. required to represent or store an image. • Process of encoding data so that it take less storage space or Process of encoding data so that it take less storage space or less transmission time. less transmission time.
  • 3. Why Do We Need Image Compression? Why Do We Need Image Compression? • Consider a black and white image that has a resolution of Consider a black and white image that has a resolution of 1000*1000 1000*1000 • each pixel uses 8 bits to represent the intensity. each pixel uses 8 bits to represent the intensity. • So total no of bits required = 1000*1000*8 = 80,00,000 bits per So total no of bits required = 1000*1000*8 = 80,00,000 bits per image. image. • And consider if it is a video with 30 frames per second of the And consider if it is a video with 30 frames per second of the above-mentioned type images above-mentioned type images • total bits for a video of 3 secs is: 3*(30*(8, 000, 000)) total bits for a video of 3 secs is: 3*(30*(8, 000, 000)) • =720, 000, 000 bits =720, 000, 000 bits
  • 4. • Storage Efficiency: Compressed images require less storage Storage Efficiency: Compressed images require less storage space.​ space.​ • Transmission Speed: Smaller image files can be transmitted Transmission Speed: Smaller image files can be transmitted faster over networks.​ faster over networks.​ • Cost Reduction: Less storage and bandwidth usage lead to cost Cost Reduction: Less storage and bandwidth usage lead to cost savings.​ savings.​ • Improved Performance: Enhances performance of applications Improved Performance: Enhances performance of applications by reducing load times. by reducing load times.
  • 5. Data vs. Information Data vs. Information • Data: Raw pixel values in an image.​ • Information: Meaningful content derived from data.​ • Compression focuses on reducing data redundancy while preserving essential information.
  • 6. Redundancy and Its Types Redundancy and Its Types •Redundancy means Redundancy means repetitive data or repetitive data or unwanwanted data unwanwanted data CLASSIFICATION CLASSIFICATION  Interpixel Redundancy Interpixel Redundancy Psychovisual Redundancy Psychovisual Redundancy  Coding Redundancy Coding Redundancy
  • 7. Coding Redundancy Coding Redundancy  Coding redundancy is caused due to poor selection of coding Coding redundancy is caused due to poor selection of coding technique technique  Coding techniques assigns a unique code for all symbols of message Coding techniques assigns a unique code for all symbols of message • Wrong choice of coding technique creates unnecessary additional Wrong choice of coding technique creates unnecessary additional bits. These extra bits are called redundancy bits. These extra bits are called redundancy • CODING REDUNDANCY = AVERAGE BITS USED TO CODE - ENTROPHY CODING REDUNDANCY = AVERAGE BITS USED TO CODE - ENTROPHY
  • 8. Interpixel Redundancy Interpixel Redundancy • This type of redundancy is related with the inter-pixel This type of redundancy is related with the inter-pixel correlations within an image. correlations within an image. • The value of any given pixel can be predicted from the value of The value of any given pixel can be predicted from the value of its neighbours or adjacent pixels that are highly corelated. its neighbours or adjacent pixels that are highly corelated. • Inter-pixel dependency is solved by algorithms like: Inter-pixel dependency is solved by algorithms like: • Predictive Coding, Bit Plane Algorithm, Run Length Predictive Coding, Bit Plane Algorithm, Run Length
  • 9. Psychovisual Redundancy Psychovisual Redundancy • The eye and the brain do not respond to all visual information with The eye and the brain do not respond to all visual information with same sensitivity. same sensitivity. • Some information is neglected during the processing by the Some information is neglected during the processing by the brain.because human perception does not involve quantative analysis brain.because human perception does not involve quantative analysis of every pixel in the image. of every pixel in the image. • Elimination of this information does not affect the interpretation of Elimination of this information does not affect the interpretation of the image by the brain. the image by the brain. • Psycho visual redundancy is distinctly vision related, and its Psycho visual redundancy is distinctly vision related, and its elimination does result in loss of information. elimination does result in loss of information. • Quantization is an example. When 256 levels are reduced by grouping Quantization is an example. When 256 levels are reduced by grouping to 16 levels, objects are still recognizable. to 16 levels, objects are still recognizable.
  • 10. Image Compression Model Image Compression Model • Encoder: Compresses the Encoder: Compresses the image by reducing image by reducing redundancies redundancies • Decoder: Reconstructs the Decoder: Reconstructs the image from compressed image from compressed data data
  • 11. BLOCK DIAGRAM OF COMPRESSION MODEL BLOCK DIAGRAM OF COMPRESSION MODEL
  • 12. Stages of Encoder Stages of Encoder •MAPPER MAPPER Reduces Interpixel Redundancy Reduces Interpixel Redundancy Reversible operation Reversible operation QUANTIZER QUANTIZER Reduces Psychovisual Redundancy Reduces Psychovisual Redundancy Not a reversible operation Not a reversible operation SYMBOL ENCODER SYMBOL ENCODER To create a fixed or variable length code To create a fixed or variable length code Reversible operation Reversible operation
  • 24. JPEG Data compression JPEG Data compression • Joint Photographic Experts Group : lossy compression Joint Photographic Experts Group : lossy compression
  • 25. Algorithm of JPEG Data Compression : Algorithm of JPEG Data Compression : 1. 1.Splitting Splitting – We split our image into the blocks of 8*8 blocks. It forms – We split our image into the blocks of 8*8 blocks. It forms 64 blocks in which each block is referred to as 1 pixel. 64 blocks in which each block is referred to as 1 pixel. 2. 2.Color Space Transform Color Space Transform – In this phase, we convert R, G, B to Y, Cb, – In this phase, we convert R, G, B to Y, Cb, Cr model. Here Y is for brightness, Cb is color blueness and Cr Cr model. Here Y is for brightness, Cb is color blueness and Cr stands for Color redness. We transform it into chromium colors as stands for Color redness. We transform it into chromium colors as these are less sensitive to human eyes thus can be removed. these are less sensitive to human eyes thus can be removed. 3. 3.Apply DCT Apply DCT – We apply Direct cosine transform on each block. The – We apply Direct cosine transform on each block. The discrete cosine transform (DCT) represents an image as a sum of discrete cosine transform (DCT) represents an image as a sum of sinusoids of varying magnitudes and frequencies. sinusoids of varying magnitudes and frequencies.
  • 26. 4.Quantization 4.Quantization – reduce the no of bit per sample – reduce the no of bit per sample 5. Serialization – 5. Serialization – In serialization, we perform the zig-zag scanning In serialization, we perform the zig-zag scanning pattern to exploit redundancy. pattern to exploit redundancy. 6. Vectoring 6. Vectoring – We apply DPCM (differential pulse code modeling) on DC – We apply DPCM (differential pulse code modeling) on DC elements. DC elements are used to define the strength of colors. elements. DC elements are used to define the strength of colors. 7.Encoding 7.Encoding – – •In the last stage, we apply to encode either run-length encoding or In the last stage, we apply to encode either run-length encoding or Huffman encoding. The main aim is to convert the image into text and Huffman encoding. The main aim is to convert the image into text and by applying any encoding we convert it into binary form (0, 1) to by applying any encoding we convert it into binary form (0, 1) to compress the data. compress the data.