SlideShare ist ein Scribd-Unternehmen logo
1 von 10
Image
Compression:
JPEG Coding
Standards
Introduction
The images we see and use every day are compressed
before storing and transmitting through wireless
network.
Assume a standard, color image of 1024 x 1024 pixels.
Each pixel has 3 channels of 8 bits (1 byte). Now,
doing the math, the total space required for the
image would be 3 MB.
We all know that it is a large file, and, now, more than
ever, with smartphones and cameras, people snap
pictures of every moment, food, and places.
Stages
Image compression has four stages.
Compression can be achieved at three of these
stages, and the level of compression depends
on how efficiently it is done and how much
image clarity is being compromised.
The four stages are explained here.
Stage 1: Mapper
This stage achieves no effective compression, but it
does the necessary setup required for compression.
A computer image is composed of pixels and each pixel
is made of three colors: Red, Green, Blue (RGB). Each
pixels’ color value is represented by a byte (0-255).
The mapper modifies the RGB color space to YCbCr
color space. Y is the luminescence, Cb and Cr are the
chroma blue and red components.
Stage 2: Transformation
The next stage is executing Discrete Cosine
Transformation on the YCbCr 8X8 subimages.
In Matlab, use dct2(). What this transformation does is
it preserves most of the image data from 64 matrix
elements into first few elements of the matrix.
That way, depending on the clarity of image needed,
first few elements of the matrix can be picked and
the rest of them can be ignored.
Stage 3: Quantization
The pixels have values ranging from 0 to 255. But, the
human eye can notice little difference between the
value changes.
Taking advantage, we can quantize the values, so we
can say that any value between 11-20 will be
considered as 15, and 21-30 as 25 and so on... The
easiest way to do is to divide by 16.
That way, (0-255) / 16 = (0 – 15) or 4 bits. Hence,
instead of 8 bits, now you need 4 bits. This is where
most of compression occurs for images.
When you decode, you just multiply with 16 to get the
actual pixel value.
Stage 4: Huffman Coding
The basic idea is that if you take any image and do a
histogram of pixel values, you will find that most of
the pixels (about 50% or more) are of same value
and some other value like 25%.
The idea is to give the pixel value with maximum
probability a single bit (like 0 or 1), then the 2nd
highest probability pixel would get something like
(01 or 10) and so on…
The key idea is to try to reduce the bit occupancy for
highly repeating pixel values (goes back to why
repeatability is good and why we split into YCbCr
space).
Decoding
Once you have the compressed image data, it is the
matter of writing it to a file that can be decoded
properly and re-constructed back.
There is always going to be an overhead of file
structure and tags, so your file format has to be
efficient.
The image can be constructed by reversing each of the
step.
Learn More
in

IIT Kharagpur's
First Online
Certificate Course on
Image and
Video Communication
[Refer: http://goo.gl/hMyYWa ;
courses@wiziq.com]
Learn More
in

IIT Kharagpur's
First Online
Certificate Course on
Image and
Video Communication
[Refer: http://goo.gl/hMyYWa ;
courses@wiziq.com]

Weitere ähnliche Inhalte

Was ist angesagt?

image basics and image compression
image basics and image compressionimage basics and image compression
image basics and image compressionmurugan hari
 
Seminar Report on image compression
Seminar Report on image compressionSeminar Report on image compression
Seminar Report on image compressionPradip Kumar
 
Image compression introductory presentation
Image compression introductory presentationImage compression introductory presentation
Image compression introductory presentationTariq Abbas
 
Compression: Images (JPEG)
Compression: Images (JPEG)Compression: Images (JPEG)
Compression: Images (JPEG)danishrafiq
 
Multimedia communication jpeg
Multimedia communication jpegMultimedia communication jpeg
Multimedia communication jpegDr. Kapil Gupta
 
Multimedia lossy compression algorithms
Multimedia lossy compression algorithmsMultimedia lossy compression algorithms
Multimedia lossy compression algorithmsMazin Alwaaly
 
Why Image compression is Necessary?
Why Image compression is Necessary?Why Image compression is Necessary?
Why Image compression is Necessary?Prabhat Kumar
 
