Data Compression
Data Compression
Data Compression is also referred to as bit-rate reduction or source coding. This technique is used to reduce the
size of large files.
The advantage of data compression is that it helps us save our disk space and time in the data transmission.
• with respect the the fundamental building blocks of the algorithms used
The main advantage of lossless data compression is that we can restore the original data in its original form after
the decompression.
Lossless data compression mainly used in the sensitive documents, confidential information, and PNG, RAW, GIF,
BMP file formats.
3. Huffman Coding
4. Arithmetic Coding
What is Lossy data compression
Lossy data compression is used to compress larger files into smaller files. In this compression technique, some
specific amount of data and quality are removed (loss) from the original file. It takes less memory space from the
original file due to the loss of original data and quality. This technique is generally useful for us when the quality of
data is not our first priority.
Note: The human eye does not measure the loss of data.
Lossy data compression is most widely used in JPEG images, MPEG video, and MP3 audio formats.
1. Transform coding
As we know, both lossless and lossy data compression techniques are used to compress data form its
original size. The main difference between lossless and lossy data compression is that we can restore
the lossless data in its original form after the decompression, but lossy data can't be restored to its
original form after the decompression.
The below table shows the difference between lossless and lossy data compression -
measurable.
2. In lossless, the file is restored in its original In Lossy, the file does not restore in its
3. Lossless data compression algorithms are Run Lossy data compression algorithms are:
fano encoding, Arithmetic encoding, Lempel Ziv Transform, Discrete Wavelet Transform,
data compression holds more data. lossy data compression holds less data.
6. File quality is high in the lossless data File quality is low in the lossy data
compression. compression.
7. Lossless data compression mainly supports Lossy data compression mainly supports
RAW, BMP, PNG, WAV, FLAC, and ALAC file JPEG, GIF, MP3, MP4, MKV, and OGG file
types. types.
Compression Technology is employed to efficiently use storage space, to save on transmission capacity and
transmission time, respectively. Basically, its all about saving resources and money. Despite of the overwhelming
advances in the areas of storage media and transmission networks it is actually quite a surprise that still
compression technology is required. One important reason is that also the resolution and amount of digital data
has increased (e.g. HD-TV resolution, ever-increasing sensor sizes in consumer cameras), and that there are still
application areas where resources are limited, e.g. wireless networks. Apart from the aim of simply reducing the
amount of data, standards like MPEG-4, MPEG-7, and MPEG-21 offer additional functionalities.
During the last years three important trends have contributed to the fact that nowadays compression technology is
as important as it has never been before – this development has already changed the way we work with
multimedial data like text, speech, audio, images, and video which will lead to new products and applications:
● The availability of highly effective methods for compressing various types of data.
● The availability of fast and cheap hardware components to conduct compression on single-chip systems,
microprocessors, DSPs and VLSI systems.
● Convergence of computer, communication, consumer electronics, publishing, and entertainment industries.
If it is evident that in an application compression technology is required it has to be decided which type of
technology should be employed. Even if it is not evident at first sight, compression may lead to certain surprising
benefits and can offer additional functionalities due to saved resources. When selecting a specific system, quite
often we are not entirely free to chose due to standards or de-facto standards – due to the increasing
develeopment of open systems and the eventual declining importance of standards (example: MPEG-4
standardization !) these criteria might gain even more importance in the future. Important selection criteria are for
example: