Abstract
We consider lossless image compression using a technique similar to bZip2 for sequential data. Given an image represented with a matrix of pixel values, we consider different approaches for linearising the image into a sequence and then encoding the sequence using the Move-To-Front list update algorithm. In both linearisation and encoding stages, we exploit the locality present in the images to achieve encodings that are as compressed as possible. We consider a few approaches, and in particular Hilbert space-filling curves, for linearising the image. Using a natural model of locality for images introduced by Albers et al. [J. Comput. Syst. Sci. 2015], we establish the advantage of Hilbert space-filling curves over other linearisation techniques such as row-major or column-major curves for preserving the locality during the linearisation. We also use a result by Angelopoulos and Schweitzer [J. ACM 2013] to select Move-To-Front as the best list update algorithm for encoding the linearised sequence. In summary, our theoretical results show that a combination of Hilbert space-filling curves and Move-To-Front encoding has advantage over other approaches. We verify this with experiments on a dataset consisting of different categories of images.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
Note that each image has three color channels and hence the reported file sizes are three times the size of mono-chrome images associated with each color.
References
Malathkara, N.V., Soni, S.K.: Low-complexity and lossless image compression algorithm for capsule endoscopy. In: Proceedings of the 3rd International Conference on Internet of Things and Connected Technologies (ICIoTCT) (2018)
Reddy, P., Reddy, V.R., Bindu, S.: The lossless medical image compression for telemedicine applications with delimiter. J. Adv. Res. Dyn. Control. Syst. 10(3), 74–79 (2018)
Murtagh, F., Louys, M., Starck, J.-L., Bonnarel, F.: Compression of grayscale scientific and medical image data. Data Sci. J. 1(1), 111–127 (2002)
Martucci, S.A.: Reversible compression of HDTV images using median adaptive prediction and arithmetic coding. In: IEEE International Symposium on Circuits and Systems, pp. 1310–1313 (1990)
Xiaolin, W., Memon, N., Sayood, K.: A context-based, adaptive, lossless/nearly-lossless coding scheme for continuous-tone images. ISO/IEC JTC 1, 12 (1995)
Antonini, M., Barlaud, M., Mathieu, P., Daubechies, I.: Image coding using wavelet transform. IEEE Trans. Image Process. 1(2), 205–220 (1992)
Schiopu, I., Munteanu, A.: Residual-error prediction based on deep learning for lossless image compression. Electron. Lett. 54(17), 1032–1034 (2018)
Ahanonu, E., Marcellin, M., Bilgin, A.: Lossless image compression using reversible integer wavelet transforms and convolutional neural networks. In: 2018 Data Compression Conference, p. 395 (2018)
Elias, P.: Universal codeword sets and the representation of the integers. IEEE Trans. Inf. Theory 21, 194–203 (1975)
Seward, J.: bZip2 compression program. http://www.bzip.org/
Burrows, M., Wheeler, D.J.: A block-sorting lossless data compression algorithm. Technical report 124, DEC SRC (1994)
Lempel, A., Ziv, J.: Compression of two-dimensional data. IEEE Trans. Inf. Theory 32(1), 2–8 (1986)
Ziv, J., Lempel, A.: Compression of individual sequences via variable-rate coding. IEEE Trans. Inf. Theory 24(5), 530–536 (1978)
Liang, J.-Y., Chen, C.-S., Huang, C.-H., Liu, L.: Lossless compression of medical images using Hilbert space-filling curves. Comput. Med. Imaging Graph. 32(3), 174–182 (2008)
Collin, L.: A Quick Benchmark: Gzip vs. Bzip2 vs. LZMA (2005)
Klausmann, T.: Gzip, Bzip2 and LZMA compared (2008). Blog Archives. https://web.archive.org/web/20130106193958/http://blog.i-no.de/archives/2008/05/08/index.html
Albers, S., Favrholdt, L.M., Giel, O.: On paging with locality of reference. In: Proceedings of the Thiry-Fourth Annual ACM Symposium on Theory of Computing, pp. 258–267. ACM (2002)
Angelopoulos, S., Schweitzer, P.: Paging and list update under bijective analysis. In: Proceedings of the Twentieth Annual ACM-SIAM Symposium on Discrete Algorithms, pp. 1136–1145. SIAM (2009)
Sagan, H.: Space-Filling Curves. Springer, New York (2012)
Moon, B., Jagadish, H.V., Faloutsos, C., Saltz, J.H.: Analysis of the clustering properties of the Hilbert space-filling curve. IEEE Trans. Knowl. Data Eng. 13(1), 124–141 (2001)
Mokbel, M.F., Aref, W.G., Kamel, I.: Analysis of multi-dimensional space-filling curves. GeoInformatica 7(3), 179–209 (2003)
Butz, A.R.: Convergence with Hilbert’s space filling curve. J. Comput. Syst. Sci. 3(2), 128–146 (1969)
Kamata, S., Eason, R.O., Bandou, Y.: A new algorithm for N-dimensional Hilbert scanning. IEEE Trans. Image Process. 8(7), 964–973 (1999)
Kamali, S., López-Ortiz, A.: A survey of algorithms and models for list update. In: Brodnik, A., López-Ortiz, A., Raman, V., Viola, A. (eds.) Space-Efficient Data Structures, Streams, and Algorithms - Papers in Honor of J. Ian Munro on the Occasion of His 66th Birthday. LNCS, vol. 8066, pp. 251–266. Springer, Heidelberg (2013). https://doi.org/10.1007/978-3-642-40273-9_17
Bentley, J.L., Sleator, D., Tarjan, R.E., Wei, V.K.: A locally adaptive data compression scheme. Commun. ACM 29, 320–330 (1986)
Dorrigiv, R., López-Ortiz, A., Ian Munro, J.: An application of self-organizing data structures to compression. In: Proceedings of the 8th International Symposium on Experimental Algorithms (SEA), vol. 5526, pp. 137–148 (2009)
Kamali, S., Ladra, S., López-Ortiz, A., Seco, D.: Context-based algorithms for the list-update problem under alternative cost models. In: Data Compression Conference (DCC), pp. 361–370 (2013)
Kamali, S., López-Ortiz, A.: Better compression through better list update algorithms. In: Data Compression Conference (DCC), pp. 372–381 (2014)
Angelopoulos, S., Dorrigiv, R., López-Ortiz, A.: On the separation and equivalence of paging strategies and other online algorithms. Algorithmica 81(3), 1152–1179 (2019)
Angelopoulos, S., Schweitzer, P.: Paging and list update under bijective analysis. J. ACM 60(2), 7:1–7:18 (2013)
Kim, S., Cho, N.I.: Hierarchical prediction and context adaptive coding for lossless color image compression. IEEE Trans. Image Process. 23(1), 445–449 (2014)
Malvar, H.S., Sullivan, G.J.: Progressive-to-lossless compression of color-filter-array images using macropixel spectral-spatial transformation. In: Data Compression Conference (DCC 2012), pp. 3–12 (2012)
Zhang, N., Xiaolin, W.: Lossless compression of color mosaic images. IEEE Trans. Image Process. 15(6), 1379–1388 (2006)
Weinberger, M.J., Seroussi, G., Sapiro, G.: From LOCO-I to the JPEG-LS standard. Hewlett Packard Laboratories (1999)
Meyer, B., Tischer, P.: TMW-a new method for lossless image compression. ITG-Fachbericht, pp. 533–540 (1997)
Li, X., Orchard, M.T.: Edge-directed prediction for lossless compression of natural images. IEEE Trans. Image Process. 10(6), 813–817 (2001)
Chianphatthanakit, C., Boonsongsrikul, A., Suppharangsan, S.: A lossless image compression algorithm using differential subtraction chain. In: International Conference on Knowledge and Smart Technology (KST), pp. 84–89 (2018)
Shapiro, J.M.: Embedded image coding using zerotrees of wavelet coefficients. IEEE Trans. Image Process. 41(12), 3445–3462 (1993)
Taubman, D.: High performance scalable image compression with EBCOT. IEEE Trans. Image Process. 9(7), 1158–1170 (2000)
Robert Calderbank, A., Daubechies, I., Sweldens, W., Yeo, B.-L.: Lossless image compression using integer to integer wavelet transforms. In: International Conference on Image Processing, vol. 1, pp. 596–599 (1997)
Pan, H., Siu, W.C., Law, N.F.: Lossless image compression using binary wavelet transform. IET Image Process. 1(4), 353 (2007)
Ahmed, N., Natarajan, T., Rao, K.R.: Discrete cosine transform. IEEE Trans. Comput. 100(1), 90–93 (1974)
Mandyam, G., Ahmed, N., Magotra, N.: Lossless image compression using the discrete cosine transform. J. Vis. Commun. Image Represent. 8(1), 21–26 (1997)
Starosolski, R.: Simple fast and adaptive lossless image compression algorithm. Softw. Pract. Exp. 37(1), 65–91 (2007)
Zalik, B., Lukac, N.: Chain code lossless compression using move-to-front transform and adaptive run-length encoding. Signal Process. Image Commun. 29(1), 96–106 (2014)
Triantafyllidis, G.A., Strintzis, M.G.: A context based adaptive arithmetic coding technique for lossless image compression. IEEE Signal Process. Lett. 6(7), 168–170 (1999)
Wu, X., Memon, N.: CALIC-a context based adaptive lossless image codec. In: IEEE International Conference on Acoustics, Speech, and Signal Processing, ICASSP 1996, vol. 4, pp. 1890–1893 (1996)
Pennebaker, W.B., Mitchell, J.L.: JPEG: Still Image Data Compression Standard. Springer, New York (1992)
Christopoulos, C., Skodras, A., Ebrahimi, T.: The JPEG2000 still image coding system: an overview. IEEE Trans. Consum. Electron. 46(4), 1103–1127 (2000)
Abu Taleb, S.A., Musafa, H.M.J., Khtoom, A.M., Gharaybih, I.K.: Improving LZW image compression. Eur. J. Sci. Res 44(3), 502–509 (2010)
Sneyers, J., Wuille, P.: FLIF: free lossless image format based on MANIAC compression. In: IEEE International Conference on Image Processing (ICIP), pp. 66–70 (2016)
Morton, G.M.: A computer oriented geodetic data base and a new technique in file sequencing. International Business Machines (1966)
Pajarola, R., Widmayer, P.: An image compression method for spatial search. IEEE Trans. Image Process. 9(3), 357–365 (2000)
Pinto, A., Seco, D., Gutiérrez, G.: Improved queryable representations of rasters. In: Data Compression Conference (DCC), pp. 320–329 (2017)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2019 Springer Nature Switzerland AG
About this paper
Cite this paper
Abdollahi, A., Bruce, N., Kamali, S., Karim, R. (2019). Lossless Image Compression Using List Update Algorithms. In: Brisaboa, N., Puglisi, S. (eds) String Processing and Information Retrieval. SPIRE 2019. Lecture Notes in Computer Science(), vol 11811. Springer, Cham. https://doi.org/10.1007/978-3-030-32686-9_2
Download citation
DOI: https://doi.org/10.1007/978-3-030-32686-9_2
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-32685-2
Online ISBN: 978-3-030-32686-9
eBook Packages: Computer ScienceComputer Science (R0)