Title :
From Run Length Encoding to LZ78 and Back Again
Author :
Tamakoshi, Y. ; Tomohiro, I. ; Inenaga, S. ; Bannai, H. ; Takeda, Masanori
Author_Institution :
Dept. of Inf., Kyushu Univ., Fukuoka, Japan
Abstract :
In this paper, we present efficient algorithms for interconversion between Lempel-Ziv 78 (LZ78) encoding and run length encoding (RLE). We show how, given an RLE of size n for a string S, we can compute the corresponding LZ78 encoding of size m for S in O((n + m) log σ) time, where σ is the number of distinct characters appearing in S. We also show how, given an LZ78 encoding of size m for a string S, we can compute the corresponding RLE of size n in O(n + m) time. Both algorithms use O(m) extra working space.
Keywords :
computational complexity; runlength codes; LZ78 encoding; Lempel-Ziv78 encoding; RLE; run length encoding; Compression algorithms; Computers; Encoding; Frequency modulation; Heuristic algorithms; Time complexity; Lempel-Ziv 78; interconversion; run length encoding;
Conference_Titel :
Data Compression Conference (DCC), 2013
Conference_Location :
Snowbird, UT
Print_ISBN :
978-1-4673-6037-1
DOI :
10.1109/DCC.2013.22