RUS  ENG
Full version
JOURNALS // Prikladnaya Diskretnaya Matematika. Supplement // Archive

Prikl. Diskr. Mat. Suppl., 2014 Issue 7, Pages 116–118 (Mi pdma142)

Applied Coding Theory

Hybrid compression algorithm for discrete-tone graphics processing

D. V. Druzhinin

Tomsk State University, Tomsk

Abstract: A hybrid algorithm for fast information lossless compression of discrete-tone images is presented. The algorithm is a combination of two algorithms: special RLE implementation, which can detect vertical and horizontal redundancy, and shift algorithm, which belongs to dictionary techniques. The shift algorithm replaces three bytes, which encode pixel color, by one byte reference to pixel with the same color, which was found earlier. Presented RLE implementation can detect three region types of pixels with the same color: vertical, horizontal lines and rectangles. Two combinations of hybrid algorithm with the known compression algorithms LZO and zlib (used on the second stage of compression) are researched. Results of practical comparison of combined algorithms among themselves and with other known algorithms are presented. As demonstrated by testing, combined algorithm, based on hybrid algorithm and zlib, gives an ability to significantly increase discrete-tone images compression ratio with an acceptable time cost.

Keywords: fast compression algorithms, information lossless compression, discrete-tone graphics.

UDC: 004.627+004.932.2



© Steklov Math. Inst. of RAS, 2024