SlideShare a Scribd company logo
GROUPPROJECTLOSSLE
SS IMAGE COMPRESSION
USING MATLAB
GROUP MEMBERS:
K.SATHWIKREDDY
C.NEERAV REDDY
J.HIMADEEP
INTRODUCTION
1.IMAGE DESCRIPTION
2.TRANSPARENCY
3.BLOCK DIAGRAM
4.FIDELITY CRITERIA
5.TYPES OF FORMATS
6.COMPARISION
What Is an Image?
Basically, an image is a rectangular array of dots, called
pixels. The size of the image is the number of pixels (width x
height). Every pixel in an image is a certain color. When
dealing with a black and white (where each pixel is either
totally white, or totally black) image, the choices are limited
since only a single bit is needed for each pixel. This type of
image is good for line art, such as a cartoon in a newspaper.
Another type of colorless image is a grayscale image.
Grayscale images, often wrongly called “black and white” as
well, use 8 bits per pixel, which is enough to represent every
shade of gray that a human eye can distinguish.
Transparency
Transparency refers to the technique where certain
pixels are layered on top of other pixels so that the
bottom pixels will show through the top pixels. This is
sometime useful in combining two images on top of each
other. It is possible to use varying degrees of
transparency, where the degree of transparency is known
as an alpha value. In the context of the Web, this
technique is often used to get an image to blend in well
with the browser's background. Adding transparency can
be as simple as choosing an unused color in the image to
be the “special transparent” color, and wherever that
color occurs, the program displaying the image knows to
let the background show through.
Transparency Example:
Non-transparent Transparent
The number of bits per pixel is called the depth of the
image (or bit plane). A bit plane of n bits can have 2n
colors. The human eye can distinguish about 224
colors,
although some claim that the number of colors the eye
can distinguish is much higher. The most common color
depths are 8, 16, and 24 (although 2-bit and 4-bit images
are quite common, especially on older systems).
TheImage Compression Model
Source Channel Channel Source
Encoder EncoderChannelDecoder Decoder
Although image compression models differ in the way they compress
data, there are many general features that can be described which
represent most image compression algorithms. The source encoder is
used to remove redundancyin the inputimage. The channel encoder is
used as overhead in order to combatchannel noise. A common example
of this would be the introduction of a parity bit. By introducing this
overhead, a certain level of immunity is gained from noise that is
inherent in any storage or transmission system. The channel in this
model could be either a communication link or a storage/retrieval
system. The job of the channel and source decoders is to basically undo
the work of the source and channel encoders in order to restore the
image to the user.
F(m,n) F'(m,n)
Fidelity Criterion
A measure is needed in order to measure the amount of
data lost (if any) due to a compression scheme. This
measure is called a fidelity criterion. There are two main
categories of fidelity criterion: subjective and objective.
Objective fidelity criterion, involve a quantitative
approach to error criterion. Perhaps the most common
example of this is the root mean square error. A very
much related measure is the mean square signal to noise
ratio. Although objective field criteria may be useful in
analyzing the amount of error involved in a compression
scheme, our eyes do not always see things as they are.
Which is why the second category of fidelity criterion is
important. Subjective field criteria are quality
evaluations based on a human observer. These ratings
are often averaged to come up with an evaluation of a
compression scheme. There are absolute comparison
scales, which are based solely on the decompressed
image, and there are relative comparison scales that
involve viewing the original and decompressed images
side by side in comparison.
File Formats
There are a large number of file formats (hundreds)
used to represent an image, some more common than
others. Among the most popular are:
1.GIF (GraphicsInterchange Format)
2.TIFF (Tagged Image File Format)
3.SGIImage
4.SunRaster
5.PICT
6.JPEG FileInterchange Format
Quantization
Having the data in the frequency domain allows the
algorithm to discard the least significant parts of the
image. The algorithm does this by dividing each cosine
coefficient in the data matrix by some predetermined
constant, and then rounding up or down to the closest
integer value. The constant values that are used in the
division may be arbitrary, although research has
determined some very good typical values. However,
since the algorithm may use any values it wishes, and
since this is the step that introduces the most loss in the
image, it is a good place to allow users to specify their
desires for quality versus size.
Obviously, dividing by a high constant value can
introduce more error in the rounding process, but high
constant values have another effect. As the constant gets
larger the result of the division approaches zero. This is
especially true for the high frequency coefficients, since
they tend to be the smallest values in the matrix. Thus,
many of the frequency values become zero. Phase four
takes advantage of this fact to further compress the data.
The algorithm uses the specified final image quality
level to determine the constant values that are used to
divide the frequencies. A constant of 1 signifies no loss.
On the other hand, a constant of 255 is the maximum
amount of loss for that coefficient. The constants are
calculated according to the user’s wishes and the heuristic
values that are known to result in the best quality final
images. The constants are then entered into another 8 x 8
matrix, called the quantization matrix. Each entry in the
quantization matrix corresponds to exactly one entry in
the frequency matrix. Correspondence is determined
simply by coordinates, the entry at (3, 5) in the
quantization matrix corresponds to entry (3, 5) in the
frequency matrix.
A typical quantization matrix will be symmetrical about the
diagonal, and will have lower values in the upper left and
higher values in the lower right. Since any arbitrary values
could be used during quantization, the entire quantization
matrix is stored in the final
file so that the decompression routine will know the
values that were used to divide each coefficient.
Table 1 shows an example of a quantization matrix.
Comparison of Image Compression
Techniques
Although various algorithms have been described so
far, it is difficult to get a sense of how each one compares
to the other in terms of quality, efficiency, and
practicality. Creating the absolute smallest image
requires that the user understand the differences between
images and the differences between compression
methods. Knowing when to apply what algorithm is
essential. The following is a comparison of how each
performs in a real world situation.
Figure 1: Example Image
The following screen shot was compressed and reproduced by all the three
compression algorithms. The results are summarized in the following table.
File size in bytes
Ra
w
24-
bit
9
2
1
6
0
0
GI
F
(L
Z
W)
1
1
8
9
3
7
TI
FF
(L
Z
W)
4
6
2
1
2
4
PN
G
(24
-
bit
)
2
4
8
2
6
9
CONCLUSION
The JPEG algorithm was created to compress photographic images, and it does this
very well, with high compression ratios. It also allows a user to choose between high
quality output images, or very small output images. The algorithm compresses images
in 4 distinct phases, and does so in   nn log2
 time, or better. It also inspired many
