Fast LZW compression using a GPU

被引:13
|
作者
Funasaka, Shunji [1 ]
Nakano, Koji [1 ]
Ito, Yasuaki [1 ]
机构
[1] Hiroshima Univ, Dept Informat Engn, Kagamiyama 1-4-1, Higashihiroshima 7398527, Japan
关键词
Data compression; big data; parallel algorithms; GPU; CUDA; MEMORY MACHINE; ALGORITHMS;
D O I
10.1109/CANDAR.2015.20
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
The LZW compression is a well known patented lossless compression method used in Unix file compression utility "compress" and in GIF and TIFF image formats. It converts an input string of characters (or 8-bit unsigned integers) into a string of codes using a code table (or dictionary) that maps strings into codes. Since the code table is generated by repeatedly adding newly appeared substrings during the conversion, it is very hard to parallelize LZW compression. The main purpose of this paper is to accelerate LZW compression for TIFF images using a CUDA-enabled GPU. Our goal is to implement LZW compression algorithm using several acceleration techniques using CUDA, although it is a very hard task. Suppose that a GPU generates a resulting image generated by a computer graphics or image processing CUDA program and we want to archive it as a LZW-compressed TIFF image in the SSD connected to the host PC. We focused on the following two scenarios. Scenario 1: the resulting image is compressed using a GPU and written in the SSD through the host PC, and Scenario 2: it is transferred to the host PC, and compressed and written in the SSD using a CPU. The experimental results using NVIDIA GeForce GTX 980 and Intel Core i7 4790 show that Scenario 1 using our LZW compression implemented in a GPU is about 3 times faster than Scenario 2. From this fact, we can say that it makes sense to compress images using a GPU to archive them in the SSD.
引用
收藏
页码:303 / 308
页数:6
相关论文
共 50 条
  • [21] VLSI Design of Near-Lossless Image Compression using Improved LZW
    Zhang, Yao-Zhong
    Chen, Chiung-An
    Zhang, Jia-Sheng
    Wang, Jia-Wen
    2023 ASIA PACIFIC SIGNAL AND INFORMATION PROCESSING ASSOCIATION ANNUAL SUMMIT AND CONFERENCE, APSIPA ASC, 2023, : 887 - 891
  • [22] Enhanced LZW Technique for Medical Image Compression
    Singh, Sadhana
    Pandey, Preeti
    PROCEEDINGS OF THE 10TH INDIACOM - 2016 3RD INTERNATIONAL CONFERENCE ON COMPUTING FOR SUSTAINABLE GLOBAL DEVELOPMENT, 2016, : 1080 - 1084
  • [23] The relative efficiency of data compression by LZW and LZSS
    Wiseman, Yair
    Data Science Journal, 2007, 6 : 1 - 6
  • [24] Error-resilient LZW data compression*
    Wu, Yonghui
    Lonardi, Stefano
    Szpankowski, Wojciech
    DCC 2006: DATA COMPRESSION CONFERENCE, PROCEEDINGS, 2006, : 193 - +
  • [25] Watermark Compression in Medical Image Watermarking Using Lempel-Ziv-Welch (LZW) Lossless Compression Technique
    Gran Badshah
    Siau-Chuin Liew
    Jasni Mohd Zain
    Mushtaq Ali
    Journal of Digital Imaging, 2016, 29 : 216 - 225
  • [26] Watermark Compression in Medical Image Watermarking Using Lempel-Ziv-Welch (LZW) Lossless Compression Technique
    Badshah, Gran
    Liew, Siau-Chuin
    Zain, Jasni Mohd
    Ali, Mushtaq
    JOURNAL OF DIGITAL IMAGING, 2016, 29 (02) : 216 - 225
  • [27] Designing Secured Data Using a Combination of LZW Compression, RSA Encryption, and DCT Steganography
    Novamizanti, Ledya
    Budiman, Gelar
    Tritoasmoro, Iwan Iwut
    PROCEEDING OF 2015 1ST INTERNATIONAL CONFERENCE ON WIRELESS AND TELEMATICS (ICWT), 2015,
  • [28] Improved Bee-Inspired Routing Protocol Using Lzw Based Lossless Compression
    Kaur, Gaganjot
    Kad, Sandeep
    2015 2ND INTERNATIONAL CONFERENCE ON RECENT ADVANCES IN ENGINEERING & COMPUTATIONAL SCIENCES (RAECS), 2015,
  • [29] Secure Data Transmission in Smart Cities Using DNA Cryptography with LZW Compression Algorithm
    Karthikeyan, S.
    Poongodi, T.
    OPTOELECTRONICS INSTRUMENTATION AND DATA PROCESSING, 2024, 60 (01) : 156 - 167
  • [30] Afastmethod for determining the origins of documents based on LZW compression
    Agnew G.B.
    Sivanandan A.
    International Journal on Digital Libraries, 2002, 3 (4) : 297 - 301