Image compression
Image compressionImage compression
Image compressionAle Johnsan
 
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
 
Multimedia image compression standards
Multimedia image compression standardsMultimedia image compression standards
Multimedia image compression standardsMazin Alwaaly
 
Multimedia basic video compression techniques
Multimedia basic video compression techniquesMultimedia basic video compression techniques
Multimedia basic video compression techniquesMazin Alwaaly
 

Was ist angesagt? (20)

image basics and image compression
image basics and image compressionimage basics and image compression
image basics and image compression
 
Seminar Report on image compression
Seminar Report on image compressionSeminar Report on image compression
Seminar Report on image compression
 
JPEG
JPEGJPEG
JPEG
 
JPEG Image Compression
JPEG Image CompressionJPEG Image Compression
JPEG Image Compression
 
Image compression introductory presentation
Image compression introductory presentationImage compression introductory presentation
Image compression introductory presentation
 
Image compression
Image compressionImage compression
Image compression
 
Image compression
Image compressionImage compression
Image compression
 
Compression: Images (JPEG)
Compression: Images (JPEG)Compression: Images (JPEG)
Compression: Images (JPEG)
 
Multimedia communication jpeg
Multimedia communication jpegMultimedia communication jpeg
Multimedia communication jpeg
 
Multimedia lossy compression algorithms
Multimedia lossy compression algorithmsMultimedia lossy compression algorithms
Multimedia lossy compression algorithms
 
Why Image compression is Necessary?
Why Image compression is Necessary?Why Image compression is Necessary?
Why Image compression is Necessary?
 
Image compression
Image compressionImage compression
Image compression
 
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
 
Image compression Algorithms
Image compression AlgorithmsImage compression Algorithms
Image compression Algorithms
 
Jpeg standards
Jpeg   standardsJpeg   standards
Jpeg standards
 
Image Compression
Image CompressionImage Compression
Image Compression
 
Multimedia image compression standards
Multimedia image compression standardsMultimedia image compression standards
Multimedia image compression standards
 
Multimedia basic video compression techniques
Multimedia basic video compression techniquesMultimedia basic video compression techniques
Multimedia basic video compression techniques
 
Compression Ii
Compression IiCompression Ii
Compression Ii
 
Data compression
Data compressionData compression
Data compression
 

Andere mochten auch

Mp3 kodlama standarti
Mp3 kodlama standartiMp3 kodlama standarti
Mp3 kodlama standartiUgur Yildiz
 
Common image compression formats
Common image compression formatsCommon image compression formats
Common image compression formatsClyde Lettsome
 
Video Compression Demystified - Intro to MPEG, AVI, WMV
Video Compression Demystified - Intro to MPEG, AVI, WMVVideo Compression Demystified - Intro to MPEG, AVI, WMV
Video Compression Demystified - Intro to MPEG, AVI, WMVArpit Agarwal
 
Hw3 0972552
Hw3 0972552Hw3 0972552
Hw3 0972552s0972552
 
PDF uncertainties the LHC made easy: a compression algorithm for the combinat...
PDF uncertainties the LHC made easy: a compression algorithm for the combinat...PDF uncertainties the LHC made easy: a compression algorithm for the combinat...
PDF uncertainties the LHC made easy: a compression algorithm for the combinat...juanrojochacon
 
Görüntü işleme - Image Processing
Görüntü işleme - Image ProcessingGörüntü işleme - Image Processing
Görüntü işleme - Image Processingİbrahim Bayraktar
 
Image compression using dpcm with lms algorithm ranbeer
Image compression using dpcm with lms algorithm ranbeerImage compression using dpcm with lms algorithm ranbeer
Image compression using dpcm with lms algorithm ranbeerRanbeer Tyagi
 
intoPIX - Everything about Jpeg2000
intoPIX - Everything about Jpeg2000intoPIX - Everything about Jpeg2000
intoPIX - Everything about Jpeg2000guestd38f1
 
Discrete cosine transform
Discrete cosine transform   Discrete cosine transform
Discrete cosine transform Rashmi Karkra
 
MPEG video compression standard
MPEG video compression standardMPEG video compression standard
MPEG video compression standardanuragjagetiya
 
