Skip to main content

Logical Implication to Reduce Run Time Memory Requirement and Searches During LZW Decompression

  • Conference paper
  • First Online:
Advanced Computational and Communication Paradigms

Part of the book series: Lecture Notes in Electrical Engineering ((LNEE,volume 475))

Abstract

LZW data compression algorithm maintains n distinct codes in dictionary for n distinct patterns in input string. Consequently, to decode a code, the decompressor unnecessarily searches over a set of n codes. We have presented a universal pattern encoding and decoding technique called MSED (Mother Saraswati Encoding and Decoding) in this work. MSED uses logical implication as a powerful tool to encode and decode patterns. We have proved that encoding patterns with logical implication achieve two improvements: (i) reduced memory requirement of LZW and (ii) reduced required number of searches in order to decode any code during decompression. In MSED technique, dictionary of the LZW compressor consists of an ordered pair of distinct patterns as (Pk, Pm) and code for Pk. Code of Pm is unambiguously determined from code of Pk using logical implication and complement operation. LZW decompressor dictionary has extra 2-bit information called recent to indicate the most recently entered pattern Pk or Pm. Hence, only \(\frac{n}{2}\) codes to maintain for n patterns in dictionary. Thus, memory is saved and decompressor searches at most \(\frac{n}{2}\) codes in order to decode any code.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 189.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 249.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 249.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Funusaka S, Nakano K, Ito Y (2015) A parallel algorithm for LZW decompression with GPU implementation. In: International conference on parallel processing and applied mathematics, pp 228–237

    Google Scholar 

  2. Funusaka S, Nakano K, Ito Y (2015) Fast LZW Compression Using a GPU. In: Third international symposium on computing and networking, pp 303–308

    Google Scholar 

  3. Horspool RN (1991) Improving LZW. In: Proceedings of data compression conference (DCC’91). pp 332–341

    Google Scholar 

  4. Keneiser MJ, Wolff FG, Papachriston CA, Weyer DJ, McIntyre DR (2003) A technique for high ratio LZW compression. In: Proceedings of the conference on design, automation and test in Europe and exhibition, vol 1, pp 116–121

    Google Scholar 

  5. Kho LC, Tan Y, Lim Y (2015) Joint LZW and lossless dictionary-based bit-packing compression techniques for congested network. In: International conference on computer, communications, and control technology, pp 196–200

    Google Scholar 

  6. Ma X, Xu C, Zheng P, Hu C (2012) The application of improved LZW algorithm in the data processing of GNSS simulation. In: Fourth international conference on computational and information sciences, pp 160–163

    Google Scholar 

  7. Nandi U, Mandal JK (2012) A compression technique based on optimality of LZW code. In: Third international conference on computer and communication technology, pp 166–170

    Google Scholar 

  8. Nandi U, Mandal JK (2013) Modified compression technique based on optimality of LZW code. In: International conference on computational intelligence: modelling techniques and applications, vol 10, pp 949–956

    Google Scholar 

  9. Saha SK, Rahaman M (2007) Boosting the performance of LZW compression through block sorting for universal lossless data compression. In: 10th international conference on computer and information technology, pp 1–5

    Google Scholar 

  10. Saloman D Data compression: the complete reference. http://apachetechnology.in/ati/www/KC/dw/Saloman%20%20Data_Compression_Complete_Reference.pdf

  11. Singh S, Pandey P (2016) Enhanced LZW technique for medical image compression. In: 3rd international conference on computing for sustainable global development, pp 1080–1084

    Google Scholar 

  12. Zhan J, Zhou Q, Bai S, Cuihua L, Hu B, Li L (2008) BD-LZW picture compression algorithm for WSN system. In: Third international conference on pervasive computing and applications, vol 1, pp 146–150

    Google Scholar 

  13. Singh P, Duhan M, Priyanka (2006) Enhancing LZW algorithm to increase overall performance. In: Annual IEEE India conference, pp 1–4

    Google Scholar 

  14. Ziv J, Lampel A (1977) A universal algorithm for sequential data compression. In: IEEE transactions on information theory IT-23, vol 3, pp 337–343

    Google Scholar 

  15. Ziv J, Lampel A (1978) Compression on individual sequences via variable-rate coding. IEEE transactions on information theory IT-24, vol 5, pp 520–540

    Google Scholar 

  16. Zhou X, Ito Y, Nakano K (2016) An efficient implementation of LZW decompression in the FPGA. In: IEEE IPDPSW, pp 599–607

    Google Scholar 

  17. Zhang N, Tao T, Satya RV, Mukherjee A (2005) A flexible compressed text retrieval system using a modified LZW algorithm. In: Proceedings of the data compression conference IEEE computer society

    Google Scholar 

  18. Welch TA (1984) A technique for high performance data compression. In: IEEE computer 17, vol 6, pp 8–19

    Google Scholar 

Download references

Acknowledgements

The author is thankful to Dr. Nilkanta Barman, Associate Professor, GKCIET, India for his valuable guidance on paper writing. The author is thankful to Mr. Gopal Bandyopadhyay, System Manager, GKCIET, India for his help in collecting study materials for this research work. The author is also thankful to Mr. Debanjan Konar, Assistant Professor, SMIT, India for his help in understanding the author’s guidelines.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Subrata Roy .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Roy, S. (2018). Logical Implication to Reduce Run Time Memory Requirement and Searches During LZW Decompression. In: Bhattacharyya, S., Gandhi, T., Sharma, K., Dutta, P. (eds) Advanced Computational and Communication Paradigms. Lecture Notes in Electrical Engineering, vol 475. Springer, Singapore. https://doi.org/10.1007/978-981-10-8240-5_23

Download citation

  • DOI: https://doi.org/10.1007/978-981-10-8240-5_23

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-10-8239-9

  • Online ISBN: 978-981-10-8240-5

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics