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

Weitere ähnliche Inhalte

Was ist angesagt?

Smoothing in Digital Image Processing
Smoothing in Digital Image ProcessingSmoothing in Digital Image Processing
Smoothing in Digital Image ProcessingPallavi Agarwal
 
5. gray level transformation
5. gray level transformation5. gray level transformation
5. gray level transformationMdFazleRabbi18
 
Introduction to Image Compression
Introduction to Image CompressionIntroduction to Image Compression
Introduction to Image CompressionKalyan Acharjya
 
Smoothing Filters in Spatial Domain
Smoothing Filters in Spatial DomainSmoothing Filters in Spatial Domain
Smoothing Filters in Spatial DomainMadhu Bala
 
Hough Transform By Md.Nazmul Islam
Hough Transform By Md.Nazmul IslamHough Transform By Md.Nazmul Islam
Hough Transform By Md.Nazmul IslamNazmul Islam
 
Frequency Domain Image Enhancement Techniques
Frequency Domain Image Enhancement TechniquesFrequency Domain Image Enhancement Techniques
Frequency Domain Image Enhancement TechniquesDiwaker Pant
 
Image Enhancement in Spatial Domain
Image Enhancement in Spatial DomainImage Enhancement in Spatial Domain
Image Enhancement in Spatial DomainDEEPASHRI HK
 
digital image processing
digital image processingdigital image processing
digital image processingAbinaya B
 
Digital Image Processing - Image Restoration
Digital Image Processing - Image RestorationDigital Image Processing - Image Restoration
Digital Image Processing - Image RestorationMathankumar S
 
Homomorphic filtering
Homomorphic filteringHomomorphic filtering
Homomorphic filteringGautam Saxena
 
Fundamental Steps of Digital Image Processing & Image Components
Fundamental Steps of Digital Image Processing & Image ComponentsFundamental Steps of Digital Image Processing & Image Components
Fundamental Steps of Digital Image Processing & Image ComponentsKalyan Acharjya
 
Image Enhancement - Point Processing
Image Enhancement - Point ProcessingImage Enhancement - Point Processing
Image Enhancement - Point ProcessingGayathri31093
 
Image sampling and quantization
Image sampling and quantizationImage sampling and quantization
Image sampling and quantizationBCET, Balasore
 
Fundamentals steps in Digital Image processing
Fundamentals steps in Digital Image processingFundamentals steps in Digital Image processing
Fundamentals steps in Digital Image processingKarthicaMarasamy
 

Was ist angesagt? (20)

Smoothing in Digital Image Processing
Smoothing in Digital Image ProcessingSmoothing in Digital Image Processing
Smoothing in Digital Image Processing
 
Run length encoding
Run length encodingRun length encoding
Run length encoding
 
5. gray level transformation
5. gray level transformation5. gray level transformation
5. gray level transformation
 
Introduction to Image Compression
Introduction to Image CompressionIntroduction to Image Compression
Introduction to Image Compression
 
Smoothing Filters in Spatial Domain
Smoothing Filters in Spatial DomainSmoothing Filters in Spatial Domain
Smoothing Filters in Spatial Domain
 
Image compression
Image compressionImage compression
Image compression
 
Image enhancement
Image enhancementImage enhancement
Image enhancement
 
Hough Transform By Md.Nazmul Islam
Hough Transform By Md.Nazmul IslamHough Transform By Md.Nazmul Islam
Hough Transform By Md.Nazmul Islam
 
Frequency Domain Image Enhancement Techniques
Frequency Domain Image Enhancement TechniquesFrequency Domain Image Enhancement Techniques
Frequency Domain Image Enhancement Techniques
 
Image Enhancement in Spatial Domain
Image Enhancement in Spatial DomainImage Enhancement in Spatial Domain
Image Enhancement in Spatial Domain
 
digital image processing
digital image processingdigital image processing
digital image processing
 