Video Compression Basics - MPEG2
Video Compression Basics - MPEG2Video Compression Basics - MPEG2
Video Compression Basics - MPEG2VijayKumarArya
 
video compression techique
video compression techiquevideo compression techique
video compression techiqueAshish Kumar
 

Andere mochten auch (18)

JPEG Image Compression
JPEG Image CompressionJPEG Image Compression
JPEG Image Compression
 
image compression ppt
image compression pptimage compression ppt
image compression ppt
 
Mp3 kodlama standarti
Mp3 kodlama standartiMp3 kodlama standarti
Mp3 kodlama standarti
 
Image Compression
Image CompressionImage Compression
Image Compression
 
Common image compression formats
Common image compression formatsCommon image compression formats
Common image compression formats
 
Video Compression Demystified - Intro to MPEG, AVI, WMV
Video Compression Demystified - Intro to MPEG, AVI, WMVVideo Compression Demystified - Intro to MPEG, AVI, WMV
Video Compression Demystified - Intro to MPEG, AVI, WMV
 
Jpeg dct
Jpeg dctJpeg dct
Jpeg dct
 
Hw3 0972552
Hw3 0972552Hw3 0972552
Hw3 0972552
 
Jpeg
JpegJpeg
Jpeg
 
Hw2
Hw2Hw2
Hw2
 
PDF uncertainties the LHC made easy: a compression algorithm for the combinat...
PDF uncertainties the LHC made easy: a compression algorithm for the combinat...PDF uncertainties the LHC made easy: a compression algorithm for the combinat...
PDF uncertainties the LHC made easy: a compression algorithm for the combinat...
 
Görüntü işleme - Image Processing
Görüntü işleme - Image ProcessingGörüntü işleme - Image Processing
Görüntü işleme - Image Processing
 
Image compression using dpcm with lms algorithm ranbeer
Image compression using dpcm with lms algorithm ranbeerImage compression using dpcm with lms algorithm ranbeer
Image compression using dpcm with lms algorithm ranbeer
 
intoPIX - Everything about Jpeg2000
intoPIX - Everything about Jpeg2000intoPIX - Everything about Jpeg2000
intoPIX - Everything about Jpeg2000
 
Discrete cosine transform
Discrete cosine transform   Discrete cosine transform
Discrete cosine transform
 
MPEG video compression standard
MPEG video compression standardMPEG video compression standard
MPEG video compression standard
 
Video Compression Basics - MPEG2
Video Compression Basics - MPEG2Video Compression Basics - MPEG2
Video Compression Basics - MPEG2
 
video compression techique
video compression techiquevideo compression techique
video compression techique
 

Ähnlich wie Image compression jpeg coding standards

Mathematics in the Digital Age
Mathematics in the Digital AgeMathematics in the Digital Age
Mathematics in the Digital AgeReva Narasimhan
 
06 cie552 image_manipulation
06 cie552 image_manipulation06 cie552 image_manipulation
06 cie552 image_manipulationElsayed Hemayed
 
Learning&Teaching Systems Ppt
Learning&Teaching Systems PptLearning&Teaching Systems Ppt
Learning&Teaching Systems Pptekul
 
Learning& Teaching Systems Ppt
Learning& Teaching  Systems PptLearning& Teaching  Systems Ppt
Learning& Teaching Systems PptNaruin
 
Learning&Teaching Systems Ppt
Learning&Teaching Systems PptLearning&Teaching Systems Ppt
Learning&Teaching Systems PptKyle
 
Computer Systems
Computer SystemsComputer Systems
Computer Systemsdrs
 
New Computer Systems
New Computer SystemsNew Computer Systems
New Computer Systemsmrsmackenzie
 
Lecture 2-2023.pdf
Lecture 2-2023.pdfLecture 2-2023.pdf
Lecture 2-2023.pdfssuserff72e4
 
Lecture 2-2023.pdf
Lecture 2-2023.pdfLecture 2-2023.pdf
Lecture 2-2023.pdfssuserff72e4
 
Multimedia digital images
 Multimedia  digital images Multimedia  digital images
