arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2101.05329cs.DS
收藏

用预处理方法改进行程长度编码

Improving Run Length Encoding by Preprocessing

Sven Fiergolla, Petra Wolf

摘要:

行程长度编码(RLE)压缩方法是一种长期存在的简单的无损压缩方案,其易于实现并且对包含重复连续符号的输入数据实现良好的压缩。RLE的纯形式不适用于自然文本或具有相同符号的短序列的其他输入数据。我们提出了一个组合的预处理步骤,把任意的输入数据在一个字节的编码成一个位串,这是非常适合RLE压缩。其主要思想是首先读取输入字节串的所有最高有效位,其次是第二个最高有效位,依此类推。我们结合了这种方法,通过一个动态的字节重映射,以及一个Burrows-Wheeler-Scott变换的字节级别。最后,我们在逐位RLE编码的输出上应用霍夫曼编码,以允许RLE的码字编码运行的更多动态长度。与我们的技术,我们可以实现一个无损的平均压缩,这是优于标准的RLE压缩的一个因素,平均8。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