Image compression Flashcards

1
Q

Explain the principle of run-length coding.

A

Consider the following sequence of numbers (e.g. representing pixel values):
212 211 211 215 214 214 214 214
To reduce the size of this, we specify how many times the following value repeats.

before:
212 211 211 215 214 214 214 214
after:
1212 2211 1215 4214
Useful for sparse data with adjacent identical values.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly