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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
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
Funusaka S, Nakano K, Ito Y (2015) Fast LZW Compression Using a GPU. In: Third international symposium on computing and networking, pp 303–308
Horspool RN (1991) Improving LZW. In: Proceedings of data compression conference (DCC’91). pp 332–341
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
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
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
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
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
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
Saloman D Data compression: the complete reference. http://apachetechnology.in/ati/www/KC/dw/Saloman%20%20Data_Compression_Complete_Reference.pdf
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
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
Singh P, Duhan M, Priyanka (2006) Enhancing LZW algorithm to increase overall performance. In: Annual IEEE India conference, pp 1–4
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
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
Zhou X, Ito Y, Nakano K (2016) An efficient implementation of LZW decompression in the FPGA. In: IEEE IPDPSW, pp 599–607
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
Welch TA (1984) A technique for high performance data compression. In: IEEE computer 17, vol 6, pp 8–19
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
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2018 Springer Nature Singapore Pte Ltd.
About this paper
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)