Professional Documents
Culture Documents
1. Lossless Compression:
Lossless compression is a technique used to reduce the size of data files without sacrificing
any information. In other words, the original data can be perfectly reconstructed from the
compressed version. This compression method is commonly used for text, program files, and
other data types where preserving every detail is crucial.
File Format:
Lossless Format:
ü RAW
ü BMP = Bitmap Image File
ü GIF = Graphics Interchange Format
ü PNG = Portable Network Graphics
2. Lossy Compression:
Lossy compression, as the name suggests, is a technique that sacrifices some data quality to
achieve higher compression ratios. This method is commonly used for multimedia files such
as images, audio, and video, where minor losses in quality are often imperceptible to human
perception.
File Format:
Lossy Format:
ü JPEGs = Joint Photographic Experts Group
1. Digital Images:
Web Graphics: Lossy compression is commonly used to reduce the file sizes
of images for web display, improving website loading times and user
experience. Formats like JPEG are popular for this purpose.
Digital Cameras: Many digital cameras use lossy compression to store images
in formats like JPEG, allowing photographers to capture more photos without
using excessive storage space.
Image Sharing: Social media platforms and messaging apps use lossy
compression to quickly transmit images while maintaining reasonable quality.
2. Digital Audio:
Streaming Services: Lossy audio compression is used in streaming platforms
like Spotify and Apple Music to deliver music over the internet with relatively
low data usage while maintaining acceptable sound quality. Formats like MP3
and AAC are commonly used.
VoIP (Voice over IP): Lossy compression is employed in voice
communication applications like Skype and Zoom to transmit voice data
efficiently.
Audio Storage: Lossy compression is used to store audio files on devices with
limited storage space, such as portable media players and smartphones.
3. Video Compression:
Video Streaming: Lossy video compression is used in streaming services like
YouTube and Netflix to deliver video content over the internet. Formats like
H.264 and H.265 (HEVC) are widely used for this purpose.
Video Conferencing: Platforms like Zoom and Microsoft Teams use lossy
video compression to facilitate real-time video communication.
Digital Television: Lossy compression is employed in broadcasting digital
television signals, allowing for multiple channels to be transmitted
simultaneously.
4. Speech Compression:
Voice Recording: Lossy compression is used to store voice recordings, such as
voicemail messages or voice memos on mobile devices.
Speech Recognition: Lossy compression can be used in speech recognition
systems to reduce the amount of data processed without significantly
impacting the accuracy of the recognition.
5. Gaming:
Video Games: Lossy compression is utilized to reduce the size of textures,
audio files, and video clips in video games, allowing for faster loading times
and smoother gameplay.
Online Gaming: In online gaming, lossy compression can help reduce latency
by transmitting game-related audio and video data efficiently over the
network.
6. Medical Imaging:
Telemedicine: Lossy compression can be applied to medical images (such as
X-rays, CT scans, and MRIs) for telemedicine applications, enabling faster
transmission and remote consultation.
Archiving: Lossy compression can be used to store historical medical images
for research and archival purposes.
7. Scientific Data:
Remote Sensing: Lossy compression is used to transmit large amounts of
remote sensing data (e.g., satellite imagery) back to Earth for analysis and
research.
Data Storage: Lossy compression can be applied to scientific data sets to
reduce storage requirements while retaining sufficient information for
analysis.
a. Transform Coding: Transform coding converts the data from its original domain to a
different domain (e.g., from spatial to frequency domain) using techniques like Discrete
Cosine Transform (DCT) or Discrete Wavelet Transform (DWT). The transformed data is
then quantized to reduce the number of bits required for representation.
b. Quantization: Quantization is a process that reduces the precision of the transformed data
by dividing it into discrete levels. Higher levels of quantization lead to greater data loss but
also higher compression ratios.
The choice between lossless and lossy compression depends on the type of data being
compressed, the purpose of the compression, and the trade-off between quality and size. For
example, if you want to upload an image to a website or social media platform, you may
prefer to use lossy compression to reduce the loading time and bandwidth usage. However, if
you want to store an image for archival or editing purposes, you may prefer to use lossless
compression to preserve the original quality and details.
References:
[1] Sayood, K. (2006). Introduction to Data Compression. Academic Press.
[2] Salomon, D. (2006). Data Compression: The Complete Reference. Springer.
[3] MacKay, D. J. (2003). Information Theory, Inference, and Learning Algorithms.
Cambridge University Press.
[4] Gonzalez, R. C., & Woods, R. E. (2007). Digital Image Processing. Pearson Education.
Group Members: