SlideShare a Scribd company logo
1 of 21
Download to read offline
DATA COMPRESSION
Rahul V. Khanwani
Roll No. 47
Department Of Computer Science
Introduction
• WinRaR
• Now A days data And Information Being A
Major thing.
• The Data Compression Refers To the name
Compress. It Means To compress The data And
Utilize the System Space.
Rahul Khanvani For More Visit Binarybuzz.wordpress.com
Why To Utilize Space ?
• For Example
• Similar Kind Of Starting Character In Database
– Amit.
– Amin.
• Reducing Size Length
• Thus To Reduce Unnecessary Space We Need
Data Compression.
A M I T
R A H U L
Rahul Khanvani For
More Visit Binarybuzz.wordpress.com
Need Of Data Compression
• To Reduce The Space:
– Compression of space Depends on Compression
Technique
• Increase Channel bandwith:
– Send-Receive Data In Minimal Form
– Smaller Data Increase The Channel Bandwith
• Security:
– Compression Change The Original Value Of data.
Rahul Khanvani For
More Visit Binarybuzz.wordpress.com
Types Of Data Compression
1. Lossless Compression
1. Shannon-Fano
2. Huffman
3. Lempel-Ziv (LZ)
4. Arithmetic Coding
5. Run Length Encoding
6. Burrows-Wheeler (BWT)
7. Deflate
2. Loosy Compression
1. Image
2. Audio
3. VideoRahul Khanvani For
More Visit Binarybuzz.wordpress.com
Loosy data compression
• In this type of compression data which
was compressed are not recovered
properly.
• In this technique some part of data in
range of time period is drop in short
some part are cut from chain of data
bits.
Rahul Khanvani For
More Visit Binarybuzz.wordpress.com
Lossless data compression
• In this compression technique
after compression at recovery
time x:-we will get data as we
have before compression.
– Ex:-
» Zip file
Rahul Khanvani For
More Visit Binarybuzz.wordpress.com
Terms Of Compression
• Coding
– Describes the procedure defining the
transformation of symbols from one set
of symbols to another one.
• Encoding
– Process denotes the coding into a
particular destination format.
– Converting Bitmap to JPEG
• Decoding
– Process denotes the reverse process
related to Encoding
– JPEG to Bitmap
Rahul Khanvani For
More Visit Binarybuzz.wordpress.com
Data compression an example
• Image Conversations:
• RAW
• BMP(bitmap image):
2.25MB
• TTIF(tagged image file
format):1.65MB
• PNG(Portable Network
Graphics):1.44MB
• GIF(Graphic Interchange
Format):254KB
• JPEG(Joint Photographic
Experts Group):291KB
Rahul Khanvani For
More Visit Binarybuzz.wordpress.com
DATA
COMPRESSION
TECHNIQUES
Rahul Khanvani For More Visit Binarybuzz.wordpress.com
Shannon-Fano
Huffman
Lempel-Ziv (LZ)
Arithmetic Coding
Run Length Encoding
Burrows-Wheeler (BWT)
Deflate
1
2
3
4
5
6
7 Rahul Khanvani For
More Visit Binarybuzz.wordpress.com
SHANNON-FANO
• Developed In 1960.
• Shannon–Fano coding, named after Claude
Elwood Shannon and Robert Fano, is a
technique for constructing a prefix code
based on a set of symbols and their
probabilities.
• Also Known As Variable Length Coding (VLC).
• Top Down Approach.Rahul Khanvani For More Visit Binarybuzz.wordpress.com
Shannon-Fano Algorithm
1. For a given list of symbols, develop a corresponding list of
probabilities or frequency counts.
2. Sort the lists of symbols according to frequency, with the
most frequently occurring symbols at the left and the least
common at the right.
3. Divide the list into two parts, with the total frequency counts
of the left part being as close to the total of the right as
possible.
4. The left part of the list is assigned the binary digit 0, and the
right part is assigned the digit 1. This means that the codes
for the symbols in the first part will all start with 0, and the
codes in the second part will all start with 1.
5. Recursively apply the steps 3 and 4 to each of the two halves,
subdividing groups and adding bits to the codes until each
symbol has become a corresponding code leaf on the tree.Rahul Khanvani For More Visit Binarybuzz.wordpress.com
Example:
Symbol Count
A 15
B 7
C 6
D 6
E 5
Rahul Khanvani For
More Visit Binarybuzz.wordpress.com
Example:
Symbol Count Value
A 15 0
B 7 0
C 6 1
D 6 1
E 5 1
22
17
Rahul Khanvani For
More Visit Binarybuzz.wordpress.com
Example:
Symbol Count Value
A 15 00
C 6 1
D 6 1
E 5 1
B 7 01
Rahul Khanvani For
More Visit Binarybuzz.wordpress.com
Example:
Symbol Count Value
A 15 00
C 6 10
B 7 01
D 6 110
E 5 111
Rahul Khanvani For
More Visit Binarybuzz.wordpress.com
Example:
Symbol Count Value
A 15 00
C 6 10
B 7 01
D 6 11
E 5 11
Rahul Khanvani For
More Visit Binarybuzz.wordpress.com
Example:
Symbol Count Value
A 15 00
C 6 10
B 7 01
D 6 110
E 5 110
39
Rahul Khanvani For
More Visit Binarybuzz.wordpress.com
Conclusion
• Shannon–Fano is almost never used.
• Huffmam coding is almost as computationally
simple and produces prefix codes that always
achieve the lowest expected code word length.
• Shannon–Fano coding is used in the IMPLODE
compression method, which is part of the ZIP
file format, where it is desired to apply a simple
algorithm with high performance and minimum
requirements for programming.
Rahul Khanvani For More Visit Binarybuzz.wordpress.com
THANK YOU
Rahul Khanvani For More Visit Binarybuzz.wordpress.com

More Related Content

What's hot

What's hot (20)

Audio compression 1
Audio compression 1Audio compression 1
Audio compression 1
 
Audio and Video Compression
Audio and Video CompressionAudio and Video Compression
Audio and Video Compression
 
Chapter 5 - Data Compression
Chapter 5 - Data CompressionChapter 5 - Data Compression
Chapter 5 - Data Compression
 
Multimedia compression
Multimedia compressionMultimedia compression
Multimedia compression
 
Compression techniques
Compression techniquesCompression techniques
Compression techniques
 
Audio compression
Audio compressionAudio compression
Audio compression
 
Introduction to Video Compression Techniques - Anurag Jain
Introduction to Video Compression Techniques - Anurag JainIntroduction to Video Compression Techniques - Anurag Jain
Introduction to Video Compression Techniques - Anurag Jain
 
Sound
SoundSound
Sound
 
Audio compression
Audio compression Audio compression
Audio compression
 
Data compression
Data compressionData compression
Data compression
 
Data Compression (Lossy and Lossless)
Data Compression (Lossy and Lossless)Data Compression (Lossy and Lossless)
Data Compression (Lossy and Lossless)
 
Data compression
Data compression Data compression
Data compression
 
Dictionary Based Compression
Dictionary Based CompressionDictionary Based Compression
Dictionary Based Compression
 
Digital video
Digital videoDigital video
Digital video
 
Digitization of Audio.ppt
Digitization of Audio.pptDigitization of Audio.ppt
Digitization of Audio.ppt
 
Instruction level parallelism
Instruction level parallelismInstruction level parallelism
Instruction level parallelism
 
Data compression
Data  compressionData  compression
Data compression
 
H263.ppt
H263.pptH263.ppt
H263.ppt
 
Video Compression
Video CompressionVideo Compression
Video Compression
 
H.263 Video Codec
H.263 Video CodecH.263 Video Codec
H.263 Video Codec
 

Viewers also liked

Fundamentals of Data compression
Fundamentals of Data compressionFundamentals of Data compression
Fundamentals of Data compressionM.k. Praveen
 
Data Compression Technique
Data Compression TechniqueData Compression Technique
Data Compression Techniquenayakslideshare
 
data compression technique
data compression techniquedata compression technique
data compression techniqueCHINMOY PAUL
 
Image compression
Image compressionImage compression
Image compressionAle Johnsan
 
Compression: Images (JPEG)
Compression: Images (JPEG)Compression: Images (JPEG)
Compression: Images (JPEG)danishrafiq
 
Multimedia authoring tools
Multimedia authoring toolsMultimedia authoring tools
Multimedia authoring toolsOnline
 
Introduction for Data Compression
Introduction for Data Compression Introduction for Data Compression
Introduction for Data Compression MANISH T I
 
