• DocumentCode
    610040
  • 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
  • fYear
    2013
  • fDate
    20-22 March 2013
  • Firstpage
    143
  • Lastpage
    152
  • 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;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Data Compression Conference (DCC), 2013
  • Conference_Location
    Snowbird, UT
  • ISSN
    1068-0314
  • Print_ISBN
    978-1-4673-6037-1
  • Type

    conf

  • DOI
    10.1109/DCC.2013.22
  • Filename
    6543050