0 votes
in Image processing by
Give an example for Run length Encoding.

1 Answer

0 votes
by
Consider a character run of 15 ’A’ characters, which normally would

require 15 bytes to store:

AAAAAAAAAAAAAAA coded into 15A

With RLE, this would only require two bytes to store; the count (15) is stored as

the first byte and the symbol (A) as the second byte.
...