Compression methods

0.0(0)
Studied by 1 person
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/34

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 3:26 AM on 12/24/24
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

35 Terms

1
New cards

What is the purpose of Run-length Encoding (RLE)?

To compress sequences of repeated data.

2
New cards

How does RLE compress data?

It replaces consecutive identical elements with a single value and a count.

3
New cards

What is the best use case for RLE?

Effective for data with long runs of repeated values, such as simple graphics or monochrome images.

4
New cards

What is a primary disadvantage of Run-length Encoding?

Ineffective for data without many repeated sequences.

5
New cards

What is the purpose of Huffman Encoding?

To provide efficient, variable-length coding based on frequency of data elements.

6
New cards

How does Huffman Encoding create its coding system?

By creating a binary tree where more frequent elements have shorter codes.

7
New cards

What is the best use case for Huffman Encoding?

General-purpose text and data compression.

8
New cards

What are the advantages of Huffman Encoding?

Optimal for prefix codes; no wasted bits.

9
New cards

What are the disadvantages of Huffman Encoding?

Requires two passes over data (one to build the tree, one to encode).

10
New cards

What is the purpose of Delta Encoding?

To store differences between sequential data points rather than absolute values.

11
New cards

How does Delta Encoding work?

It records the difference between each element and its predecessor.

12
New cards

What is the best use case for Delta Encoding?

Time series data or any data with small changes between consecutive elements.

13
New cards

What is an advantage of Delta Encoding?

Effective when changes between data points are small.

14
New cards

What is a disadvantage of Delta Encoding?

Less effective if data changes drastically.

15
New cards

What does LZW Compression use to encode data?

A dictionary-based approach to encode sequences of data.

16
New cards

How does LZW Compression work?

It builds a dictionary of data sequences and replaces repeated sequences with references to the dictionary.

17
New cards

What is the best use case for LZW Compression?

Text files and images, such as GIF format.

18
New cards

What is an advantage of LZW Compression?

No need to transmit the dictionary; efficient for repetitive data.

19
New cards

What is a disadvantage of LZW Compression?

Can be less effective on small datasets or highly varied data.

20
New cards

What type of compression does JPEG use?

Lossy compression.

21
New cards

What is unique about JPEG's compression methods compared to RLE, Huffman, Delta, and LZW?

JPEG can discard some image data permanently, while the others are lossless.

22
New cards

What transformation does JPEG use in its compression process?

Discrete Cosine Transform (DCT).

23
New cards

What is the purpose of quantization in JPEG compression?

To reduce the precision of less visually significant frequencies.

24
New cards

How does JPEG improve compression efficiency?

By converting images from RGB to YCbCr color space, separating luminance from chrominance.

25
New cards

What coding method does JPEG often utilize as part of its compression process?

Huffman encoding.

26
New cards

How does JPEG process images to compress them?

In 8x8 pixel blocks.

27
New cards

What is a potential drawback of JPEG's block-based processing?

Can lead to blockiness or artifacts at high compression levels.

28
New cards

MPEG Standard

A set of video compression standards that includes I-Frames (intraframe), P-Frames (predicted frames), and B-Frames (bidirectional frames), which are combined into a Group of Pictures (GOP) for video compression.

29
New cards

I-Frame

Intra Frames (I-Frames) are coded using information only from the picture itself, providing potential random access points into the compressed video.

30
New cards

P-Frame

Predicted Frames (P-Frames) are coded with respect to the nearest previous I- or P-frames, using motion compensation for improved compression.

31
New cards

B-Frame

Bidirectional Frames (B-Frames) use both past and future pictures as reference, offering the most compression but requiring the most computation.

32
New cards

Group of Pictures (GOP)

A GOP is formed by combining I-Frames, P-Frames, and B-Frames to efficiently encode video sequences.

33
New cards

Motion Compensation

Motion compensation predicts a frame's data based on a reference image, using methods like macro-block matching to encode differences.

34
New cards

Perceptual Audio Coding

Techniques like MPEG Layer-3 exploit human hearing properties to reduce audio file size with minimal perceptible quality loss.

35
New cards

Streaming Multimedia

Streaming breaks data into packets so users can begin playing media without downloading the entire file, leveraging existing