High compression and low order linear predictor for lossless coding of grayscale images

https://doi.org/10.1016/S0262-8856(03)00034-9Get rights and content

Abstract

In this paper we propose a novel method for designing block-wise lossless image compression scheme using linear predictors. In this prediction scheme, the prediction for each pixel is formed by using a set of least-square-based linear prediction coefficients of the block to which the current pixel belongs. Predicted value of each pixel is subtracted from the actual value of the current pixel to get an error image. An error image is compressed using grayscale bit plane coding using quadtree method. Experimental results show that the compression performance of the proposed method is superior to Joint Photographics Expert Group's [1] JPEG-LS [IEEE Trans. Image Processing 9 (2000) 1309] method, and Classified Adaptive Prediction and Entropy Coding in terms of coding performance.

Introduction

Recently, lossless coding of grayscale images has attracted much research interest among the image processing community. Many techniques have been proposed to achieve better compression performance or to provide a tradeoff between compression performance and computational complexity to meet requirements from several applications such as medical imaging, remote sensing, and image archiving [2], [3], [4], [5]. Predictive coding is one of the most popular techniques in these coding schemes, since it is a simple and effective tool for removing redundancy of image signals. In general, the Minimum Mean Square Error (MMSE) is an important concept in designing of coders [6] and several kinds of lossless coding schemes actually employ predictors which are optimized on the basis of the MMSE criterion [2], [3].

In most state-of-the-art methods for lossless image compression, and one-pass sequential techniques, prediction is an essential component. A high quality predictor gives high compression performance. JPEG-LS uses three neighboring pixels to guess the values of the pixels, and is of very high quality predictor for one-pass sequential technique. In general the quality of a predictor directly affects the overall compression performance because it is the prediction error that is entropy coded. The simplest and most widely used prediction method is linear prediction. However, for a linear predictor to be able to accurately model image data which are usually non-stationary, some adaptation scheme must be developed to let the predictor change according to local characteristics. The method of least-squares (LS) has been adopted for this kind of adaptation and is shown to perform very well even in edge areas [3], [4], [5].

In this paper, we present a block-based LS linear predictor where the compression performance is improved by using quadtree method to compress the gray bit planes of the error image. This method is actually related to Bayesian model averaging (BMA) [7]—an effective solution to the problem of building the ‘best’ model from a set of possible models when there is model uncertainty.

Our experimental results show that a combination of block-based LS predictor to predict pixel value, and grayscale bit plane compression using quadtree method to compress prediction error, gives better compression performance.

A simple introduction to the LS-based prediction is presented in Section 2. The proposed method for the combination of block-based predictor and grayscale bit plane compression using quadtree method is presented in Section 3. The experimental results as well as comparison with other algorithms are presented in Section 4. Finally, conclusions are presented in Section 5.

Section snippets

LS-based prediction scheme

The basis of our prediction scheme is autoregressive (AR) modeling, or linear prediction. For simplicity, we start with a 1D signal x(i). Suppose we want to construct a prediction for x(i) as a linear combination of its previous N samples,x̂(i)=k=1Nθ(k)x(i−k)This is called Nth order linear predictor.

Since the image is a 2D signal, we can remap the neighboring pixels of the ith pixel into a 1D vector so that Eq. (1) can be used to predict the value of ith pixel. Coding and decoding are done in

Bayesian model averaging

From a statistics point of view, the problems with the application of the LS method to linear prediction in image compression can be generalized as modeling uncertainty. Let a linear predictor of a particular order N, trained in a particular window size W, represent a model of an image. Since one cannot be sure about the ‘correct’ values of N and W, there is modeling uncertainty. Under this circumstances, trying to select a single ‘best’ model is risky because the possibility for this model to

Experimental results

In order to get high compression ratio and low prediction order, we have implemented the proposed idea on 8-bit gray level images of size 512×512 pixels. The first column of Table 1, Table 2, Table 3 shows the image name, the second column shows the results obtained from CAPEC, the third column gives the results of the JPEG-LS method, and the other three columns namely Huffman, quadtree, and gray-quadtree, show the bits per pixel (bpp) obtained by considering different block sizes. Huffman

Conclusions

In this paper we have proposed a new lossless coding scheme for still images. The scheme utilizes the minimum rate predictors to get an error image. Gray bit planes of an absolute error image are compressed using the quadtree method. Results of the proposed method indicate that the combination of minimum-rate predictor, and compression of gray bit planes of an absolute error image using quadtree method is more effective for lossless coding than the JPEG-LS, and CAPEC in terms of coding

Acknowledgements

The authors would like to thank the Editor-in-chief, and reviewers for their suggestions.

References (11)

  • M.J. Weinberger et al.

    The LOCO-I lossless image compression algorithm: principles and standardization into JPEG-LS

    IEEE Trans. Image Processing

    (2000)
  • F. Golchin et al.

    Classified adaptive prediction and entropy coding for lossless coding of images

    Proc. ICIP-97

    (1997)
  • X. Wu et al.

    Piecewise 2D autoregression for predictive image coding

    Proc. ICIP-98

    (1998)
  • ISO/IEC 14495-1, Information technology—lossless and near-lossless compression of continuous tone still...
  • ISO/IEC FDC15444-1, Information technology—JPEG 2000 image coding system,...
There are more references available in the full text version of this article.

Cited by (26)

  • Object-based VQ for image compression

    2015, Ain Shams Engineering Journal
    Citation Excerpt :

    The finalization phase, Fig. 7(b) and (c), removes the codebook points that does not add quality to the decompressed image due to the fact that its neighbors belong to the same object. To complete our study a comparative study with the modified LZ77 reported in [1] is in Table 1 for Lena. An adaptive VQ technique for image compression is presented.

  • Lossy dictionary-based image compression method

    2007, Image and Vision Computing
  • A Novel Hybrid Compression Scheme for Lossless Gray Scale Image Compression

    2023, 2023 4th IEEE Global Conference for Advancement in Technology, GCAT 2023
  • Byte Shrinking Approach for Lossy Image Compression

    2021, Lecture Notes in Networks and Systems
  • A Pixel Count Approach for Lossy Image Compression

    2021, Lecture Notes in Networks and Systems
View all citing articles on Scopus
View full text