Presentation of Lossy compression
Presentation of Lossy compressionPresentation of Lossy compression
Presentation of Lossy compressionOmar Ghazi
 
Visual Data Mining
Visual Data MiningVisual Data Mining
Visual Data MiningCloudNSci
 
Image compression: Techniques and Application
Image compression: Techniques and ApplicationImage compression: Techniques and Application
Image compression: Techniques and ApplicationNidhi Baranwal
 
Data Compression In SQL
Data Compression In SQLData Compression In SQL
Data Compression In SQLBoosh Booshan
 

Viewers also liked (19)

Data compression
Data compressionData compression
Data compression
 
Fundamentals of Data compression
Fundamentals of Data compressionFundamentals of Data compression
Fundamentals of Data compression
 
Compression
CompressionCompression
Compression
 
Data Compression Technique
Data Compression TechniqueData Compression Technique
Data Compression Technique
 
data compression technique
data compression techniquedata compression technique
data compression technique
 
image compression ppt
image compression pptimage compression ppt
image compression ppt
 
Data compression
Data compressionData compression
Data compression
 
Image compression
Image compressionImage compression
Image compression
 
JPEG Image Compression
JPEG Image CompressionJPEG Image Compression
JPEG Image Compression
 
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 authoring tools
Multimedia authoring toolsMultimedia authoring tools
Multimedia authoring tools
 
Introduction for Data Compression
Introduction for Data Compression Introduction for Data Compression
Introduction for Data Compression
 
Data compession
Data compession Data compession
Data compession
 
Presentation of Lossy compression
Presentation of Lossy compressionPresentation of Lossy compression
Presentation of Lossy compression
 
Visual Data Mining
Visual Data MiningVisual Data Mining
Visual Data Mining
 
Image compression: Techniques and Application
Image compression: Techniques and ApplicationImage compression: Techniques and Application
Image compression: Techniques and Application
 
Data Compression In SQL
Data Compression In SQLData Compression In SQL
Data Compression In SQL
 

Similar to Data compression introduction

Data compression huffman coding algoritham
Data compression huffman coding algorithamData compression huffman coding algoritham
Data compression huffman coding algorithamRahul Khanwani
 
Introduction to column oriented databases in PHP
Introduction to column oriented databases in PHPIntroduction to column oriented databases in PHP
Introduction to column oriented databases in PHPZend by Rogue Wave Software
 
ShaREing Is Caring
ShaREing Is CaringShaREing Is Caring
ShaREing Is Caringsporst
 
Hortonworks Technical Workshop: HBase For Mission Critical Applications
Hortonworks Technical Workshop: HBase For Mission Critical ApplicationsHortonworks Technical Workshop: HBase For Mission Critical Applications
Hortonworks Technical Workshop: HBase For Mission Critical ApplicationsHortonworks
 
Patterns of the Lambda Architecture -- 2015 April - Hadoop Summit, Europe
Patterns of the Lambda Architecture -- 2015 April - Hadoop Summit, EuropePatterns of the Lambda Architecture -- 2015 April - Hadoop Summit, Europe
Patterns of the Lambda Architecture -- 2015 April - Hadoop Summit, EuropeFlip Kromer
 
Scaling Machine Learning Systems up to Billions of Predictions per Day
Scaling Machine Learning Systems up to Billions of Predictions per DayScaling Machine Learning Systems up to Billions of Predictions per Day
Scaling Machine Learning Systems up to Billions of Predictions per DayCarmine Paolino
 
The History and Use of R
The History and Use of RThe History and Use of R
The History and Use of RAnalyticsWeek
 
Robust Stream Processing with Apache Flink
Robust Stream Processing with Apache FlinkRobust Stream Processing with Apache Flink
Robust Stream Processing with Apache FlinkJamie Grier
 
A @textfiles approach to gathering the world's DNS
A @textfiles approach to gathering the world's DNSA @textfiles approach to gathering the world's DNS
A @textfiles approach to gathering the world's DNSRob Fuller
 
Introduction to PHP - SDPHP
Introduction to PHP - SDPHPIntroduction to PHP - SDPHP
Introduction to PHP - SDPHPEric Johnson
 