other algorithms that compress images and video, and do so in a fashion very similar to
JPEG. Most of the variants of JPEG take the basic concepts of the JPEG algorithm and
apply them to more specific problems.
Due to the immense number of JPEG images that exist, this algorithm will
probably be in use for at least 10 more years. This is despite the fact that better
algorithms for compressing images exist, and even better ones than those will be ready
in the near future.
REFERENCES
[1] .www.mathworks.in

More Related Content

What's hot

Presentation on deformable model for medical image segmentation
Presentation on deformable model for medical image segmentationPresentation on deformable model for medical image segmentation
Presentation on deformable model for medical image segmentation
Subhash Basistha
 
Otsu binarization
Otsu binarizationOtsu binarization
Otsu binarization
yalda akbarzadeh
 
Region based image segmentation
Region based image segmentationRegion based image segmentation
Region based image segmentation
Safayet Hossain
 
Threshold Selection for Image segmentation
Threshold Selection for Image segmentationThreshold Selection for Image segmentation
Threshold Selection for Image segmentation
Parijat Sinha
 
various methods for image segmentation
various methods for image segmentationvarious methods for image segmentation
various methods for image segmentation
Raveesh Methi
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
Bulbul Agrawal
 
Ajay ppt region segmentation new copy
Ajay ppt region segmentation new   copyAjay ppt region segmentation new   copy
Ajay ppt region segmentation new copy
Ajay Kumar Singh
 
IMAGE SEGMENTATION BY USING THRESHOLDING TECHNIQUES FOR MEDICAL IMAGES
IMAGE SEGMENTATION BY USING THRESHOLDING TECHNIQUES FOR MEDICAL IMAGESIMAGE SEGMENTATION BY USING THRESHOLDING TECHNIQUES FOR MEDICAL IMAGES
IMAGE SEGMENTATION BY USING THRESHOLDING TECHNIQUES FOR MEDICAL IMAGES
cseij
 
Image segmentation ppt
Image segmentation pptImage segmentation ppt
Image segmentation ppt
Gichelle Amon
 
Image pre processing
Image pre processingImage pre processing
Image pre processing
Ashish Kumar
 
Image segmentation
Image segmentation Image segmentation
Image segmentation
Tubur Borgoary
 
Image parts and segmentation
Image parts and segmentation Image parts and segmentation
Image parts and segmentation
Rappy Saha
 
Efficiency and capability of fractal image compression with adaptive quardtre...
Efficiency and capability of fractal image compression with adaptive quardtre...Efficiency and capability of fractal image compression with adaptive quardtre...
Efficiency and capability of fractal image compression with adaptive quardtre...
ijma
 
Performance analysis of high resolution images using interpolation techniques...
Performance analysis of high resolution images using interpolation techniques...Performance analysis of high resolution images using interpolation techniques...
Performance analysis of high resolution images using interpolation techniques...
sipij
 
Region based segmentation
Region based segmentationRegion based segmentation
Region based segmentation
ramya marichamy
 
IMAGE SEGMENTATION TECHNIQUES
IMAGE SEGMENTATION TECHNIQUESIMAGE SEGMENTATION TECHNIQUES
IMAGE SEGMENTATION TECHNIQUES
Vicky Kumar
 
Image segmentation using advanced fuzzy c-mean algorithm [FYP @ IITR, obtaine...
Image segmentation using advanced fuzzy c-mean algorithm [FYP @ IITR, obtaine...Image segmentation using advanced fuzzy c-mean algorithm [FYP @ IITR, obtaine...
Image segmentation using advanced fuzzy c-mean algorithm [FYP @ IITR, obtaine...
Koteswar Rao Jerripothula
 
Image segmentation ajal
Image segmentation ajalImage segmentation ajal
Image segmentation ajal
AJAL A J
 
Image processing
Image processingImage processing
Image processing
abuamo
 
GRAY SCALE IMAGE SEGMENTATION USING OTSU THRESHOLDING OPTIMAL APPROACH
GRAY SCALE IMAGE SEGMENTATION USING OTSU THRESHOLDING OPTIMAL APPROACHGRAY SCALE IMAGE SEGMENTATION USING OTSU THRESHOLDING OPTIMAL APPROACH
GRAY SCALE IMAGE SEGMENTATION USING OTSU THRESHOLDING OPTIMAL APPROACH
Journal For Research
 

What's hot (20)

Presentation on deformable model for medical image segmentation
Presentation on deformable model for medical image segmentationPresentation on deformable model for medical image segmentation
Presentation on deformable model for medical image segmentation
 
Otsu binarization
Otsu binarizationOtsu binarization
Otsu binarization
 
Region based image segmentation
Region based image segmentationRegion based image segmentation
Region based image segmentation
 
Threshold Selection for Image segmentation
Threshold Selection for Image segmentationThreshold Selection for Image segmentation
Threshold Selection for Image segmentation
 
various methods for image segmentation
various methods for image segmentationvarious methods for image segmentation
various methods for image segmentation
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
 
Ajay ppt region segmentation new copy
Ajay ppt region segmentation new   copyAjay ppt region segmentation new   copy
Ajay ppt region segmentation new copy
 
IMAGE SEGMENTATION BY USING THRESHOLDING TECHNIQUES FOR MEDICAL IMAGES
IMAGE SEGMENTATION BY USING THRESHOLDING TECHNIQUES FOR MEDICAL IMAGESIMAGE SEGMENTATION BY USING THRESHOLDING TECHNIQUES FOR MEDICAL IMAGES
IMAGE SEGMENTATION BY USING THRESHOLDING TECHNIQUES FOR MEDICAL IMAGES
 
Image segmentation ppt
Image segmentation pptImage segmentation ppt
Image segmentation ppt
 
Image pre processing
Image pre processingImage pre processing
Image pre processing
 
Image segmentation
Image segmentation Image segmentation
Image segmentation
 
Image parts and segmentation
Image parts and segmentation Image parts and segmentation
Image parts and segmentation
 
Efficiency and capability of fractal image compression with adaptive quardtre...
Efficiency and capability of fractal image compression with adaptive quardtre...Efficiency and capability of fractal image compression with adaptive quardtre...
Efficiency and capability of fractal image compression with adaptive quardtre...
 
Performance analysis of high resolution images using interpolation techniques...
Performance analysis of high resolution images using interpolation techniques...Performance analysis of high resolution images using interpolation techniques...
Performance analysis of high resolution images using interpolation techniques...
 
Region based segmentation
Region based segmentationRegion based segmentation
Region based segmentation
 
IMAGE SEGMENTATION TECHNIQUES
IMAGE SEGMENTATION TECHNIQUESIMAGE SEGMENTATION TECHNIQUES
IMAGE SEGMENTATION TECHNIQUES
 
Image segmentation using advanced fuzzy c-mean algorithm [FYP @ IITR, obtaine...
Image segmentation using advanced fuzzy c-mean algorithm [FYP @ IITR, obtaine...Image segmentation using advanced fuzzy c-mean algorithm [FYP @ IITR, obtaine...
Image segmentation using advanced fuzzy c-mean algorithm [FYP @ IITR, obtaine...
 
Image segmentation ajal
Image segmentation ajalImage segmentation ajal
Image segmentation ajal
 
Image processing
Image processingImage processing
Image processing
 
GRAY SCALE IMAGE SEGMENTATION USING OTSU THRESHOLDING OPTIMAL APPROACH
GRAY SCALE IMAGE SEGMENTATION USING OTSU THRESHOLDING OPTIMAL APPROACHGRAY SCALE IMAGE SEGMENTATION USING OTSU THRESHOLDING OPTIMAL APPROACH
GRAY SCALE IMAGE SEGMENTATION USING OTSU THRESHOLDING OPTIMAL APPROACH
 

Similar to Himadeep

Image compression
Image compressionImage compression
Image compression
Shiva Krishna Chandra Shekar
 
Image Compression Techniques: A Survey
Image Compression Techniques: A SurveyImage Compression Techniques: A Survey
A Study of Image Compression Methods
A Study of Image Compression MethodsA Study of Image Compression Methods
A Study of Image Compression Methods
IOSR Journals
 
Blank Background Image Lossless Compression Technique
Blank Background Image Lossless Compression TechniqueBlank Background Image Lossless Compression Technique
Blank Background Image Lossless Compression Technique
CSCJournals
 
JPEG
JPEGJPEG
A Biometric Approach to Encrypt a File with the Help of Session Key
A Biometric Approach to Encrypt a File with the Help of Session KeyA Biometric Approach to Encrypt a File with the Help of Session Key
A Biometric Approach to Encrypt a File with the Help of Session Key
Sougata Das
 
Laureate Online Education Internet and Multimedia Technolog.docx
Laureate Online Education    Internet and Multimedia Technolog.docxLaureate Online Education    Internet and Multimedia Technolog.docx
Laureate Online Education Internet and Multimedia Technolog.docx
DIPESH30
 
Matlab Based Image Compression Using Various Algorithm
Matlab Based Image Compression Using Various AlgorithmMatlab Based Image Compression Using Various Algorithm
Matlab Based Image Compression Using Various Algorithm
ijtsrd
 
PIXEL SIZE REDUCTION LOSS-LESS IMAGE COMPRESSION ALGORITHM
PIXEL SIZE REDUCTION LOSS-LESS IMAGE COMPRESSION ALGORITHMPIXEL SIZE REDUCTION LOSS-LESS IMAGE COMPRESSION ALGORITHM
PIXEL SIZE REDUCTION LOSS-LESS IMAGE COMPRESSION ALGORITHM
ijcsit
 
Comparison of different Fingerprint Compression Techniques
Comparison of different Fingerprint Compression TechniquesComparison of different Fingerprint Compression Techniques
Comparison of different Fingerprint Compression Techniques
sipij
 
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
 
A Review on Image Compression using DCT and DWT
A Review on Image Compression using DCT and DWTA Review on Image Compression using DCT and DWT
A Review on Image Compression using DCT and DWT
IJSRD
 
DCT based Steganographic Evaluation parameter analysis in Frequency domain by...
DCT based Steganographic Evaluation parameter analysis in Frequency domain by...DCT based Steganographic Evaluation parameter analysis in Frequency domain by...
DCT based Steganographic Evaluation parameter analysis in Frequency domain by...
IOSR Journals
 
J017156874
J017156874J017156874
J017156874
IOSR Journals
 
Using A Application For A Desktop Application
Using A Application For A Desktop ApplicationUsing A Application For A Desktop Application
Using A Application For A Desktop Application
Tracy Huang
 
Image compression and jpeg
Image compression and jpegImage compression and jpeg
Image compression and jpeg
theem college of engineering
 
Compression of digital voice and video
Compression of digital voice and videoCompression of digital voice and video
Compression of digital voice and video
sangusajjan
 
B070306010
B070306010B070306010
B070306010
IJERD Editor
 
Log polar coordinates
Log polar coordinatesLog polar coordinates
Log polar coordinates
Oğul Göçmen
 
Adaptive-Quality Image Compression Algorithm
Adaptive-Quality Image Compression AlgorithmAdaptive-Quality Image Compression Algorithm
Adaptive-Quality Image Compression Algorithm
ijma
 

Similar to Himadeep (20)

Image compression
Image compressionImage compression
Image compression
 
Image Compression Techniques: A Survey
Image Compression Techniques: A SurveyImage Compression Techniques: A Survey
Image Compression Techniques: A Survey
 
A Study of Image Compression Methods
A Study of Image Compression MethodsA Study of Image Compression Methods
A Study of Image Compression Methods
 
Blank Background Image Lossless Compression Technique
Blank Background Image Lossless Compression TechniqueBlank Background Image Lossless Compression Technique
Blank Background Image Lossless Compression Technique
 
JPEG
JPEGJPEG
JPEG
 
A Biometric Approach to Encrypt a File with the Help of Session Key
A Biometric Approach to Encrypt a File with the Help of Session KeyA Biometric Approach to Encrypt a File with the Help of Session Key
A Biometric Approach to Encrypt a File with the Help of Session Key
 
Laureate Online Education Internet and Multimedia Technolog.docx
Laureate Online Education    Internet and Multimedia Technolog.docxLaureate Online Education    Internet and Multimedia Technolog.docx
Laureate Online Education Internet and Multimedia Technolog.docx
 
Matlab Based Image Compression Using Various Algorithm
Matlab Based Image Compression Using Various AlgorithmMatlab Based Image Compression Using Various Algorithm
Matlab Based Image Compression Using Various Algorithm
 
PIXEL SIZE REDUCTION LOSS-LESS IMAGE COMPRESSION ALGORITHM
PIXEL SIZE REDUCTION LOSS-LESS IMAGE COMPRESSION ALGORITHMPIXEL SIZE REDUCTION LOSS-LESS IMAGE COMPRESSION ALGORITHM
PIXEL SIZE REDUCTION LOSS-LESS IMAGE COMPRESSION ALGORITHM
 
Comparison of different Fingerprint Compression Techniques
Comparison of different Fingerprint Compression TechniquesComparison of different Fingerprint Compression Techniques
Comparison of different Fingerprint Compression Techniques
 
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
 
A Review on Image Compression using DCT and DWT
A Review on Image Compression using DCT and DWTA Review on Image Compression using DCT and DWT
A Review on Image Compression using DCT and DWT
 
DCT based Steganographic Evaluation parameter analysis in Frequency domain by...
DCT based Steganographic Evaluation parameter analysis in Frequency domain by...DCT based Steganographic Evaluation parameter analysis in Frequency domain by...
DCT based Steganographic Evaluation parameter analysis in Frequency domain by...
 
J017156874
J017156874J017156874
J017156874
 
Using A Application For A Desktop Application
Using A Application For A Desktop ApplicationUsing A Application For A Desktop Application
Using A Application For A Desktop Application
 
Image compression and jpeg
Image compression and jpegImage compression and jpeg
Image compression and jpeg
 
Compression of digital voice and video
Compression of digital voice and videoCompression of digital voice and video
Compression of digital voice and video
 
B070306010
B070306010B070306010
B070306010
 
Log polar coordinates
Log polar coordinatesLog polar coordinates
Log polar coordinates
 
Adaptive-Quality Image Compression Algorithm
Adaptive-Quality Image Compression AlgorithmAdaptive-Quality Image Compression Algorithm
Adaptive-Quality Image Compression Algorithm
 

Recently uploaded

spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
Madan Karki
 
gray level transformation unit 3(image processing))
gray level transformation unit 3(image processing))gray level transformation unit 3(image processing))
gray level transformation unit 3(image processing))
shivani5543
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
SUTEJAS
 
Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
Dr Ramhari Poudyal
 
Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
MDSABBIROJJAMANPAYEL
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
IJECEIAES
 
UNLOCKING HEALTHCARE 4.0: NAVIGATING CRITICAL SUCCESS FACTORS FOR EFFECTIVE I...
UNLOCKING HEALTHCARE 4.0: NAVIGATING CRITICAL SUCCESS FACTORS FOR EFFECTIVE I...UNLOCKING HEALTHCARE 4.0: NAVIGATING CRITICAL SUCCESS FACTORS FOR EFFECTIVE I...
UNLOCKING HEALTHCARE 4.0: NAVIGATING CRITICAL SUCCESS FACTORS FOR EFFECTIVE I...
amsjournal
 
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
Yasser Mahgoub
 
Textile Chemical Processing and Dyeing.pdf
Textile Chemical Processing and Dyeing.pdfTextile Chemical Processing and Dyeing.pdf
Textile Chemical Processing and Dyeing.pdf
NazakatAliKhoso2
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
kandramariana6
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
IJECEIAES
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
Madan Karki
 
Engine Lubrication performance System.pdf
Engine Lubrication performance System.pdfEngine Lubrication performance System.pdf
Engine Lubrication performance System.pdf
mamamaam477
 
Material for memory and display system h
Material for memory and display system hMaterial for memory and display system h
Material for memory and display system h
gowrishankartb2005
 
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Sinan KOZAK
 
john krisinger-the science and history of the alcoholic beverage.pptx
john krisinger-the science and history of the alcoholic beverage.pptxjohn krisinger-the science and history of the alcoholic beverage.pptx
john krisinger-the science and history of the alcoholic beverage.pptx
Madan Karki
 
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
171ticu
 
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
171ticu
 
Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...
bijceesjournal
 
Casting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdfCasting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdf
zubairahmad848137
 

Recently uploaded (20)

spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
 
gray level transformation unit 3(image processing))
gray level transformation unit 3(image processing))gray level transformation unit 3(image processing))
gray level transformation unit 3(image processing))
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
 
Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
 
Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
 
