SlideShare a Scribd company logo
Digital Image Processing
Image Compression
Dr. Haris Masood
2
Background
Principal objective:
To minimize the number of bits required to represent an image.
Applications
Transmission:
Broadcast TV via satellite, military communications via aircraft,
teleconferencing, computer communications etc.
Storage:
Educational and business documents, medical images (CT, MRI and
digital radiology), motion pictures, satellite images, weather maps,
geological surveys, ...
3
Overview
Image data compression methods fall into two common
categories:
I. Information preserving compression
ď‚§ Especial for image archiving (storage of legal or medical records)
ď‚§ Compress and decompress images without losing information
II. Lossy image compression
ď‚§ Provide higher levels of data reduction
ď‚§ Result in a less than perfect reproduction of the original image
 Applications: –broadcast television, videoconferencing
4
5
Data vs. information
• Data is not the same thing as information
• Data are the means to convey information; various
amounts of data may be used to represent the same
amount of information Part of data may provide no
relevant information: data redundancy
• The amount of data can be much larger expressed
than the amount of information.
6
Data Redundancy
• Data that provide no relevant information=redundant data or
redundancy.
• Image compression techniques can be designed by
reducing or eliminating the Data Redundancy
• Image coding or compression has a goal to reduce the amount of
data by reducing the amount of redundancy.
7
Data Redundancy
8
Data Redundancy
Three basic data redundancies
ď‚§ Coding Redundancy
ď‚§ Interpixel Redundancy
ď‚§ Psychovisual Redundancy
9
Coding Redundancy
A natural m-bit coding method assigns m-bit to each gray
level without considering the probability that gray level occurs
with: Very likely to contain coding redundancy
Basic concept:
ď‚§ Utilize the probability of occurrence of each gray level
(histogram) to determine length of code representing that
particular gray level: variable-length coding.
ď‚§ Assign shorter code words to the gray levels that occur most
frequently or vice versa.
10
Coding Redundancy
11
Coding Redundancy (Example)
12
Coding Redundancy (Example)
13
Coding Redundancy (Example)
14
Interpixel Redundancy
ď‚§ Caused by High Interpixel Correlations within an image, i.e.,
gray level of any given pixel can be reasonably predicted from
the value of its neighbors (information carried by individual
pixels is relatively small) spatial redundancy, geometric
redundancy, interframe redundancy (in general, interpixel
redundancy )
ď‚§ To reduce the interpixel redundancy, mapping is used. The
mapping scheme can be selected according to the properties of
redundancy.
ď‚§ An example of mapping can be to map pixels of an image: f(x,y)
to a sequence of pairs: (g1,r1), (g2,r2), ..., (gi,ri), ..
gi: ith gray level ri: run length of the ith run
15
Interpixel Redundancy (Example)
16
Psychovisual Redundancy
ď‚§ The eye does not respond with equal sensitivity to all visual
information.
ď‚§ Certain information has less relative importance than other
information in normal visual processing psychovisually
redundant (which can be eliminated without significantly
impairing the quality of image perception).
ď‚§ The elimination of psychovisually redundant data results in a loss
of quantitative information lossy data compression method.
ď‚§ Image compression methods based on the elimination of
psychovisually redundant data (usually called quantization) are
usually applied to commercial broadcast TV and similar
applications for human visualization.
17
Psychovisual Redundancy
18
Psychovisual Redundancy
19
Psychovisual Redundancy
20
Fidelity Criteria
21
Fidelity Criteria
22
Fidelity Criteria
23
Image Compression Models
ď‚§ The encoder creates a set of symbols (compressed) from the input
data.
ď‚§ The data is transmitted over the channel and is fed to decoder.
ď‚§ The decoder reconstructs the output signal from the coded symbols.
ď‚§ The source encoder removes the input redundancies, and the
channel encoder increases the noise immunity.
24
Source Encoder and Decoder
25
Types of Compression
• Lossless compression
– Huffman coding
– Bit-plane coding
– Run length coding
• Lossy compression
– Lossy predictive coding
– Transform coding
– JPEG
Error-Free Compression
26
Variable-length Coding Methods: Huffman Coding
27
Variable-length Coding Methods: Huffman Coding
28
29
Mapping
30
•There is often correlation between adjacent pixels, i.e. the value
of the neighbors of an observed pixel can often be predicted from
the value of the observed pixel. (Interpixel Redundancy).
•Mapping is used to remove Interpixel Redundancy.
•Two mapping techniques are:
ď‚§ Run length coding
ď‚§ Difference coding.
31
32
33
34
35
Other Variable-length Coding Methods
LZW Coding
Lempel-Ziv-Welch (LZW) coding assigns fixed length code
words to variable length sequences of source symbols.
37
Example
38
40
Bitplane Coding (1/2)
• It reduces the images interpixel redundancies by
processing the image’s bit planes individually.
• The multilevel images are decomposed into a series of
binary images and then compressing the binary
images using one of the several well-known binary
compression methods.
• The images are often first gray coded before the bit
plane decomposition is carried out to avoid too many
0 to 1 transitions across bit planes for pixel values that
are close to each other.
Bit-Plane Coding
Bit-Plane Decomposition (Example)
Bit-Plane Decomposition (Example)
Bit-Plane Decomposition (Example)
Arithmetic Coding
• There is no one to one correspondence between source
symbols and code words.
• An entire sequence of source symbols is assigned a single
code word.
• Each source symbol is represented by an interval in [0,1).
As the number of symbols increases the size of the
interval reduces in accordance with the probability of
occurrence of symbols.
Arithmetic
Coding
a1 0.2 [0,0.20
a2 0.2 [0.2,0.4)
a3 0.4 [0.4,0.8)
a4 0.2 [0.8,1.0)
Sequence to be coded a1 a2 a3 a3 a4
Arithmetic Coding
• Inaccurate probability models can lead to non-optimal results
• Solution: use an adaptive, context dependent probability model
• Adaptive: symbols probabilities are updated as the symbols are
coded.
• Context dependent: probabilities are based on a predefined
neighbourhood of pixels around the symbol being coded.
48
Constant Area Coding (1/2)
• A simple method to compress binary or bit
plane images is to use special code words to
denote large areas of continuous 0’s or 1’s.
• The image is divided into blocks of p x q pixels,
which are classified as all black, all white or
mixed.
• The most probable or frequently occurring
category is assigned the 1-bit code word 0, and
the other two categories are assigned 2 bit code
words 10 and 11.
CAC-Algorithm
• Special codeword's are used to identify large areas of contiguous 1's or 0's
• The whole image (M*N Pixels) is divided into blocks of size (P*Q Pixels)
• Blocks are classified as
• White (W) Blocks: having only white pixels
• Black (B) Blocks: having only black pixels
• Mixed (M) Blocks: having mixed intensity.
• The most frequent occurring category is assigned with 1-bit codeword 0
• If image contain only two categories, the other category is assigned with 1-bit
codeword 1
• Else the remaining other two categories are assigned with 2-bit codes 10 and 11
• The codeword assigned to the Mixed (M) Block category is used as a prefix,
which is followed by the P*Q-bit pattern of the block.
• Compression is achieved because the P*Q bits that are normally used to represent
each constant area (block) are replaced by a 1-bit or 2-bit codeword for White and
Black Blocks
• Compression Ratio (CR) = (N1 / N2)
49
Binary Image Compression: 1-D Run-Length Coding
(1D RLC): Lossless Technique
Binary Image Compression: 1-D Run-
Length Coding
51
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 is most commonly used to compress
multimedia data (audio, video, still images), especially in
applications such as streaming media and internet telephony.
notes_Image Compression_edited.ppt
JPEG
• Lossy Compression Technique based on use
of Discrete Cosine Transform (DCT)
• A DCT is similar to a Fourier transform in
the sense that it produces a kind of spatial
frequency spectrum
STEPS IN JPEG COMPRESSION
• Divide Each plane into 8x8 size blocks.
• Transform the pixel information from the spatial domain
to the frequency domain with the Discrete Cosine
Transform. (Compute DCT of each block)
• Quantize the resulting values by dividing each coefficient
by an integer value and rounding off to the nearest integer.
• Arrange the resulting coefficients in a zigzag order. so
that the coefficients are in order of increasing frequency.
The higher frequency coefficients are more likely to be 0
after quantization. This improves the compression of run-
length encoding.
• Do a run-length encoding of the coefficients ordered in
this manner. Follow by Huffman coding. (Separately
encode DC components and transmit data.)
JPEG COMPRESSION
JPEG COMPRESSION
•The most important values to our eyes will be placed in the
upper left corner of the matrix.
•The least important values will be mostly in the lower right
corner of the matrix.
Semi-
Important
Most
Important
Least
Important
JPEG COMPRESSION
The example image 8*8 matrix
before DCT transformation.
JPEG COMPRESSION
Gray-Scale Example:
Value Range 0 (black) --- 255
(white)
63 33 36 28 63 81 86 98
27 18 17 11 22 48 104 108
72 52 28 15 17 16 47 77
132 100 56 19 10 9 21 55
187 186 166 88 13 34 43 51
184 203 199 177 82 44 97 73
211 214 208 198 134 52 78 83
211 210 203 191 133 79 74 86
JPEG COMPRESSION
2D-DCT of matrix
Value Range 0 (Gray) --- -355
(Black)
-304 210 104 -69 10 20 -12 7
-327 -260 67 70 -10 -15 21 8
93 -84 -66 16 24 -2 -5 9
89 33 -19 -20 -26 21 -3 0
-9 42 18 27 -7 -17 29 -7
-5 15 -10 17 32 -15 -4 7
10 3 -12 -1 2 3 -2 -3
12 30 0 -3 -3 -6 12 -1
JPEG COMPRESSION
Cut the least significant
components
Value Range 0 (Gray) --- -355
(Black)
-304 210 104 -69 10 20 -12 0
-327 -260 67 70 -10 -15 0 0
93 -84 -66 16 24 0 0 0
89 33 -19 -20 0 0 0 0
-9 42 18 0 0 0 0 0
-5 15 0 0 0 0 0 0
10 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
JPEG COMPRESSION
Original Compressed
Results…
notes_Image Compression_edited.ppt
Some Common Image Formats
Some Common Image Formats
Ad

More Related Content

Similar to notes_Image Compression_edited.ppt (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)
Joel P
 
Image compression and jpeg
Image compression and jpegImage compression and jpeg
Image compression and jpeg
theem college of engineering
 
image compression ppt
image compression pptimage compression ppt
image compression ppt
Shivangi Saxena
 
CCITT Group 3 1D COMPRESSION, lossless compression
CCITT Group 3 1D COMPRESSION, lossless compressionCCITT Group 3 1D COMPRESSION, lossless compression
CCITT Group 3 1D COMPRESSION, lossless compression
aryanchouhan955
 
image basics and image compression
image basics and image compressionimage basics and image compression
image basics and image compression
murugan hari
 
2019010413470100000524_Sesi10_Multimedia Data Compression II.ppt
2019010413470100000524_Sesi10_Multimedia Data Compression II.ppt2019010413470100000524_Sesi10_Multimedia Data Compression II.ppt
2019010413470100000524_Sesi10_Multimedia Data Compression II.ppt
ReinertYosua
 
Digital Image Processing - Image Compression
Digital Image Processing - Image CompressionDigital Image Processing - Image Compression
Digital Image Processing - Image Compression
Mathankumar S
 
Image Compression Digital Image processing
Image Compression Digital Image processingImage Compression Digital Image processing
Image Compression Digital Image processing
MasudAfjal1
 
Image compression
Image compressionImage compression
Image compression
Bassam Kanber
 
Compression
CompressionCompression
Compression
Vishal Suri
 
Compression
CompressionCompression
Compression
anithabalaprabhu
 
06 cie552 image_manipulation
06 cie552 image_manipulation06 cie552 image_manipulation
06 cie552 image_manipulation
Elsayed Hemayed
 
Image Compression, Introduction Data Compression/ Data compression, modelling...
Image Compression, Introduction Data Compression/ Data compression, modelling...Image Compression, Introduction Data Compression/ Data compression, modelling...
Image Compression, Introduction Data Compression/ Data compression, modelling...
Smt. Indira Gandhi College of Engineering, Navi Mumbai, Mumbai
 
ImageCompression.ppt
ImageCompression.pptImageCompression.ppt
ImageCompression.ppt
dudoo1
 
ImageCompression.ppt
ImageCompression.pptImageCompression.ppt
ImageCompression.ppt
ssuser6d1fca
 
Module 5.pptxsssssssssssssssssssssssssssssssssssssss
Module 5.pptxsssssssssssssssssssssssssssssssssssssssModule 5.pptxsssssssssssssssssssssssssssssssssssssss
Module 5.pptxsssssssssssssssssssssssssssssssssssssss
ATHMARANJANBhandary
 
Digital Image Processing aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...
Digital Image Processing aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...Digital Image Processing aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...
Digital Image Processing aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...
ATHMARANJANBhandary
 
H017653645
H017653645H017653645
H017653645
IOSR Journals
 
Chaos Encryption and Coding for Image Transmission over Noisy Channels
Chaos Encryption and Coding for Image Transmission over Noisy ChannelsChaos Encryption and Coding for Image Transmission over Noisy Channels
Chaos Encryption and Coding for Image Transmission over Noisy Channels
iosrjce
 
image compression in data compression
image compression in data compressionimage compression in data compression
image compression in data compression
Zaabir Ali
 
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 compression ppt
image compression pptimage compression ppt
image compression ppt
Shivangi Saxena
 
CCITT Group 3 1D COMPRESSION, lossless compression
CCITT Group 3 1D COMPRESSION, lossless compressionCCITT Group 3 1D COMPRESSION, lossless compression
CCITT Group 3 1D COMPRESSION, lossless compression
aryanchouhan955
 
image basics and image compression
image basics and image compressionimage basics and image compression
image basics and image compression
murugan hari
 
2019010413470100000524_Sesi10_Multimedia Data Compression II.ppt
2019010413470100000524_Sesi10_Multimedia Data Compression II.ppt2019010413470100000524_Sesi10_Multimedia Data Compression II.ppt
2019010413470100000524_Sesi10_Multimedia Data Compression II.ppt
ReinertYosua
 
Digital Image Processing - Image Compression
Digital Image Processing - Image CompressionDigital Image Processing - Image Compression
Digital Image Processing - Image Compression
Mathankumar S
 
Image Compression Digital Image processing
Image Compression Digital Image processingImage Compression Digital Image processing
Image Compression Digital Image processing
MasudAfjal1
 
Image compression
Image compressionImage compression
Image compression
Bassam Kanber
 
Compression
CompressionCompression
Compression
Vishal Suri
 
06 cie552 image_manipulation
06 cie552 image_manipulation06 cie552 image_manipulation
06 cie552 image_manipulation
Elsayed Hemayed
 
ImageCompression.ppt
ImageCompression.pptImageCompression.ppt
ImageCompression.ppt
dudoo1
 
ImageCompression.ppt
ImageCompression.pptImageCompression.ppt
ImageCompression.ppt
ssuser6d1fca
 
Module 5.pptxsssssssssssssssssssssssssssssssssssssss
Module 5.pptxsssssssssssssssssssssssssssssssssssssssModule 5.pptxsssssssssssssssssssssssssssssssssssssss
Module 5.pptxsssssssssssssssssssssssssssssssssssssss
ATHMARANJANBhandary
 
Digital Image Processing aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...
Digital Image Processing aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...Digital Image Processing aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...
Digital Image Processing aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...
ATHMARANJANBhandary
 
Chaos Encryption and Coding for Image Transmission over Noisy Channels
Chaos Encryption and Coding for Image Transmission over Noisy ChannelsChaos Encryption and Coding for Image Transmission over Noisy Channels
Chaos Encryption and Coding for Image Transmission over Noisy Channels
iosrjce
 
image compression in data compression
image compression in data compressionimage compression in data compression
image compression in data compression
Zaabir Ali
 

More from HarisMasood20 (20)

CACIO-2022 (ACC Meeting) 15 Nov conference.pptx
CACIO-2022 (ACC Meeting) 15 Nov conference.pptxCACIO-2022 (ACC Meeting) 15 Nov conference.pptx
CACIO-2022 (ACC Meeting) 15 Nov conference.pptx
HarisMasood20
 
Updated Visit Presentation (Sir Syed).pptx
Updated Visit Presentation (Sir Syed).pptxUpdated Visit Presentation (Sir Syed).pptx
Updated Visit Presentation (Sir Syed).pptx
HarisMasood20
 
New Research Targets for EE Faculty July 22- June 2023 (Dr. Haris).pptx
New Research Targets for EE Faculty July 22- June 2023 (Dr. Haris).pptxNew Research Targets for EE Faculty July 22- June 2023 (Dr. Haris).pptx
New Research Targets for EE Faculty July 22- June 2023 (Dr. Haris).pptx
HarisMasood20
 
Revolutionizing Healthcare through Imaging and Diagnostics.pptx
Revolutionizing Healthcare through Imaging and Diagnostics.pptxRevolutionizing Healthcare through Imaging and Diagnostics.pptx
Revolutionizing Healthcare through Imaging and Diagnostics.pptx
HarisMasood20
 
Talent Hunt Report (Rida Fatima) Mechanical.pptx
Talent Hunt Report (Rida Fatima) Mechanical.pptxTalent Hunt Report (Rida Fatima) Mechanical.pptx
Talent Hunt Report (Rida Fatima) Mechanical.pptx
HarisMasood20
 
[V2] Report of Activities for Weak Students (Faculty of Engineering) (1).pptx
[V2] Report of Activities for Weak Students (Faculty of Engineering) (1).pptx[V2] Report of Activities for Weak Students (Faculty of Engineering) (1).pptx
[V2] Report of Activities for Weak Students (Faculty of Engineering) (1).pptx
HarisMasood20
 
PIDE RAASTA Application ID # 06-092 (1).pptx
PIDE RAASTA Application ID # 06-092 (1).pptxPIDE RAASTA Application ID # 06-092 (1).pptx
PIDE RAASTA Application ID # 06-092 (1).pptx
HarisMasood20
 
CACIO industrial organization Presentation.pptx
CACIO industrial organization Presentation.pptxCACIO industrial organization Presentation.pptx
CACIO industrial organization Presentation.pptx
HarisMasood20
 
ARTIFICIAL_INTELLIGENCE_AI_Impact_on_Edu.pptx
ARTIFICIAL_INTELLIGENCE_AI_Impact_on_Edu.pptxARTIFICIAL_INTELLIGENCE_AI_Impact_on_Edu.pptx
ARTIFICIAL_INTELLIGENCE_AI_Impact_on_Edu.pptx
HarisMasood20
 
MoU-presentation template for industries.pptx
MoU-presentation template for industries.pptxMoU-presentation template for industries.pptx
MoU-presentation template for industries.pptx
HarisMasood20
 
Lecture#02 Digital Logic Design slides.pptx
Lecture#02 Digital Logic Design slides.pptxLecture#02 Digital Logic Design slides.pptx
Lecture#02 Digital Logic Design slides.pptx
HarisMasood20
 
Updated Revenue Generation (Chemical Engineering) - August, 2023 to February,...
Updated Revenue Generation (Chemical Engineering) - August, 2023 to February,...Updated Revenue Generation (Chemical Engineering) - August, 2023 to February,...
Updated Revenue Generation (Chemical Engineering) - August, 2023 to February,...
HarisMasood20
 
Open House & Job Fair 2024 Meeting Agenda Points.pptx
Open House & Job Fair 2024 Meeting Agenda Points.pptxOpen House & Job Fair 2024 Meeting Agenda Points.pptx
Open House & Job Fair 2024 Meeting Agenda Points.pptx
HarisMasood20
 
FYDP Defense Presentation 2023 Electrical.pptx
FYDP Defense Presentation 2023 Electrical.pptxFYDP Defense Presentation 2023 Electrical.pptx
FYDP Defense Presentation 2023 Electrical.pptx
HarisMasood20
 
-Report of the Activities Done for Struggling Students.pptx
-Report of the Activities Done for Struggling Students.pptx-Report of the Activities Done for Struggling Students.pptx
-Report of the Activities Done for Struggling Students.pptx
HarisMasood20
 
10aiusesinhealthcare-21060120322353.pptx
10aiusesinhealthcare-21060120322353.pptx10aiusesinhealthcare-21060120322353.pptx
10aiusesinhealthcare-21060120322353.pptx
HarisMasood20
 
Dr Sohaira-CACIO-V2a_EngineeringTech.pptx
Dr Sohaira-CACIO-V2a_EngineeringTech.pptxDr Sohaira-CACIO-V2a_EngineeringTech.pptx
Dr Sohaira-CACIO-V2a_EngineeringTech.pptx
HarisMasood20
 
Faculty of Engineering-Summary of Activities to Groom Students (SW and CPE).pptx
Faculty of Engineering-Summary of Activities to Groom Students (SW and CPE).pptxFaculty of Engineering-Summary of Activities to Groom Students (SW and CPE).pptx
Faculty of Engineering-Summary of Activities to Groom Students (SW and CPE).pptx
HarisMasood20
 
1. Deans Presentation Departmental Admission and Campaign (02-14-2024).pptx
1. Deans Presentation Departmental Admission and Campaign  (02-14-2024).pptx1. Deans Presentation Departmental Admission and Campaign  (02-14-2024).pptx
1. Deans Presentation Departmental Admission and Campaign (02-14-2024).pptx
HarisMasood20
 
assessment of EBTL organization theory.pptx
assessment of EBTL organization theory.pptxassessment of EBTL organization theory.pptx
assessment of EBTL organization theory.pptx
HarisMasood20
 
CACIO-2022 (ACC Meeting) 15 Nov conference.pptx
CACIO-2022 (ACC Meeting) 15 Nov conference.pptxCACIO-2022 (ACC Meeting) 15 Nov conference.pptx
CACIO-2022 (ACC Meeting) 15 Nov conference.pptx
HarisMasood20
 
Updated Visit Presentation (Sir Syed).pptx
Updated Visit Presentation (Sir Syed).pptxUpdated Visit Presentation (Sir Syed).pptx
Updated Visit Presentation (Sir Syed).pptx
HarisMasood20
 
New Research Targets for EE Faculty July 22- June 2023 (Dr. Haris).pptx
New Research Targets for EE Faculty July 22- June 2023 (Dr. Haris).pptxNew Research Targets for EE Faculty July 22- June 2023 (Dr. Haris).pptx
New Research Targets for EE Faculty July 22- June 2023 (Dr. Haris).pptx
HarisMasood20
 
Revolutionizing Healthcare through Imaging and Diagnostics.pptx
Revolutionizing Healthcare through Imaging and Diagnostics.pptxRevolutionizing Healthcare through Imaging and Diagnostics.pptx
Revolutionizing Healthcare through Imaging and Diagnostics.pptx
HarisMasood20
 
Talent Hunt Report (Rida Fatima) Mechanical.pptx
Talent Hunt Report (Rida Fatima) Mechanical.pptxTalent Hunt Report (Rida Fatima) Mechanical.pptx
Talent Hunt Report (Rida Fatima) Mechanical.pptx
HarisMasood20
 
[V2] Report of Activities for Weak Students (Faculty of Engineering) (1).pptx
[V2] Report of Activities for Weak Students (Faculty of Engineering) (1).pptx[V2] Report of Activities for Weak Students (Faculty of Engineering) (1).pptx
[V2] Report of Activities for Weak Students (Faculty of Engineering) (1).pptx
HarisMasood20
 
PIDE RAASTA Application ID # 06-092 (1).pptx
PIDE RAASTA Application ID # 06-092 (1).pptxPIDE RAASTA Application ID # 06-092 (1).pptx
PIDE RAASTA Application ID # 06-092 (1).pptx
HarisMasood20
 
CACIO industrial organization Presentation.pptx
CACIO industrial organization Presentation.pptxCACIO industrial organization Presentation.pptx
CACIO industrial organization Presentation.pptx
HarisMasood20
 
ARTIFICIAL_INTELLIGENCE_AI_Impact_on_Edu.pptx
ARTIFICIAL_INTELLIGENCE_AI_Impact_on_Edu.pptxARTIFICIAL_INTELLIGENCE_AI_Impact_on_Edu.pptx
ARTIFICIAL_INTELLIGENCE_AI_Impact_on_Edu.pptx
HarisMasood20
 
MoU-presentation template for industries.pptx
MoU-presentation template for industries.pptxMoU-presentation template for industries.pptx
MoU-presentation template for industries.pptx
HarisMasood20
 
Lecture#02 Digital Logic Design slides.pptx
Lecture#02 Digital Logic Design slides.pptxLecture#02 Digital Logic Design slides.pptx
Lecture#02 Digital Logic Design slides.pptx
HarisMasood20
 
Updated Revenue Generation (Chemical Engineering) - August, 2023 to February,...
Updated Revenue Generation (Chemical Engineering) - August, 2023 to February,...Updated Revenue Generation (Chemical Engineering) - August, 2023 to February,...
Updated Revenue Generation (Chemical Engineering) - August, 2023 to February,...
HarisMasood20
 
Open House & Job Fair 2024 Meeting Agenda Points.pptx
Open House & Job Fair 2024 Meeting Agenda Points.pptxOpen House & Job Fair 2024 Meeting Agenda Points.pptx
Open House & Job Fair 2024 Meeting Agenda Points.pptx
HarisMasood20
 
FYDP Defense Presentation 2023 Electrical.pptx
FYDP Defense Presentation 2023 Electrical.pptxFYDP Defense Presentation 2023 Electrical.pptx
FYDP Defense Presentation 2023 Electrical.pptx
HarisMasood20
 
-Report of the Activities Done for Struggling Students.pptx
-Report of the Activities Done for Struggling Students.pptx-Report of the Activities Done for Struggling Students.pptx
-Report of the Activities Done for Struggling Students.pptx
HarisMasood20
 
10aiusesinhealthcare-21060120322353.pptx
10aiusesinhealthcare-21060120322353.pptx10aiusesinhealthcare-21060120322353.pptx
10aiusesinhealthcare-21060120322353.pptx
HarisMasood20
 
Dr Sohaira-CACIO-V2a_EngineeringTech.pptx
Dr Sohaira-CACIO-V2a_EngineeringTech.pptxDr Sohaira-CACIO-V2a_EngineeringTech.pptx
Dr Sohaira-CACIO-V2a_EngineeringTech.pptx
HarisMasood20
 
Faculty of Engineering-Summary of Activities to Groom Students (SW and CPE).pptx
Faculty of Engineering-Summary of Activities to Groom Students (SW and CPE).pptxFaculty of Engineering-Summary of Activities to Groom Students (SW and CPE).pptx
Faculty of Engineering-Summary of Activities to Groom Students (SW and CPE).pptx
HarisMasood20
 
1. Deans Presentation Departmental Admission and Campaign (02-14-2024).pptx
1. Deans Presentation Departmental Admission and Campaign  (02-14-2024).pptx1. Deans Presentation Departmental Admission and Campaign  (02-14-2024).pptx
1. Deans Presentation Departmental Admission and Campaign (02-14-2024).pptx
HarisMasood20
 
assessment of EBTL organization theory.pptx
assessment of EBTL organization theory.pptxassessment of EBTL organization theory.pptx
assessment of EBTL organization theory.pptx
HarisMasood20
 
Ad

Recently uploaded (20)

DT REPORT by Tech titan GROUP to introduce the subject design Thinking
DT REPORT by Tech titan GROUP to introduce the subject design ThinkingDT REPORT by Tech titan GROUP to introduce the subject design Thinking
DT REPORT by Tech titan GROUP to introduce the subject design Thinking
DhruvChotaliya2
 
"Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G...
"Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G..."Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G...
"Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G...
Infopitaara
 
15th International Conference on Computer Science, Engineering and Applicatio...
15th International Conference on Computer Science, Engineering and Applicatio...15th International Conference on Computer Science, Engineering and Applicatio...
15th International Conference on Computer Science, Engineering and Applicatio...
IJCSES Journal
 
RICS Membership-(The Royal Institution of Chartered Surveyors).pdf
RICS Membership-(The Royal Institution of Chartered Surveyors).pdfRICS Membership-(The Royal Institution of Chartered Surveyors).pdf
RICS Membership-(The Royal Institution of Chartered Surveyors).pdf
MohamedAbdelkader115
 
New Microsoft PowerPoint Presentation.pdf
New Microsoft PowerPoint Presentation.pdfNew Microsoft PowerPoint Presentation.pdf
New Microsoft PowerPoint Presentation.pdf
mohamedezzat18803
 
Introduction to FLUID MECHANICS & KINEMATICS
Introduction to FLUID MECHANICS &  KINEMATICSIntroduction to FLUID MECHANICS &  KINEMATICS
Introduction to FLUID MECHANICS & KINEMATICS
narayanaswamygdas
 
Machine learning project on employee attrition detection using (2).pptx
Machine learning project on employee attrition detection using (2).pptxMachine learning project on employee attrition detection using (2).pptx
Machine learning project on employee attrition detection using (2).pptx
rajeswari89780
 
Degree_of_Automation.pdf for Instrumentation and industrial specialist
Degree_of_Automation.pdf for  Instrumentation  and industrial specialistDegree_of_Automation.pdf for  Instrumentation  and industrial specialist
Degree_of_Automation.pdf for Instrumentation and industrial specialist
shreyabhosale19
 
introduction to machine learining for beginers
introduction to machine learining for beginersintroduction to machine learining for beginers
introduction to machine learining for beginers
JoydebSheet
 
Introduction to Zoomlion Earthmoving.pptx
Introduction to Zoomlion Earthmoving.pptxIntroduction to Zoomlion Earthmoving.pptx
Introduction to Zoomlion Earthmoving.pptx
AS1920
 
Data Structures_Introduction to algorithms.pptx
Data Structures_Introduction to algorithms.pptxData Structures_Introduction to algorithms.pptx
Data Structures_Introduction to algorithms.pptx
RushaliDeshmukh2
 
ADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITY
ADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITYADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITY
ADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITY
ijscai
 
Lidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptx
Lidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptxLidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptx
Lidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptx
RishavKumar530754
 
LECTURE-16 EARTHEN DAM - II.pptx it's uses
LECTURE-16 EARTHEN DAM - II.pptx it's usesLECTURE-16 EARTHEN DAM - II.pptx it's uses
LECTURE-16 EARTHEN DAM - II.pptx it's uses
CLokeshBehera123
 
MAQUINARIA MINAS CEMA 6th Edition (1).pdf
MAQUINARIA MINAS CEMA 6th Edition (1).pdfMAQUINARIA MINAS CEMA 6th Edition (1).pdf
MAQUINARIA MINAS CEMA 6th Edition (1).pdf
ssuser562df4
 
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
charlesdick1345
 
Development of MLR, ANN and ANFIS Models for Estimation of PCUs at Different ...
Development of MLR, ANN and ANFIS Models for Estimation of PCUs at Different ...Development of MLR, ANN and ANFIS Models for Estimation of PCUs at Different ...
Development of MLR, ANN and ANFIS Models for Estimation of PCUs at Different ...
Journal of Soft Computing in Civil Engineering
 
Mathematical foundation machine learning.pdf
Mathematical foundation machine learning.pdfMathematical foundation machine learning.pdf
Mathematical foundation machine learning.pdf
TalhaShahid49
 
five-year-soluhhhhhhhhhhhhhhhhhtions.pdf
five-year-soluhhhhhhhhhhhhhhhhhtions.pdffive-year-soluhhhhhhhhhhhhhhhhhtions.pdf
five-year-soluhhhhhhhhhhhhhhhhhtions.pdf
AdityaSharma944496
 
"Boiler Feed Pump (BFP): Working, Applications, Advantages, and Limitations E...
"Boiler Feed Pump (BFP): Working, Applications, Advantages, and Limitations E..."Boiler Feed Pump (BFP): Working, Applications, Advantages, and Limitations E...
"Boiler Feed Pump (BFP): Working, Applications, Advantages, and Limitations E...
Infopitaara
 
DT REPORT by Tech titan GROUP to introduce the subject design Thinking
DT REPORT by Tech titan GROUP to introduce the subject design ThinkingDT REPORT by Tech titan GROUP to introduce the subject design Thinking
DT REPORT by Tech titan GROUP to introduce the subject design Thinking
DhruvChotaliya2
 
"Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G...
"Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G..."Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G...
"Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G...
Infopitaara
 
15th International Conference on Computer Science, Engineering and Applicatio...
15th International Conference on Computer Science, Engineering and Applicatio...15th International Conference on Computer Science, Engineering and Applicatio...
15th International Conference on Computer Science, Engineering and Applicatio...
IJCSES Journal
 
RICS Membership-(The Royal Institution of Chartered Surveyors).pdf
RICS Membership-(The Royal Institution of Chartered Surveyors).pdfRICS Membership-(The Royal Institution of Chartered Surveyors).pdf
RICS Membership-(The Royal Institution of Chartered Surveyors).pdf
MohamedAbdelkader115
 
New Microsoft PowerPoint Presentation.pdf
New Microsoft PowerPoint Presentation.pdfNew Microsoft PowerPoint Presentation.pdf
New Microsoft PowerPoint Presentation.pdf
mohamedezzat18803
 
Introduction to FLUID MECHANICS & KINEMATICS
Introduction to FLUID MECHANICS &  KINEMATICSIntroduction to FLUID MECHANICS &  KINEMATICS
Introduction to FLUID MECHANICS & KINEMATICS
narayanaswamygdas
 
Machine learning project on employee attrition detection using (2).pptx
Machine learning project on employee attrition detection using (2).pptxMachine learning project on employee attrition detection using (2).pptx
Machine learning project on employee attrition detection using (2).pptx
rajeswari89780
 
Degree_of_Automation.pdf for Instrumentation and industrial specialist
Degree_of_Automation.pdf for  Instrumentation  and industrial specialistDegree_of_Automation.pdf for  Instrumentation  and industrial specialist
Degree_of_Automation.pdf for Instrumentation and industrial specialist
shreyabhosale19
 
introduction to machine learining for beginers
introduction to machine learining for beginersintroduction to machine learining for beginers
introduction to machine learining for beginers
JoydebSheet
 
Introduction to Zoomlion Earthmoving.pptx
Introduction to Zoomlion Earthmoving.pptxIntroduction to Zoomlion Earthmoving.pptx
Introduction to Zoomlion Earthmoving.pptx
AS1920
 
Data Structures_Introduction to algorithms.pptx
Data Structures_Introduction to algorithms.pptxData Structures_Introduction to algorithms.pptx
Data Structures_Introduction to algorithms.pptx
RushaliDeshmukh2
 
ADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITY
ADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITYADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITY
ADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITY
ijscai
 
Lidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptx
Lidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptxLidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptx
Lidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptx
RishavKumar530754
 
LECTURE-16 EARTHEN DAM - II.pptx it's uses
LECTURE-16 EARTHEN DAM - II.pptx it's usesLECTURE-16 EARTHEN DAM - II.pptx it's uses
LECTURE-16 EARTHEN DAM - II.pptx it's uses
CLokeshBehera123
 
MAQUINARIA MINAS CEMA 6th Edition (1).pdf
MAQUINARIA MINAS CEMA 6th Edition (1).pdfMAQUINARIA MINAS CEMA 6th Edition (1).pdf
MAQUINARIA MINAS CEMA 6th Edition (1).pdf
ssuser562df4
 
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
charlesdick1345
 
Development of MLR, ANN and ANFIS Models for Estimation of PCUs at Different ...
Development of MLR, ANN and ANFIS Models for Estimation of PCUs at Different ...Development of MLR, ANN and ANFIS Models for Estimation of PCUs at Different ...
Development of MLR, ANN and ANFIS Models for Estimation of PCUs at Different ...
Journal of Soft Computing in Civil Engineering
 
Mathematical foundation machine learning.pdf
Mathematical foundation machine learning.pdfMathematical foundation machine learning.pdf
Mathematical foundation machine learning.pdf
TalhaShahid49
 
five-year-soluhhhhhhhhhhhhhhhhhtions.pdf
five-year-soluhhhhhhhhhhhhhhhhhtions.pdffive-year-soluhhhhhhhhhhhhhhhhhtions.pdf
five-year-soluhhhhhhhhhhhhhhhhhtions.pdf
AdityaSharma944496
 
"Boiler Feed Pump (BFP): Working, Applications, Advantages, and Limitations E...
"Boiler Feed Pump (BFP): Working, Applications, Advantages, and Limitations E..."Boiler Feed Pump (BFP): Working, Applications, Advantages, and Limitations E...
"Boiler Feed Pump (BFP): Working, Applications, Advantages, and Limitations E...
Infopitaara
 
Ad

notes_Image Compression_edited.ppt

  • 1. Digital Image Processing Image Compression Dr. Haris Masood
  • 2. 2 Background Principal objective: To minimize the number of bits required to represent an image. Applications Transmission: Broadcast TV via satellite, military communications via aircraft, teleconferencing, computer communications etc. Storage: Educational and business documents, medical images (CT, MRI and digital radiology), motion pictures, satellite images, weather maps, geological surveys, ...
  • 3. 3 Overview Image data compression methods fall into two common categories: I. Information preserving compression ď‚§ Especial for image archiving (storage of legal or medical records) ď‚§ Compress and decompress images without losing information II. Lossy image compression ď‚§ Provide higher levels of data reduction ď‚§ Result in a less than perfect reproduction of the original image ď‚§ Applications: –broadcast television, videoconferencing
  • 4. 4
  • 5. 5 Data vs. information • Data is not the same thing as information • Data are the means to convey information; various amounts of data may be used to represent the same amount of information Part of data may provide no relevant information: data redundancy • The amount of data can be much larger expressed than the amount of information.
  • 6. 6 Data Redundancy • Data that provide no relevant information=redundant data or redundancy. • Image compression techniques can be designed by reducing or eliminating the Data Redundancy • Image coding or compression has a goal to reduce the amount of data by reducing the amount of redundancy.
  • 8. 8 Data Redundancy Three basic data redundancies ď‚§ Coding Redundancy ď‚§ Interpixel Redundancy ď‚§ Psychovisual Redundancy
  • 9. 9 Coding Redundancy A natural m-bit coding method assigns m-bit to each gray level without considering the probability that gray level occurs with: Very likely to contain coding redundancy Basic concept: ď‚§ Utilize the probability of occurrence of each gray level (histogram) to determine length of code representing that particular gray level: variable-length coding. ď‚§ Assign shorter code words to the gray levels that occur most frequently or vice versa.
  • 14. 14 Interpixel Redundancy ď‚§ Caused by High Interpixel Correlations within an image, i.e., gray level of any given pixel can be reasonably predicted from the value of its neighbors (information carried by individual pixels is relatively small) spatial redundancy, geometric redundancy, interframe redundancy (in general, interpixel redundancy ) ď‚§ To reduce the interpixel redundancy, mapping is used. The mapping scheme can be selected according to the properties of redundancy. ď‚§ An example of mapping can be to map pixels of an image: f(x,y) to a sequence of pairs: (g1,r1), (g2,r2), ..., (gi,ri), .. gi: ith gray level ri: run length of the ith run
  • 16. 16 Psychovisual Redundancy ď‚§ The eye does not respond with equal sensitivity to all visual information. ď‚§ Certain information has less relative importance than other information in normal visual processing psychovisually redundant (which can be eliminated without significantly impairing the quality of image perception). ď‚§ The elimination of psychovisually redundant data results in a loss of quantitative information lossy data compression method. ď‚§ Image compression methods based on the elimination of psychovisually redundant data (usually called quantization) are usually applied to commercial broadcast TV and similar applications for human visualization.
  • 23. 23 Image Compression Models ď‚§ The encoder creates a set of symbols (compressed) from the input data. ď‚§ The data is transmitted over the channel and is fed to decoder. ď‚§ The decoder reconstructs the output signal from the coded symbols. ď‚§ The source encoder removes the input redundancies, and the channel encoder increases the noise immunity.
  • 25. 25 Types of Compression • Lossless compression – Huffman coding – Bit-plane coding – Run length coding • Lossy compression – Lossy predictive coding – Transform coding – JPEG
  • 27. Variable-length Coding Methods: Huffman Coding 27
  • 28. Variable-length Coding Methods: Huffman Coding 28
  • 29. 29
  • 30. Mapping 30 •There is often correlation between adjacent pixels, i.e. the value of the neighbors of an observed pixel can often be predicted from the value of the observed pixel. (Interpixel Redundancy). •Mapping is used to remove Interpixel Redundancy. •Two mapping techniques are: ď‚§ Run length coding ď‚§ Difference coding.
  • 31. 31
  • 32. 32
  • 33. 33
  • 34. 34
  • 35. 35
  • 37. LZW Coding Lempel-Ziv-Welch (LZW) coding assigns fixed length code words to variable length sequences of source symbols. 37
  • 39. 40 Bitplane Coding (1/2) • It reduces the images interpixel redundancies by processing the image’s bit planes individually. • The multilevel images are decomposed into a series of binary images and then compressing the binary images using one of the several well-known binary compression methods. • The images are often first gray coded before the bit plane decomposition is carried out to avoid too many 0 to 1 transitions across bit planes for pixel values that are close to each other.
  • 44. Arithmetic Coding • There is no one to one correspondence between source symbols and code words. • An entire sequence of source symbols is assigned a single code word. • Each source symbol is represented by an interval in [0,1). As the number of symbols increases the size of the interval reduces in accordance with the probability of occurrence of symbols.
  • 45. Arithmetic Coding a1 0.2 [0,0.20 a2 0.2 [0.2,0.4) a3 0.4 [0.4,0.8) a4 0.2 [0.8,1.0) Sequence to be coded a1 a2 a3 a3 a4
  • 46. Arithmetic Coding • Inaccurate probability models can lead to non-optimal results • Solution: use an adaptive, context dependent probability model • Adaptive: symbols probabilities are updated as the symbols are coded. • Context dependent: probabilities are based on a predefined neighbourhood of pixels around the symbol being coded.
  • 47. 48 Constant Area Coding (1/2) • A simple method to compress binary or bit plane images is to use special code words to denote large areas of continuous 0’s or 1’s. • The image is divided into blocks of p x q pixels, which are classified as all black, all white or mixed. • The most probable or frequently occurring category is assigned the 1-bit code word 0, and the other two categories are assigned 2 bit code words 10 and 11.
  • 48. CAC-Algorithm • Special codeword's are used to identify large areas of contiguous 1's or 0's • The whole image (M*N Pixels) is divided into blocks of size (P*Q Pixels) • Blocks are classified as • White (W) Blocks: having only white pixels • Black (B) Blocks: having only black pixels • Mixed (M) Blocks: having mixed intensity. • The most frequent occurring category is assigned with 1-bit codeword 0 • If image contain only two categories, the other category is assigned with 1-bit codeword 1 • Else the remaining other two categories are assigned with 2-bit codes 10 and 11 • The codeword assigned to the Mixed (M) Block category is used as a prefix, which is followed by the P*Q-bit pattern of the block. • Compression is achieved because the P*Q bits that are normally used to represent each constant area (block) are replaced by a 1-bit or 2-bit codeword for White and Black Blocks • Compression Ratio (CR) = (N1 / N2) 49
  • 49. Binary Image Compression: 1-D Run-Length Coding (1D RLC): Lossless Technique
  • 50. Binary Image Compression: 1-D Run- Length Coding 51
  • 51. 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 is most commonly used to compress multimedia data (audio, video, still images), especially in applications such as streaming media and internet telephony.
  • 53. JPEG • Lossy Compression Technique based on use of Discrete Cosine Transform (DCT) • A DCT is similar to a Fourier transform in the sense that it produces a kind of spatial frequency spectrum
  • 54. STEPS IN JPEG COMPRESSION • Divide Each plane into 8x8 size blocks. • Transform the pixel information from the spatial domain to the frequency domain with the Discrete Cosine Transform. (Compute DCT of each block) • Quantize the resulting values by dividing each coefficient by an integer value and rounding off to the nearest integer. • Arrange the resulting coefficients in a zigzag order. so that the coefficients are in order of increasing frequency. The higher frequency coefficients are more likely to be 0 after quantization. This improves the compression of run- length encoding. • Do a run-length encoding of the coefficients ordered in this manner. Follow by Huffman coding. (Separately encode DC components and transmit data.)
  • 56. JPEG COMPRESSION •The most important values to our eyes will be placed in the upper left corner of the matrix. •The least important values will be mostly in the lower right corner of the matrix. Semi- Important Most Important Least Important
  • 57. JPEG COMPRESSION The example image 8*8 matrix before DCT transformation.
  • 58. JPEG COMPRESSION Gray-Scale Example: Value Range 0 (black) --- 255 (white) 63 33 36 28 63 81 86 98 27 18 17 11 22 48 104 108 72 52 28 15 17 16 47 77 132 100 56 19 10 9 21 55 187 186 166 88 13 34 43 51 184 203 199 177 82 44 97 73 211 214 208 198 134 52 78 83 211 210 203 191 133 79 74 86
  • 59. JPEG COMPRESSION 2D-DCT of matrix Value Range 0 (Gray) --- -355 (Black) -304 210 104 -69 10 20 -12 7 -327 -260 67 70 -10 -15 21 8 93 -84 -66 16 24 -2 -5 9 89 33 -19 -20 -26 21 -3 0 -9 42 18 27 -7 -17 29 -7 -5 15 -10 17 32 -15 -4 7 10 3 -12 -1 2 3 -2 -3 12 30 0 -3 -3 -6 12 -1
  • 60. JPEG COMPRESSION Cut the least significant components Value Range 0 (Gray) --- -355 (Black) -304 210 104 -69 10 20 -12 0 -327 -260 67 70 -10 -15 0 0 93 -84 -66 16 24 0 0 0 89 33 -19 -20 0 0 0 0 -9 42 18 0 0 0 0 0 -5 15 0 0 0 0 0 0 10 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  • 63. Some Common Image Formats
  • 64. Some Common Image Formats