SlideShare une entreprise Scribd logo
1  sur  19
Prepared by:
NIKHIL BANERJEE
WHAT IS JPEG
STANDARDS???
• JPEG is sophisticated lossless compression
method for color or grey-scale still images.
• It works best on continuous tone images where
adjacent pixels have similar colors.
• One advantage of JPEG is the use of many
parameters, allowing the use to adjust the
amount of data lost over a wide variety range.
JPEG: Image Partitioning
Differential coding of DC coefficient: DPCM
using previous quantized DC coefficient as
predictor
Zig-zag scan of AC coefficients
Main Goals of JPEG:
• High Compression Ratio in such cases where images
quality is judged as very good to excellent.
• The use of many parameters allowing user to
experiment and achieve the desired level of
compression.
• Obtaining good results any kind of continuous tone
images.
• Sophisticated but not too complex compression
method, allowing software and hardware
implementation on many platform . Several modes of
operations.
Modes of JPEG:
• Sequential Mode: each image component is
compressed in a single left to right, top to bottom
scan.
• Progressive Mode: the images is compressed in
multiple blocks to be viewed from coarse to final
detail.
• Lossless Mode: important for cases where the user
decides no pixel should be lost.
• Hierarchical Mode: the image is compressed at
multiple resolution allowing lower resolution blocks
to be viewed without first having to decompressed the
following higher-resolution blocks.
Basic JPEG
Compression
• JPEG compression involves the following:
• Color Space Transform and sub sampling
(YIQ)
• DCT (Discrete Cosine Transformation)
• Quantization Zigzag Scan DPCM on DC
component
• RLE on AC Components Entropy Coding —
Huffman or Arithmetic
JPEG Encoding
• Colour Space Transform and sub-sampling (YIQ):
• The images values are transformed from RGB to
luminance/chrominance color space.
• The eye is sensitive to small changes in luminance but not in
chrominance. So chrominance values can be used to compress
the data.
• This step is optional but important since the remainder of the
algorithm works on each color component seperately.
• Without transforming the color space, none of the three color
components will tolerate the much loss leading to worse
compression.
DCT (Discrete Cosine
Transformation)
• The DCT is applied to each data unit to
create an 8x8 map of frequency
component.
• They represent the average pixel value
and successive higher frequency changes
within the group.
• This prepares the images data for the
crucial step of losing information.
Quantization Tables
• In JPEG, each F[u,v] is divided by a constant
q(u,v).Table of q(u,v) is called quantization
table.
• Eye is most sensitive to low frequencies (upper
left corner), less sensitive to high frequencies
(lower right corner)JPEG Standard defines 2
default quantization tables, one for luminance
(below), one for chrominance. E.g Table below
Quantization Table
• Zig-zag Scan What is the purpose of the
Zig-zag Scan:
• To group low frequency coefficients in top of
vector.• Maps 8 x 8 to a 1 x 64 vector
Quantization
• Each of the 64 frequency component in a data
unit is divided by a separate number called its
quantization coefficient (QC) and then
rounded to an integer.
• This is the step where the information is lost.
• Large QCs cause more loss.
• So high frequency components typically have
larger QCs.
Quantization Why do we need to
quantise: To throw out bits from
DCT.
• Example:
• 45 (6 bits).
• Truncate to 4 bits: 1011 = 11.Truncate to 3 bits:
101 = 5.
• Quantization error is the main source of Lossy
Compression.
• DCT itself is not lossy
• How we throw away bits in Quantization Step is
lossy
Quantization Methods Uniform
quantization
• Divide by constant N and round result (N
= 4 or 8 in examples on previous page).
• Non powers-of-two gives fine
control(e.g., N = 6 loses 2.5 bits)
Differential Pulse Code Modulation
(DPCM) on DC Component
• Another encoding method is employed•
• DPCM on the DC component at least.•
• Why is this strategy adopted : DC component
is large and varies, but often close to previous
value (like lossless JPEG)
• .Encode the difference from previous 8x8
blocks – DPCM
Run Length Encode (RLE) on AC
Components
• Yet another simple compression technique is
applied to the AC component:1x64 vector has
lots of zeros in it Encode as (skip, value) pairs,
where skip is the number of zeros and value is
the next non-zero component.• Send (0,0) as
end-of-block sentinel value.
Huffman (Entropy) Coding
• DC and AC components finally need to be
represented by a smaller number of bits
(Arithmetic coding also supported in place
of Huffman coding)
• Huffman coding: Each DPCM-coded DC
coefficient is represented by a pair of
symbols : (Size, Amplitude) where Size
indicates number of bits needed to
represent coefficient and Amplitude
contains actual bits.
UNIVERSITY QUESTIONS:
1.EXPLAIN JPEG STANDARDS?(4 MARKS)
2.WHAT IS JPEG? WHAT IS ITS
STANDARDS?
3. EXPLAIN THE DCT IMAGE
COMPRESSION SCHEME?(8 MARKS)
Thank You