UNLOCKING HEALTHCARE 4.0: NAVIGATING CRITICAL SUCCESS FACTORS FOR EFFECTIVE I...
UNLOCKING HEALTHCARE 4.0: NAVIGATING CRITICAL SUCCESS FACTORS FOR EFFECTIVE I...UNLOCKING HEALTHCARE 4.0: NAVIGATING CRITICAL SUCCESS FACTORS FOR EFFECTIVE I...
UNLOCKING HEALTHCARE 4.0: NAVIGATING CRITICAL SUCCESS FACTORS FOR EFFECTIVE I...
 
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
 
Textile Chemical Processing and Dyeing.pdf
Textile Chemical Processing and Dyeing.pdfTextile Chemical Processing and Dyeing.pdf
Textile Chemical Processing and Dyeing.pdf
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
 
Engine Lubrication performance System.pdf
Engine Lubrication performance System.pdfEngine Lubrication performance System.pdf
Engine Lubrication performance System.pdf
 
Material for memory and display system h
Material for memory and display system hMaterial for memory and display system h
Material for memory and display system h
 
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
 
john krisinger-the science and history of the alcoholic beverage.pptx
john krisinger-the science and history of the alcoholic beverage.pptxjohn krisinger-the science and history of the alcoholic beverage.pptx
john krisinger-the science and history of the alcoholic beverage.pptx
 
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
 
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
 
Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...
 