Digital Image Processing - Image Restoration
Digital Image Processing - Image RestorationDigital Image Processing - Image Restoration
Digital Image Processing - Image Restoration
 
Homomorphic filtering
Homomorphic filteringHomomorphic filtering
Homomorphic filtering
 
Digital image processing
Digital image processing  Digital image processing
Digital image processing
 
Image Compression
Image CompressionImage Compression
Image Compression
 
Fundamental Steps of Digital Image Processing & Image Components
Fundamental Steps of Digital Image Processing & Image ComponentsFundamental Steps of Digital Image Processing & Image Components
Fundamental Steps of Digital Image Processing & Image Components
 
Image Enhancement - Point Processing
Image Enhancement - Point ProcessingImage Enhancement - Point Processing
Image Enhancement - Point Processing
 
JPEG
JPEGJPEG
JPEG
 
Image sampling and quantization
Image sampling and quantizationImage sampling and quantization
Image sampling and quantization
 
Fundamentals steps in Digital Image processing
Fundamentals steps in Digital Image processingFundamentals steps in Digital Image processing
Fundamentals steps in Digital Image processing
 

Ähnlich wie Jpeg standards

image processing for jpeg presentati.ppt
image processing for jpeg presentati.pptimage processing for jpeg presentati.ppt
image processing for jpeg presentati.pptnaghamallella
 
MPEG-1 Part 2 Video Encoding
MPEG-1 Part 2 Video EncodingMPEG-1 Part 2 Video Encoding
MPEG-1 Part 2 Video EncodingChristian Kehl
 
Multimedia communication jpeg
Multimedia communication jpegMultimedia communication jpeg
Multimedia communication jpegDr. Kapil Gupta
 
CyberSec_JPEGcompressionForensics.pdf
CyberSec_JPEGcompressionForensics.pdfCyberSec_JPEGcompressionForensics.pdf
CyberSec_JPEGcompressionForensics.pdfMohammadAzreeYahaya
 
Compression: Images (JPEG)
Compression: Images (JPEG)Compression: Images (JPEG)
Compression: Images (JPEG)danishrafiq
 
Comparison between JPEG(DCT) and JPEG 2000(DWT) compression standards
Comparison between JPEG(DCT) and JPEG 2000(DWT) compression standardsComparison between JPEG(DCT) and JPEG 2000(DWT) compression standards
Comparison between JPEG(DCT) and JPEG 2000(DWT) compression standardsRishab2612
 
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.pptnaghamallella
 
Image compression techniques and its applications
Image compression techniques and its applicationsImage compression techniques and its applications
Image compression techniques and its applicationsSIVA NAGI REDY KALLI
 
SOC Application Studies: Image Compression
SOC Application Studies: Image CompressionSOC Application Studies: Image Compression
SOC Application Studies: Image CompressionA B Shinde
 
Fundamentals of Data compression
Fundamentals of Data compressionFundamentals of Data compression
Fundamentals of Data compressionM.k. Praveen
 
Multimedia image compression standards
Multimedia image compression standardsMultimedia image compression standards
Multimedia image compression standardsMazin Alwaaly
 

Ähnlich wie 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
 
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
 
Multimedia image compression standards
Multimedia image compression standardsMultimedia image compression standards
Multimedia image compression standards
 

Kürzlich hochgeladen

PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLPVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLManishPatel169454
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfRagavanV2
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxfenichawla
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VDineshKumar4165
 
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdfSuman Jyoti
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptDineshKumar4165
 
Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Christo Ananth
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueBhangaleSonal
 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01KreezheaRecto
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdfKamal Acharya
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)simmis5
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Standamitlee9823
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 

Kürzlich hochgeladen (20)

PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLPVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
 
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
 
NFPA 5000 2024 standard .
NFPA 5000 2024 standard                                  .NFPA 5000 2024 standard                                  .
NFPA 5000 2024 standard .
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
 

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)