Contenu connexe

Tendances

Tendances (20)

Digital Image Fundamentals
Digital Image FundamentalsDigital Image Fundamentals
Digital Image Fundamentals
 
Fundamentals steps in Digital Image processing
Fundamentals steps in Digital Image processingFundamentals steps in Digital Image processing
Fundamentals steps in Digital Image processing
 
Image Enhancement - Point Processing
Image Enhancement - Point ProcessingImage Enhancement - Point Processing
Image Enhancement - Point Processing
 
Image restoration and degradation model
Image restoration and degradation modelImage restoration and degradation model
Image restoration and degradation model
 
Data Redundacy
Data RedundacyData Redundacy
Data Redundacy
 
JPEG Image Compression
JPEG Image CompressionJPEG Image Compression
JPEG Image Compression
 
digital image processing
digital image processingdigital image processing
digital image processing
 
Digital Image Processing: Image Segmentation
Digital Image Processing: Image SegmentationDigital Image Processing: Image Segmentation
Digital Image Processing: Image Segmentation
 
Image Segmentation using Otsu's Method - Computer Graphics (UCS505) Project PPT
Image Segmentation using Otsu's Method - Computer Graphics (UCS505) Project PPTImage Segmentation using Otsu's Method - Computer Graphics (UCS505) Project PPT
Image Segmentation using Otsu's Method - Computer Graphics (UCS505) Project PPT
 
Region based segmentation
Region based segmentationRegion based segmentation
Region based segmentation
 
Chapter10 image segmentation
Chapter10 image segmentationChapter10 image segmentation
Chapter10 image segmentation
 
Thresholding.ppt
Thresholding.pptThresholding.ppt
Thresholding.ppt
 
Edge linking in image processing
Edge linking in image processingEdge linking in image processing
Edge linking in image processing
 
Watershed Segmentation Image Processing
Watershed Segmentation Image ProcessingWatershed Segmentation Image Processing
Watershed Segmentation Image Processing
 
Run length encoding
Run length encodingRun length encoding
Run length encoding
 
Introduction to Image Compression
Introduction to Image CompressionIntroduction to Image Compression
Introduction to Image Compression
 
Image enhancement
Image enhancementImage enhancement
Image enhancement
 
Elements of visual perception
Elements of visual perceptionElements of visual perception
Elements of visual perception
 
Region based segmentation
Region based segmentationRegion based segmentation
Region based segmentation
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
 

Similaire à Jpeg standards

CyberSec_JPEGcompressionForensics.pdf
CyberSec_JPEGcompressionForensics.pdfCyberSec_JPEGcompressionForensics.pdf
CyberSec_JPEGcompressionForensics.pdf
MohammadAzreeYahaya
 

Similaire à Jpeg standards (20)

image processing for jpeg presentati.ppt
image processing for jpeg presentati.pptimage processing for jpeg presentati.ppt
image processing for jpeg presentati.ppt
 
Jpeg compression
Jpeg compressionJpeg compression
Jpeg compression
 
Jpeg
JpegJpeg
Jpeg
 
Jpeg
JpegJpeg
Jpeg
 
JPEG
JPEGJPEG
JPEG
 
JPEG
JPEGJPEG
JPEG
 
MPEG-1 Part 2 Video Encoding
MPEG-1 Part 2 Video EncodingMPEG-1 Part 2 Video Encoding
MPEG-1 Part 2 Video Encoding
 
Multimedia communication jpeg
Multimedia communication jpegMultimedia communication jpeg
Multimedia communication jpeg
 
Data compression
Data compressionData compression
Data compression
 
CyberSec_JPEGcompressionForensics.pdf
CyberSec_JPEGcompressionForensics.pdfCyberSec_JPEGcompressionForensics.pdf
CyberSec_JPEGcompressionForensics.pdf
 
Compression: Images (JPEG)
Compression: Images (JPEG)Compression: Images (JPEG)
Compression: Images (JPEG)
 
Presentation shortstory
Presentation shortstoryPresentation shortstory
Presentation shortstory
 
Image compression Algorithms
Image compression AlgorithmsImage compression Algorithms
Image compression Algorithms
 
Comparison between JPEG(DCT) and JPEG 2000(DWT) compression standards
Comparison between JPEG(DCT) and JPEG 2000(DWT) compression standardsComparison between JPEG(DCT) and JPEG 2000(DWT) compression standards
Comparison between JPEG(DCT) and JPEG 2000(DWT) compression standards
 
Steganography Part 2
Steganography Part 2Steganography Part 2
Steganography Part 2
 
introduction to jpeg for image proce.ppt
introduction to jpeg for image proce.pptintroduction to jpeg for image proce.ppt
introduction to jpeg for image proce.ppt
 
Image compression techniques and its applications
Image compression techniques and its applicationsImage compression techniques and its applications
Image compression techniques and its applications
 
SOC Application Studies: Image Compression
SOC Application Studies: Image CompressionSOC Application Studies: Image Compression
SOC Application Studies: Image Compression
 
Image compression and jpeg
Image compression and jpegImage compression and jpeg
Image compression and jpeg
 
Fundamentals of Data compression
Fundamentals of Data compressionFundamentals of Data compression
Fundamentals of Data compression
 

Dernier

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ssuser89054b
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
Epec Engineered Technologies
 

Dernier (20)

Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
Air Compressor reciprocating single stage
Air Compressor reciprocating single stageAir Compressor reciprocating single stage
Air Compressor reciprocating single stage
 
Rums floating Omkareshwar FSPV IM_16112021.pdf
Rums floating Omkareshwar FSPV IM_16112021.pdfRums floating Omkareshwar FSPV IM_16112021.pdf
Rums floating Omkareshwar FSPV IM_16112021.pdf
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
Learn the concepts of Thermodynamics on Magic Marks
Learn the concepts of Thermodynamics on Magic MarksLearn the concepts of Thermodynamics on Magic Marks
Learn the concepts of Thermodynamics on Magic Marks
 
Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planes
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equation
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 
Bridge Jacking Design Sample Calculation.pptx
Bridge Jacking Design Sample Calculation.pptxBridge Jacking Design Sample Calculation.pptx
Bridge Jacking Design Sample Calculation.pptx
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 