Casting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdfCasting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdf
 

Himadeep

  • 1. GROUPPROJECTLOSSLE SS IMAGE COMPRESSION USING MATLAB GROUP MEMBERS: K.SATHWIKREDDY C.NEERAV REDDY J.HIMADEEP
  • 3. What Is an Image? Basically, an image is a rectangular array of dots, called pixels. The size of the image is the number of pixels (width x height). Every pixel in an image is a certain color. When dealing with a black and white (where each pixel is either totally white, or totally black) image, the choices are limited since only a single bit is needed for each pixel. This type of image is good for line art, such as a cartoon in a newspaper. Another type of colorless image is a grayscale image. Grayscale images, often wrongly called “black and white” as well, use 8 bits per pixel, which is enough to represent every shade of gray that a human eye can distinguish.
  • 4. Transparency Transparency refers to the technique where certain pixels are layered on top of other pixels so that the bottom pixels will show through the top pixels. This is sometime useful in combining two images on top of each other. It is possible to use varying degrees of transparency, where the degree of transparency is known as an alpha value. In the context of the Web, this technique is often used to get an image to blend in well with the browser's background. Adding transparency can be as simple as choosing an unused color in the image to be the “special transparent” color, and wherever that color occurs, the program displaying the image knows to let the background show through. Transparency Example: Non-transparent Transparent
  • 5. The number of bits per pixel is called the depth of the image (or bit plane). A bit plane of n bits can have 2n colors. The human eye can distinguish about 224 colors, although some claim that the number of colors the eye can distinguish is much higher. The most common color depths are 8, 16, and 24 (although 2-bit and 4-bit images are quite common, especially on older systems).
  • 6. TheImage Compression Model Source Channel Channel Source Encoder EncoderChannelDecoder Decoder Although image compression models differ in the way they compress data, there are many general features that can be described which represent most image compression algorithms. The source encoder is used to remove redundancyin the inputimage. The channel encoder is used as overhead in order to combatchannel noise. A common example of this would be the introduction of a parity bit. By introducing this overhead, a certain level of immunity is gained from noise that is inherent in any storage or transmission system. The channel in this model could be either a communication link or a storage/retrieval system. The job of the channel and source decoders is to basically undo the work of the source and channel encoders in order to restore the image to the user. F(m,n) F'(m,n)
  • 7. Fidelity Criterion A measure is needed in order to measure the amount of data lost (if any) due to a compression scheme. This measure is called a fidelity criterion. There are two main categories of fidelity criterion: subjective and objective. Objective fidelity criterion, involve a quantitative approach to error criterion. Perhaps the most common example of this is the root mean square error. A very much related measure is the mean square signal to noise ratio. Although objective field criteria may be useful in analyzing the amount of error involved in a compression scheme, our eyes do not always see things as they are. Which is why the second category of fidelity criterion is important. Subjective field criteria are quality evaluations based on a human observer. These ratings are often averaged to come up with an evaluation of a compression scheme. There are absolute comparison scales, which are based solely on the decompressed image, and there are relative comparison scales that involve viewing the original and decompressed images side by side in comparison.
  • 8. File Formats There are a large number of file formats (hundreds) used to represent an image, some more common than others. Among the most popular are: 1.GIF (GraphicsInterchange Format) 2.TIFF (Tagged Image File Format) 3.SGIImage 4.SunRaster 5.PICT 6.JPEG FileInterchange Format
  • 9. Quantization Having the data in the frequency domain allows the algorithm to discard the least significant parts of the image. The algorithm does this by dividing each cosine coefficient in the data matrix by some predetermined constant, and then rounding up or down to the closest integer value. The constant values that are used in the division may be arbitrary, although research has determined some very good typical values. However, since the algorithm may use any values it wishes, and since this is the step that introduces the most loss in the image, it is a good place to allow users to specify their desires for quality versus size. Obviously, dividing by a high constant value can introduce more error in the rounding process, but high constant values have another effect. As the constant gets larger the result of the division approaches zero. This is especially true for the high frequency coefficients, since they tend to be the smallest values in the matrix. Thus, many of the frequency values become zero. Phase four takes advantage of this fact to further compress the data.
  • 10. The algorithm uses the specified final image quality level to determine the constant values that are used to divide the frequencies. A constant of 1 signifies no loss. On the other hand, a constant of 255 is the maximum amount of loss for that coefficient. The constants are calculated according to the user’s wishes and the heuristic values that are known to result in the best quality final images. The constants are then entered into another 8 x 8 matrix, called the quantization matrix. Each entry in the quantization matrix corresponds to exactly one entry in the frequency matrix. Correspondence is determined simply by coordinates, the entry at (3, 5) in the quantization matrix corresponds to entry (3, 5) in the frequency matrix. A typical quantization matrix will be symmetrical about the diagonal, and will have lower values in the upper left and higher values in the lower right. Since any arbitrary values could be used during quantization, the entire quantization matrix is stored in the final file so that the decompression routine will know the values that were used to divide each coefficient. Table 1 shows an example of a quantization matrix.
  • 11.
  • 12. Comparison of Image Compression Techniques Although various algorithms have been described so far, it is difficult to get a sense of how each one compares to the other in terms of quality, efficiency, and practicality. Creating the absolute smallest image requires that the user understand the differences between images and the differences between compression methods. Knowing when to apply what algorithm is essential. The following is a comparison of how each performs in a real world situation. Figure 1: Example Image
  • 13. The following screen shot was compressed and reproduced by all the three compression algorithms. The results are summarized in the following table. File size in bytes Ra w 24- bit 9 2 1 6 0 0 GI F (L Z W) 1 1 8 9 3 7 TI FF (L Z W) 4 6 2 1 2 4 PN G (24 - bit ) 2 4 8 2 6 9
  • 14. CONCLUSION The JPEG algorithm was created to compress photographic images, and it does this very well, with high compression ratios. It also allows a user to choose between high quality output images, or very small output images. The algorithm compresses images in 4 distinct phases, and does so in   nn log2  time, or better. It also inspired many other algorithms that compress images and video, and do so in a fashion very similar to JPEG. Most of the variants of JPEG take the basic concepts of the JPEG algorithm and apply them to more specific problems. Due to the immense number of JPEG images that exist, this algorithm will probably be in use for at least 10 more years. This is despite the fact that better algorithms for compressing images exist, and even better ones than those will be ready in the near future. REFERENCES [1] .www.mathworks.in