Multimedia digital imagesMohammad Dwikat
 
Lossless Huffman coding image compression implementation in spatial domain by...
Lossless Huffman coding image compression implementation in spatial domain by...Lossless Huffman coding image compression implementation in spatial domain by...
Lossless Huffman coding image compression implementation in spatial domain by...IRJET Journal
 
Chapter 3 data representations
Chapter 3 data representationsChapter 3 data representations
Chapter 3 data representationsABDUmomo
 
Multimedia graphics and image data representation
Multimedia graphics and image data representationMultimedia graphics and image data representation
Multimedia graphics and image data representationMazin Alwaaly
 
//STEIM Workshop: A Vernacular of File Formats
//STEIM Workshop: A Vernacular of File Formats//STEIM Workshop: A Vernacular of File Formats
//STEIM Workshop: A Vernacular of File FormatsRosa ɯǝukɯɐn
 
Multi-Level Coding Efficiency with Improved Quality for Image Compression bas...
Multi-Level Coding Efficiency with Improved Quality for Image Compression bas...Multi-Level Coding Efficiency with Improved Quality for Image Compression bas...
Multi-Level Coding Efficiency with Improved Quality for Image Compression bas...ijistjournal
 
Multi-Level Coding Efficiency with Improved Quality for Image Compression bas...
Multi-Level Coding Efficiency with Improved Quality for Image Compression bas...Multi-Level Coding Efficiency with Improved Quality for Image Compression bas...
Multi-Level Coding Efficiency with Improved Quality for Image Compression bas...ijistjournal
 

Ähnlich wie Image compression jpeg coding standards (20)

Mathematics in the Digital Age
Mathematics in the Digital AgeMathematics in the Digital Age
Mathematics in the Digital Age
 
06 cie552 image_manipulation
06 cie552 image_manipulation06 cie552 image_manipulation
06 cie552 image_manipulation
 
Lecture 10 Image Format
Lecture 10  Image FormatLecture 10  Image Format
Lecture 10 Image Format
 
Learning&Teaching Systems Ppt
Learning&Teaching Systems PptLearning&Teaching Systems Ppt
Learning&Teaching Systems Ppt
 
Learning& Teaching Systems Ppt
Learning& Teaching  Systems PptLearning& Teaching  Systems Ppt
Learning& Teaching Systems Ppt
 
Learning&Teaching Systems Ppt
Learning&Teaching Systems PptLearning&Teaching Systems Ppt
Learning&Teaching Systems Ppt
 
Computer Systems
Computer SystemsComputer Systems
Computer Systems
 
New Computer Systems
New Computer SystemsNew Computer Systems
New Computer Systems
 
Lecture 2-2023.pdf
Lecture 2-2023.pdfLecture 2-2023.pdf
Lecture 2-2023.pdf
 
Lecture 2-2023.pdf
Lecture 2-2023.pdfLecture 2-2023.pdf
Lecture 2-2023.pdf
 
Multimedia digital images
 Multimedia  digital images Multimedia  digital images
Multimedia digital images
 
Lossless Huffman coding image compression implementation in spatial domain by...
Lossless Huffman coding image compression implementation in spatial domain by...Lossless Huffman coding image compression implementation in spatial domain by...
Lossless Huffman coding image compression implementation in spatial domain by...
 
Chapter 3 data representations
Chapter 3 data representationsChapter 3 data representations
Chapter 3 data representations
 
Multimedia graphics and image data representation
Multimedia graphics and image data representationMultimedia graphics and image data representation
Multimedia graphics and image data representation
 
//STEIM Workshop: A Vernacular of File Formats
//STEIM Workshop: A Vernacular of File Formats//STEIM Workshop: A Vernacular of File Formats
//STEIM Workshop: A Vernacular of File Formats
 
Multi-Level Coding Efficiency with Improved Quality for Image Compression bas...
Multi-Level Coding Efficiency with Improved Quality for Image Compression bas...Multi-Level Coding Efficiency with Improved Quality for Image Compression bas...
Multi-Level Coding Efficiency with Improved Quality for Image Compression bas...
 
Multi-Level Coding Efficiency with Improved Quality for Image Compression bas...
Multi-Level Coding Efficiency with Improved Quality for Image Compression bas...Multi-Level Coding Efficiency with Improved Quality for Image Compression bas...
Multi-Level Coding Efficiency with Improved Quality for Image Compression bas...
 
Source coding
Source codingSource coding
Source coding
 
Himadeep
HimadeepHimadeep
Himadeep
 
CG.pptx
CG.pptxCG.pptx
CG.pptx
 

Mehr von sakshij91

Why vedic mathematics
Why vedic mathematicsWhy vedic mathematics
Why vedic mathematicssakshij91
 
Cat quant myths
Cat  quant mythsCat  quant myths
Cat quant mythssakshij91
 
The growing popularity of vedic math
The growing popularity of vedic mathThe growing popularity of vedic math
The growing popularity of vedic mathsakshij91
 
Plc then and now
Plc then and nowPlc then and now
Plc then and nowsakshij91
 
Vedic maths history and development
Vedic maths history and developmentVedic maths history and development
Vedic maths history and developmentsakshij91
 
Knowing more about plc
Knowing more about plcKnowing more about plc
Knowing more about plcsakshij91
 
The basics of plc technology part 2
The basics of plc technology part 2The basics of plc technology part 2
The basics of plc technology part 2sakshij91
 
The basics of plc technology
The basics of plc technologyThe basics of plc technology
The basics of plc technologysakshij91
 
The motion estimation
The motion estimationThe motion estimation
The motion estimationsakshij91
 
Benefits of vedic mathemetics
Benefits of vedic mathemeticsBenefits of vedic mathemetics
Benefits of vedic mathemeticssakshij91
 
Basics of audio coding
Basics of audio codingBasics of audio coding
Basics of audio codingsakshij91
 
Eligibility for ies exams
Eligibility for ies examsEligibility for ies exams
Eligibility for ies examssakshij91
 
Basics of speech coding
Basics of speech codingBasics of speech coding
Basics of speech codingsakshij91
 
Image enhancement techniques
Image enhancement techniquesImage enhancement techniques
Image enhancement techniquessakshij91
 
Xat 2014 how different from cat
Xat 2014  how different from catXat 2014  how different from cat
Xat 2014 how different from catsakshij91
 
Xat 2014 preparation tips
Xat 2014 preparation tipsXat 2014 preparation tips
Xat 2014 preparation tipssakshij91
 
Gate exam tips and tricks
Gate exam tips and tricksGate exam tips and tricks
Gate exam tips and trickssakshij91
 
Ies exams and gate exam
Ies exams and gate examIes exams and gate exam
Ies exams and gate examsakshij91
 
Ies 2014 exam tips
Ies 2014 exam tipsIes 2014 exam tips
Ies 2014 exam tipssakshij91
 
Role of cat exam coaching
Role of cat exam coachingRole of cat exam coaching
Role of cat exam coachingsakshij91
 

Mehr von sakshij91 (20)

Why vedic mathematics
Why vedic mathematicsWhy vedic mathematics
Why vedic mathematics
 
Cat quant myths
Cat  quant mythsCat  quant myths
Cat quant myths
 
The growing popularity of vedic math
The growing popularity of vedic mathThe growing popularity of vedic math
The growing popularity of vedic math
 
Plc then and now
Plc then and nowPlc then and now
Plc then and now
 
Vedic maths history and development
Vedic maths history and developmentVedic maths history and development
Vedic maths history and development
 
Knowing more about plc
Knowing more about plcKnowing more about plc
Knowing more about plc
 
The basics of plc technology part 2
The basics of plc technology part 2The basics of plc technology part 2
The basics of plc technology part 2
 
The basics of plc technology
The basics of plc technologyThe basics of plc technology
The basics of plc technology
 
The motion estimation
The motion estimationThe motion estimation
The motion estimation
 
Benefits of vedic mathemetics
Benefits of vedic mathemeticsBenefits of vedic mathemetics
Benefits of vedic mathemetics
 
Basics of audio coding
Basics of audio codingBasics of audio coding
Basics of audio coding
 