AWS re:Invent 2016: Design Patterns for High Availability: Lessons from Amazo...
AWS re:Invent 2016: Design Patterns for High Availability: Lessons from Amazo...AWS re:Invent 2016: Design Patterns for High Availability: Lessons from Amazo...
AWS re:Invent 2016: Design Patterns for High Availability: Lessons from Amazo...Amazon Web Services
 
Streaming data for real time analysis
Streaming data for real time analysisStreaming data for real time analysis
Streaming data for real time analysisAmazon Web Services
 
Jamie Grier - Robust Stream Processing with Apache Flink
Jamie Grier - Robust Stream Processing with Apache FlinkJamie Grier - Robust Stream Processing with Apache Flink
Jamie Grier - Robust Stream Processing with Apache FlinkFlink Forward
 
No C-QL (Or how I learned to stop worrying, and love eventual consistency) (N...
No C-QL (Or how I learned to stop worrying, and love eventual consistency) (N...No C-QL (Or how I learned to stop worrying, and love eventual consistency) (N...
No C-QL (Or how I learned to stop worrying, and love eventual consistency) (N...Brian Brazil
 
Introduction to Development for the Internet
Introduction to Development for the InternetIntroduction to Development for the Internet
Introduction to Development for the InternetMike Crabb
 
Design in Motion: Video Production Workflow
Design in Motion: Video Production WorkflowDesign in Motion: Video Production Workflow
Design in Motion: Video Production Workflowgoodfriday
 
Week 8 intro to python
Week 8   intro to pythonWeek 8   intro to python
Week 8 intro to pythonbrianjihoonlee
 
Powering Custom Apps at Facebook using Spark Script Transformation
Powering Custom Apps at Facebook using Spark Script TransformationPowering Custom Apps at Facebook using Spark Script Transformation
Powering Custom Apps at Facebook using Spark Script TransformationDatabricks
 

Similar to Data compression introduction (20)

Data compression huffman coding algoritham
Data compression huffman coding algorithamData compression huffman coding algoritham
Data compression huffman coding algoritham
 
Introduction to column oriented databases in PHP
Introduction to column oriented databases in PHPIntroduction to column oriented databases in PHP
Introduction to column oriented databases in PHP
 
ShaREing Is Caring
ShaREing Is CaringShaREing Is Caring
ShaREing Is Caring
 
Hortonworks Technical Workshop: HBase For Mission Critical Applications
Hortonworks Technical Workshop: HBase For Mission Critical ApplicationsHortonworks Technical Workshop: HBase For Mission Critical Applications
Hortonworks Technical Workshop: HBase For Mission Critical Applications
 
Apache HAWQ Architecture
Apache HAWQ ArchitectureApache HAWQ Architecture
Apache HAWQ Architecture
 
Patterns of the Lambda Architecture -- 2015 April - Hadoop Summit, Europe
Patterns of the Lambda Architecture -- 2015 April - Hadoop Summit, EuropePatterns of the Lambda Architecture -- 2015 April - Hadoop Summit, Europe
Patterns of the Lambda Architecture -- 2015 April - Hadoop Summit, Europe
 
Scaling Machine Learning Systems up to Billions of Predictions per Day
Scaling Machine Learning Systems up to Billions of Predictions per DayScaling Machine Learning Systems up to Billions of Predictions per Day
Scaling Machine Learning Systems up to Billions of Predictions per Day
 
The History and Use of R
The History and Use of RThe History and Use of R
The History and Use of R
 
Robust Stream Processing with Apache Flink
Robust Stream Processing with Apache FlinkRobust Stream Processing with Apache Flink
Robust Stream Processing with Apache Flink
 
A @textfiles approach to gathering the world's DNS
A @textfiles approach to gathering the world's DNSA @textfiles approach to gathering the world's DNS
A @textfiles approach to gathering the world's DNS
 
Introduction to PHP - SDPHP
Introduction to PHP - SDPHPIntroduction to PHP - SDPHP
Introduction to PHP - SDPHP
 
AWS re:Invent 2016: Design Patterns for High Availability: Lessons from Amazo...
AWS re:Invent 2016: Design Patterns for High Availability: Lessons from Amazo...AWS re:Invent 2016: Design Patterns for High Availability: Lessons from Amazo...
AWS re:Invent 2016: Design Patterns for High Availability: Lessons from Amazo...
 
Streaming data for real time analysis
Streaming data for real time analysisStreaming data for real time analysis
Streaming data for real time analysis
 
Jamie Grier - Robust Stream Processing with Apache Flink
Jamie Grier - Robust Stream Processing with Apache FlinkJamie Grier - Robust Stream Processing with Apache Flink
Jamie Grier - Robust Stream Processing with Apache Flink
 
No C-QL (Or how I learned to stop worrying, and love eventual consistency) (N...
No C-QL (Or how I learned to stop worrying, and love eventual consistency) (N...No C-QL (Or how I learned to stop worrying, and love eventual consistency) (N...
No C-QL (Or how I learned to stop worrying, and love eventual consistency) (N...
 
Introduction to Development for the Internet
Introduction to Development for the InternetIntroduction to Development for the Internet
Introduction to Development for the Internet
 
Distributed "Web Scale" Systems
Distributed "Web Scale" SystemsDistributed "Web Scale" Systems
Distributed "Web Scale" Systems
 
Design in Motion: Video Production Workflow
Design in Motion: Video Production WorkflowDesign in Motion: Video Production Workflow
Design in Motion: Video Production Workflow
 
Week 8 intro to python
Week 8   intro to pythonWeek 8   intro to python
Week 8 intro to python
 
Powering Custom Apps at Facebook using Spark Script Transformation
Powering Custom Apps at Facebook using Spark Script TransformationPowering Custom Apps at Facebook using Spark Script Transformation
Powering Custom Apps at Facebook using Spark Script Transformation
 

More from Rahul Khanwani

Online examination system
Online examination systemOnline examination system
Online examination systemRahul Khanwani
 
Power goggling - To Search Easier On Google
Power goggling - To Search Easier On GooglePower goggling - To Search Easier On Google
Power goggling - To Search Easier On GoogleRahul Khanwani
 
Er diagram practical examples
Er diagram practical examplesEr diagram practical examples
Er diagram practical examplesRahul Khanwani
 
Entity relationship(er) model
Entity relationship(er) modelEntity relationship(er) model
Entity relationship(er) modelRahul Khanwani
 

More from Rahul Khanwani (7)

Online examination system
Online examination systemOnline examination system
Online examination system
 
Power goggling - To Search Easier On Google
Power goggling - To Search Easier On GooglePower goggling - To Search Easier On Google
Power goggling - To Search Easier On Google
 
Er diagram practical examples
Er diagram practical examplesEr diagram practical examples
Er diagram practical examples
 
Entity relationship(er) model
Entity relationship(er) modelEntity relationship(er) model
Entity relationship(er) model
 
Cryptography
CryptographyCryptography
Cryptography
 
Virtualization
VirtualizationVirtualization
Virtualization
 
Google glass
Google glassGoogle glass
Google glass
 

Recently uploaded

ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Angeliki Cooney
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Zilliz
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKJago de Vreede
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...apidays
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 

Recently uploaded (20)

ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 

Data compression introduction

  • 1. DATA COMPRESSION Rahul V. Khanwani Roll No. 47 Department Of Computer Science
  • 2. Introduction • WinRaR • Now A days data And Information Being A Major thing. • The Data Compression Refers To the name Compress. It Means To compress The data And Utilize the System Space. Rahul Khanvani For More Visit Binarybuzz.wordpress.com
  • 3. Why To Utilize Space ? • For Example • Similar Kind Of Starting Character In Database – Amit. – Amin. • Reducing Size Length • Thus To Reduce Unnecessary Space We Need Data Compression. A M I T R A H U L Rahul Khanvani For More Visit Binarybuzz.wordpress.com
  • 4. Need Of Data Compression • To Reduce The Space: – Compression of space Depends on Compression Technique • Increase Channel bandwith: – Send-Receive Data In Minimal Form – Smaller Data Increase The Channel Bandwith • Security: – Compression Change The Original Value Of data. Rahul Khanvani For More Visit Binarybuzz.wordpress.com
  • 5. Types Of Data Compression 1. Lossless Compression 1. Shannon-Fano 2. Huffman 3. Lempel-Ziv (LZ) 4. Arithmetic Coding 5. Run Length Encoding 6. Burrows-Wheeler (BWT) 7. Deflate 2. Loosy Compression 1. Image 2. Audio 3. VideoRahul Khanvani For More Visit Binarybuzz.wordpress.com
  • 6. Loosy data compression • In this type of compression data which was compressed are not recovered properly. • In this technique some part of data in range of time period is drop in short some part are cut from chain of data bits. Rahul Khanvani For More Visit Binarybuzz.wordpress.com
  • 7. Lossless data compression • In this compression technique after compression at recovery time x:-we will get data as we have before compression. – Ex:- » Zip file Rahul Khanvani For More Visit Binarybuzz.wordpress.com
  • 8. Terms Of Compression • Coding – Describes the procedure defining the transformation of symbols from one set of symbols to another one. • Encoding – Process denotes the coding into a particular destination format. – Converting Bitmap to JPEG • Decoding – Process denotes the reverse process related to Encoding – JPEG to Bitmap Rahul Khanvani For More Visit Binarybuzz.wordpress.com
  • 9. Data compression an example • Image Conversations: • RAW • BMP(bitmap image): 2.25MB • TTIF(tagged image file format):1.65MB • PNG(Portable Network Graphics):1.44MB • GIF(Graphic Interchange Format):254KB • JPEG(Joint Photographic Experts Group):291KB Rahul Khanvani For More Visit Binarybuzz.wordpress.com
  • 10. DATA COMPRESSION TECHNIQUES Rahul Khanvani For More Visit Binarybuzz.wordpress.com
  • 11. Shannon-Fano Huffman Lempel-Ziv (LZ) Arithmetic Coding Run Length Encoding Burrows-Wheeler (BWT) Deflate 1 2 3 4 5 6 7 Rahul Khanvani For More Visit Binarybuzz.wordpress.com
  • 12. SHANNON-FANO • Developed In 1960. • Shannon–Fano coding, named after Claude Elwood Shannon and Robert Fano, is a technique for constructing a prefix code based on a set of symbols and their probabilities. • Also Known As Variable Length Coding (VLC). • Top Down Approach.Rahul Khanvani For More Visit Binarybuzz.wordpress.com
  • 13. Shannon-Fano Algorithm 1. For a given list of symbols, develop a corresponding list of probabilities or frequency counts. 2. Sort the lists of symbols according to frequency, with the most frequently occurring symbols at the left and the least common at the right. 3. Divide the list into two parts, with the total frequency counts of the left part being as close to the total of the right as possible. 4. The left part of the list is assigned the binary digit 0, and the right part is assigned the digit 1. This means that the codes for the symbols in the first part will all start with 0, and the codes in the second part will all start with 1. 5. Recursively apply the steps 3 and 4 to each of the two halves, subdividing groups and adding bits to the codes until each symbol has become a corresponding code leaf on the tree.Rahul Khanvani For More Visit Binarybuzz.wordpress.com
  • 14. Example: Symbol Count A 15 B 7 C 6 D 6 E 5 Rahul Khanvani For More Visit Binarybuzz.wordpress.com
  • 15. Example: Symbol Count Value A 15 0 B 7 0 C 6 1 D 6 1 E 5 1 22 17 Rahul Khanvani For More Visit Binarybuzz.wordpress.com
  • 16. Example: Symbol Count Value A 15 00 C 6 1 D 6 1 E 5 1 B 7 01 Rahul Khanvani For More Visit Binarybuzz.wordpress.com
  • 17. Example: Symbol Count Value A 15 00 C 6 10 B 7 01 D 6 110 E 5 111 Rahul Khanvani For More Visit Binarybuzz.wordpress.com
  • 18. Example: Symbol Count Value A 15 00 C 6 10 B 7 01 D 6 11 E 5 11 Rahul Khanvani For More Visit Binarybuzz.wordpress.com
  • 19. Example: Symbol Count Value A 15 00 C 6 10 B 7 01 D 6 110 E 5 110 39 Rahul Khanvani For More Visit Binarybuzz.wordpress.com
  • 20. Conclusion • Shannon–Fano is almost never used. • Huffmam coding is almost as computationally simple and produces prefix codes that always achieve the lowest expected code word length. • Shannon–Fano coding is used in the IMPLODE compression method, which is part of the ZIP file format, where it is desired to apply a simple algorithm with high performance and minimum requirements for programming. Rahul Khanvani For More Visit Binarybuzz.wordpress.com
  • 21. THANK YOU Rahul Khanvani For More Visit Binarybuzz.wordpress.com