Jpeg standards

  • 2. WHAT IS JPEG STANDARDS??? • JPEG is sophisticated lossless compression method for color or grey-scale still images. • It works best on continuous tone images where adjacent pixels have similar colors. • One advantage of JPEG is the use of many parameters, allowing the use to adjust the amount of data lost over a wide variety range.
  • 4. Differential coding of DC coefficient: DPCM using previous quantized DC coefficient as predictor Zig-zag scan of AC coefficients
  • 5. Main Goals of JPEG: • High Compression Ratio in such cases where images quality is judged as very good to excellent. • The use of many parameters allowing user to experiment and achieve the desired level of compression. • Obtaining good results any kind of continuous tone images. • Sophisticated but not too complex compression method, allowing software and hardware implementation on many platform . Several modes of operations.
  • 6. Modes of JPEG: • Sequential Mode: each image component is compressed in a single left to right, top to bottom scan. • Progressive Mode: the images is compressed in multiple blocks to be viewed from coarse to final detail. • Lossless Mode: important for cases where the user decides no pixel should be lost. • Hierarchical Mode: the image is compressed at multiple resolution allowing lower resolution blocks to be viewed without first having to decompressed the following higher-resolution blocks.
  • 7. Basic JPEG Compression • JPEG compression involves the following: • Color Space Transform and sub sampling (YIQ) • DCT (Discrete Cosine Transformation) • Quantization Zigzag Scan DPCM on DC component • RLE on AC Components Entropy Coding — Huffman or Arithmetic
  • 8. JPEG Encoding • Colour Space Transform and sub-sampling (YIQ): • The images values are transformed from RGB to luminance/chrominance color space. • The eye is sensitive to small changes in luminance but not in chrominance. So chrominance values can be used to compress the data. • This step is optional but important since the remainder of the algorithm works on each color component seperately. • Without transforming the color space, none of the three color components will tolerate the much loss leading to worse compression.
  • 9. DCT (Discrete Cosine Transformation) • The DCT is applied to each data unit to create an 8x8 map of frequency component. • They represent the average pixel value and successive higher frequency changes within the group. • This prepares the images data for the crucial step of losing information.
  • 10. Quantization Tables • In JPEG, each F[u,v] is divided by a constant q(u,v).Table of q(u,v) is called quantization table. • Eye is most sensitive to low frequencies (upper left corner), less sensitive to high frequencies (lower right corner)JPEG Standard defines 2 default quantization tables, one for luminance (below), one for chrominance. E.g Table below
  • 11. Quantization Table • Zig-zag Scan What is the purpose of the Zig-zag Scan: • To group low frequency coefficients in top of vector.• Maps 8 x 8 to a 1 x 64 vector
  • 12. Quantization • Each of the 64 frequency component in a data unit is divided by a separate number called its quantization coefficient (QC) and then rounded to an integer. • This is the step where the information is lost. • Large QCs cause more loss. • So high frequency components typically have larger QCs.
  • 13. Quantization Why do we need to quantise: To throw out bits from DCT. • Example: • 45 (6 bits). • Truncate to 4 bits: 1011 = 11.Truncate to 3 bits: 101 = 5. • Quantization error is the main source of Lossy Compression. • DCT itself is not lossy • How we throw away bits in Quantization Step is lossy
  • 14. Quantization Methods Uniform quantization • Divide by constant N and round result (N = 4 or 8 in examples on previous page). • Non powers-of-two gives fine control(e.g., N = 6 loses 2.5 bits)
  • 15. Differential Pulse Code Modulation (DPCM) on DC Component • Another encoding method is employed• • DPCM on the DC component at least.• • Why is this strategy adopted : DC component is large and varies, but often close to previous value (like lossless JPEG) • .Encode the difference from previous 8x8 blocks – DPCM
  • 16. Run Length Encode (RLE) on AC Components • Yet another simple compression technique is applied to the AC component:1x64 vector has lots of zeros in it Encode as (skip, value) pairs, where skip is the number of zeros and value is the next non-zero component.• Send (0,0) as end-of-block sentinel value.
  • 17. Huffman (Entropy) Coding • DC and AC components finally need to be represented by a smaller number of bits (Arithmetic coding also supported in place of Huffman coding) • Huffman coding: Each DPCM-coded DC coefficient is represented by a pair of symbols : (Size, Amplitude) where Size indicates number of bits needed to represent coefficient and Amplitude contains actual bits.
  • 18. UNIVERSITY QUESTIONS: 1.EXPLAIN JPEG STANDARDS?(4 MARKS) 2.WHAT IS JPEG? WHAT IS ITS STANDARDS? 3. EXPLAIN THE DCT IMAGE COMPRESSION SCHEME?(8 MARKS)