Eligibility for ies exams
Eligibility for ies examsEligibility for ies exams
Eligibility for ies exams
 
Basics of speech coding
Basics of speech codingBasics of speech coding
Basics of speech coding
 
Image enhancement techniques
Image enhancement techniquesImage enhancement techniques
Image enhancement techniques
 
Xat 2014 how different from cat
Xat 2014  how different from catXat 2014  how different from cat
Xat 2014 how different from cat
 
Xat 2014 preparation tips
Xat 2014 preparation tipsXat 2014 preparation tips
Xat 2014 preparation tips
 
Gate exam tips and tricks
Gate exam tips and tricksGate exam tips and tricks
Gate exam tips and tricks
 
Ies exams and gate exam
Ies exams and gate examIes exams and gate exam
Ies exams and gate exam
 
Ies 2014 exam tips
Ies 2014 exam tipsIes 2014 exam tips
Ies 2014 exam tips
 
Role of cat exam coaching
Role of cat exam coachingRole of cat exam coaching
Role of cat exam coaching
 

Kürzlich hochgeladen

Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseAnaAcapella
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Association for Project Management
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxcallscotland1987
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701bronxfugly43
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsKarakKing
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxAmanpreet Kaur
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 

Kürzlich hochgeladen (20)

Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 

Image compression jpeg coding standards

  • 2. Introduction The images we see and use every day are compressed before storing and transmitting through wireless network. Assume a standard, color image of 1024 x 1024 pixels. Each pixel has 3 channels of 8 bits (1 byte). Now, doing the math, the total space required for the image would be 3 MB. We all know that it is a large file, and, now, more than ever, with smartphones and cameras, people snap pictures of every moment, food, and places.
  • 3. Stages Image compression has four stages. Compression can be achieved at three of these stages, and the level of compression depends on how efficiently it is done and how much image clarity is being compromised. The four stages are explained here.
  • 4. Stage 1: Mapper This stage achieves no effective compression, but it does the necessary setup required for compression. A computer image is composed of pixels and each pixel is made of three colors: Red, Green, Blue (RGB). Each pixels’ color value is represented by a byte (0-255). The mapper modifies the RGB color space to YCbCr color space. Y is the luminescence, Cb and Cr are the chroma blue and red components.
  • 5. Stage 2: Transformation The next stage is executing Discrete Cosine Transformation on the YCbCr 8X8 subimages. In Matlab, use dct2(). What this transformation does is it preserves most of the image data from 64 matrix elements into first few elements of the matrix. That way, depending on the clarity of image needed, first few elements of the matrix can be picked and the rest of them can be ignored.
  • 6. Stage 3: Quantization The pixels have values ranging from 0 to 255. But, the human eye can notice little difference between the value changes. Taking advantage, we can quantize the values, so we can say that any value between 11-20 will be considered as 15, and 21-30 as 25 and so on... The easiest way to do is to divide by 16. That way, (0-255) / 16 = (0 – 15) or 4 bits. Hence, instead of 8 bits, now you need 4 bits. This is where most of compression occurs for images. When you decode, you just multiply with 16 to get the actual pixel value.
  • 7. Stage 4: Huffman Coding The basic idea is that if you take any image and do a histogram of pixel values, you will find that most of the pixels (about 50% or more) are of same value and some other value like 25%. The idea is to give the pixel value with maximum probability a single bit (like 0 or 1), then the 2nd highest probability pixel would get something like (01 or 10) and so on… The key idea is to try to reduce the bit occupancy for highly repeating pixel values (goes back to why repeatability is good and why we split into YCbCr space).
  • 8. Decoding Once you have the compressed image data, it is the matter of writing it to a file that can be decoded properly and re-constructed back. There is always going to be an overhead of file structure and tags, so your file format has to be efficient. The image can be constructed by reversing each of the step.
  • 9. Learn More in IIT Kharagpur's First Online Certificate Course on Image and Video Communication [Refer: http://goo.gl/hMyYWa ; courses@wiziq.com]
  • 10. Learn More in IIT Kharagpur's First Online Certificate Course on Image and Video Communication [Refer: http://goo.gl/hMyYWa ; courses@wiziq.com]