We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:

Download:

Current browse context:

cs.DS

Change to browse by:

cs

References & Citations

DBLP - CS Bibliography

Bookmark

(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo

Computer Science > Data Structures and Algorithms

Title: Improving Run Length Encoding by Preprocessing

Abstract: The Run Length Encoding (RLE) compression method is a long standing simple lossless compression scheme which is easy to implement and achieves a good compression on input data which contains repeating consecutive symbols. In its pure form RLE is not applicable on natural text or other input data with short sequences of identical symbols. We present a combination of preprocessing steps that turn arbitrary input data in a byte-wise encoding into a bit-string which is highly suitable for RLE compression. The main idea is to first read all most significant bits of the input byte-string, followed by the second most significant bit, and so on. We combine this approach by a dynamic byte remapping as well as a Burrows-Wheeler-Scott transform on a byte level. Finally, we apply a Huffman Encoding on the output of the bit-wise RLE encoding to allow for more dynamic lengths of code words encoding runs of the RLE. With our technique we can achieve a lossless average compression which is better than the standard RLE compression by a factor of 8 on average.
Subjects: Data Structures and Algorithms (cs.DS)
MSC classes: 68P30, 94A08
Cite as: arXiv:2101.05329 [cs.DS]
  (or arXiv:2101.05329v2 [cs.DS] for this version)

Submission history

From: Petra Wolf [view email]
[v1] Wed, 13 Jan 2021 20:11:47 GMT (182kb,D)
[v2] Tue, 30 Mar 2021 21:17:27 GMT (179kb,D)

Link back to: arXiv, form interface, contact.