
Improved LZW Compression Technique using Difference Method
Author(s) -
Dibyendu Barman,
Md. Bakash Ahamed*
Publication year - 2020
Publication title -
international journal of innovative technology and exploring engineering
Language(s) - English
Resource type - Journals
ISSN - 2278-3075
DOI - 10.35940/ijitee.e2216.039520
Subject(s) - lossless compression , computer science , data compression , grayscale , ascii , compression (physics) , algorithm , compression ratio , image compression , matrix (chemical analysis) , artificial intelligence , pixel , image (mathematics) , image processing , materials science , automotive engineering , engineering , composite material , internal combustion engine , operating system
This work attempts to give a best approach for selecting one of the popular image compression algorithm. The proposed method is designed to find the best performance approach amongst the several compression algorithms. In this work existing lossless compression technique LZW (Lempel-Ziv-Welch) is redesigned to achieve better compression ratio. LZW compression technique works on the basis of repetition of data. In a situation where all the values are distinct or repetition of data does not present the LZW can’t work properly. To avoid this problem, difference method called difference matrix method which is actually calculate the difference between two consequence data and store it in a resultant matrix is used. In this case the matrix contains repetitive data which is more effective compared to LZW technique. Another problem of LZW is dictionary overflow, because of LZW works on ASCII character there is a limit of 256 dictionary length initially. In this work dynamic dictionary method is used without using the ASCII rather than this static method. As a result, this dictionary can contain the initial value anything in a range of -256 to 255. Here ASCII values are not used because the proposed method is applicable grayscale image, where the pixel values are between in range 0 to 255. Using these two changes the proposed improved LZW method becomes more powerful that can compress a non-repetitive set of data significantly. The proposed method is applied on many standard gray images found in the literature achieved 7% to 18% more compression the normal LZW keeping quality of the image same as existing.