Hostname: page-component-74656f9884-7drmj Total loading time: 0 Render date: 2026-11-04T17:23:02.290Z Has data issue: false hasContentIssue false

A PARALLELIZABLE LOSSLESS IMAGE COMPRESSION ALGORITHM FOR STANDARD AND PATHOLOGY IMAGES

Published online by Cambridge University Press:  23 January 2026

HONGFANG YUAN
Affiliation:
School of Mathematics, Sun Yat-sen University , Guangzhou, P. R. China; e-mail: yuanhf7@mail2.sysu.edu.cn, dengsh7@mail2.sysu.edu.cn, mcsyao@mail.sysu.edu.cn
SONGHAI DENG
Affiliation:
School of Mathematics, Sun Yat-sen University , Guangzhou, P. R. China; e-mail: yuanhf7@mail2.sysu.edu.cn, dengsh7@mail2.sysu.edu.cn, mcsyao@mail.sysu.edu.cn
XIANGKAI LIAN*
Affiliation:
College of Intelligence Science and Technology, National University of Defense Technology , Changsha, P. R. China
ZHENG’AN YAO
Affiliation:
School of Mathematics, Sun Yat-sen University , Guangzhou, P. R. China; e-mail: yuanhf7@mail2.sysu.edu.cn, dengsh7@mail2.sysu.edu.cn, mcsyao@mail.sysu.edu.cn
Rights & Permissions [Opens in a new window]

Abstract

This paper introduces a parallelizable lossless image compression algorithm designed for three-channel standard images and two-channel pathology images. The proposed algorithm builds on the Quite OK Image Format (QOI) by addressing its limitations in parallelizability and compression efficiency, thereby enhancing both the compression ratio and processing speed. By incorporating image context and optimizing pixel traversal sequences, the algorithm enables effective parallel processing, achieving rapid compression of million-pixel pathology images within milliseconds, and is scalable to larger whole-slide images. It also delivers exceptional performance in terms of both speed and compression ratio for standard images. Additionally, the low complexity lossless compression for images (LOCO-I) context prediction algorithm used in joint photographic experts group lossless standard (JPEG-LS) is parallelized to improve compression efficiency and speed. By implementing full-process parallelization across the entire compression workflow rather than confining parallelization to individual steps, this approach significantly enhances overall time performance.

Information

Type
Research Article
Copyright
© The Author(s), 2026. Published by Cambridge University Press on behalf of The Australian Mathematical Publishing Association Inc
Figure 0

Table 1 QOI_OP_RUN encoding.

Figure 1

Table 2 QOI_OP_INDEX encoding.

Figure 2

Table 3 QOI_OP_DIFF encoding.

Figure 3

Table 4 QOI_OP_LUMA encoding.

Figure 4

Table 5 QOI_OP_RGB encoding.

Figure 5

Table 6 QOI_OP_RGBA encoding.

Figure 6

Figure 1 QOI3 lossless image compression algorithm.

Figure 7

Figure 2 QOI2 lossless pathology images compression algorithm.

Figure 8

Table 7 Parallel encoding order (numbers indicate encoding sequence).

Figure 9

Table 8 Parallel decoding order (numbers indicate decoding sequence).

Figure 10

Table 9 Compression ratios for three-channel screenshots.

Figure 11

Table 10 Compression ratios for three-channel landscape images.

Figure 12

Table 11 Compression ratios for three-channel pathology images.

Figure 13

Figure 3 Average compression ratios for three-channel images.

Figure 14

Table 12 Compression ratios for two-channel pathology images.

Figure 15

Figure 4 Average compression ratios for two-channel images.

Figure 16

Table 13 Parallel performance across number of threads (n).

Figure 17

Figure 5 Impact of number of threads on compression speed.