Abstract

This paper proposes an improved data compression technique compared to existing Lempel-Ziv-Welch (LZW) algorithm. LZW is a dictionary-updation based compression technique which stores elements from the data in the form of codes and uses them when those strings recur again. When the dictionary gets full, every element in the dictionary are removed in order to update dictionary with new entry. Therefore, the conventional method doesn’t consider frequently used strings and removes all the entry. This method is not an effective compression when the data to be compressed are large and when there are more frequently occurring string. This paper presents two new methods which are an improvement for the existing LZW compression algorithm. In this method, when the dictionary gets full, the elements that haven’t been used earlier are removed rather than removing every element of the dictionary which happens in the existing LZW algorithm. This is achieved by adding a flag to every element of the dictionary. Whenever an element is used the flag is set high. Thus, when the dictionary gets full, the dictionary entries where the flag was set high are kept and others are discarded. In the first method, the entries are discarded abruptly, whereas in the second method the unused elements are removed once at a time. Therefore, the second method gives enough time for the nascent elements of the dictionary. These techniques all fetch similar results when data set is small. This happens due to the fact that difference in the way they handle the dictionary when it’s full. Thus these improvements fetch better results only when a relatively large data is used. When all the three techniques' models were used to compare a data set with yields best case scenario, the compression ratios of conventional LZW is small compared to improved LZW method-1 and which in turn is small compared to improved LZW method-2.

Highlights

  • Conventional LZW Coding: A dictionary is initialized with ASCII characters coded from 0-255, in a way such that all strings can be formed using these 256 elements

  • The flow chart depicts the working of improvement 1 and how it handles the dictionary when it’s full

  • In this paper the algorithm for conventional LZW was discussed with the help of flow chart and briefed on the encoding and decoding processes

Read more

Summary

INTRODUCTION

In this current digital world data processing, data transferring and data storage is inevitable for every sector such as IT industry, banking, manufacturing, hospitals, E-commerce etc. Design of efficient algorithm is a possible solution to all kinds of the problems involved with data It might help in decreasing the storage capacity required to store the data, reduce the power consumption and help in saving the time required to compress the data. Samish Kamble et al, [5] provide the most explicit hardware description language (VHDL) modeling environment of the Lempel-Ziv-Welch (LZW) algorithm for binary data compression to facilitate interpretation, validation, simulation, and hardware realization For this implementation, the LZW dictionary with all possible symbols need to be preloaded in FPGA and LZW replaces a string of compression characters with code. Yonghui Wu et al [8] have used LZ -78 improvised version of dictionary coding algorithm for hardware implementation for high-performance disk controllers They focus on the problem of increasing the durability of the LZW.

Conventional LZW Coding
Improved LZW coding – Method 1
RESULT
Findings
CONCLUSION
Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.