An Efficient Spatial Prediction-Based Image Compression Scheme
An Efficient Spatial Prediction-Based Image Compression Scheme
Abstract—In this paper, we have designed a spatial predic- hierarchical levels. In the prediction phase, instead of using only
tion-based image-compression scheme. The proposed scheme preceding pixels according to the order of the raster scan as the
consists of two phases, namely, the prediction phase and the quan- input to predict the sample pixels [5], such as lossless JPEG [6],
tization phase. In the prediction phase, a hierarchical structure
among pixels in the image is built. Following the constructed our scheme utilizes the surrounding pixels to predict every cen-
hierarchical structure, the neighboring pixels are utilized to tral pixel. The four cross-neighboring pixels are used in the first
predict every central pixel. The prediction scheme generates an step, and then the four diagonal neighboring pixels are used in
image map which indicates the prediction errors. The structure the second step. The small image composed by the remaining
of the resulting image map is very similar to the result of discrete one-fourth pixels is applied to the above two steps iteratively.
wavelet transform. Thus, most quantization methods of wavelet
or subband image-compression algorithms can be followed in our This resulting image hierarchy is very similar to the hierarchy
scheme directly to yield good compression performance. In the made by DWT in some respects, but they are not entirely equiv-
quantization phase, we design a multilevel threshold scheme to alent. We can then integrate this hierarchy with many quantiza-
further enhance the result of SPIHT by taking the significance of tion methods of wavelet or subband image-compression tech-
the pixel values and the hierarchical levels into account. Further- nologies, e.g., EZW [1] and SPIHT [2] algorithms, to carry out
more, the proposed scheme can be realized only by few integer
additions and bit shifts. Simulation results indicate that the visual the image-compression process in a smooth manner.
quality of the designed efficient spatial prediction-based image We also modify the SPIHT with multilevel thresholds
compression scheme is competitive with JPEG. All the above (which differs from multithreshold multithreshold wavelet
features make the designed image-compression scheme beneficial codec (MTWC) [3]) in the quantization phase. The designed
to the applications of real-time and wireless transmission in multilevel threshold quantization scheme takes the significance
low-computational power environments.
of the pixel values and the hierarchical levels into account in
Index Terms—Image hierarchical structure, predictive image order to further enhance the compression performance. The de-
coding, progressive image compression, quantization with multi- signed image-compression scheme only requires a few integer
level thresholds.
additions and bit shifts in the encoding and decoding processes.
Furthermore, in-place processing is taken, i.e., the prediction
I. INTRODUCTION errors are stored in the same places as the central pixels. Thus,
the temporary storage space required is significantly saved in
I MAGE compression plays an important role in modern net-
worked multimedia applications. Many powerful compres-
sion schemes have been developed in recent years. In particular,
the coding process. Our experimental simulations show that the
performance of the proposed scheme is very competitive with
discrete wavelet transform (DWT) has become the most impor- the baseline JPEG [6], which uses DCT as the core technology.
tant core technology of image compression [1]–[4]. However, As a result, an efficient and progressive compression scheme is
schemes using DWT may suffer because of the computational obtained. These features make the proposed scheme beneficial
complexity. In comparison with the traditional discrete cosine to the applications of real-time and wireless transmission in
transform (DCT) approach, DWT usually needs more computa- low-computational power environments.
tion power. Therefore, this may restrict the applications of DWT The structure of this paper is as follows. Section II presents
in the areas of real-time and wireless multimedia at the present the background of this work. Section III introduces the new spa-
stage. tial prediction approach, and hierarchical structure of an image.
The designed efficient spatial prediction-based image com- The quantization scheme with multilevel thresholds is discussed
pression (ESPIC) scheme consists of two phases: the prediction in Section IV. Finally, experimental results and conclusions are
phase and the quantization phase. Based on the pixel geomet- proposed in Section V and Section VI, respectively.
rical relationship, we separate all pixels of an image into several
II. SPATIAL PREDICTION-BASED IMAGE-COMPRESSION
SCHEME
Manuscript received March, 2000; revised June 21, 2001. This work was sup-
ported in part by NSC of Taiwan under Contract NSC 89-2218-E-032-019. This Generally speaking, two-dimensional (2-D) coding schemes
paper was recommended by Associate Editor H. Watanabe. are based on reducing or eliminating any coding, interpixel, or
C.-H. Kuo and T.-C. Chou are with the Computer and Networking Labora-
tory, Department of Computer Science and Information Engineering, Tamkang psychovisual redundancies. In predictive coding, the difference
University, Taipei, Taiwan, R.O.C. between the original value and predicted value of a pixel is ex-
T.-S. Wang is with the Computer and Networking Laboratory, Department of tracted and coded. The typical spatial coding system is shown in
Computer Science and Information Engineering, Tamkang University, Taipei,
Taiwan, R.O.C. and also with Cyberlink Corporation, Taiwan, R.O.C. Fig. 1. It consists of an encoder and a decoder. Both encoder and
Digital Object Identifier 10.1109/TCSVT.2002.804878 decoder contain an identical predictor. While each successive
1051-8215/02$17.00 © 2002 IEEE
KUO et al.: AN ESPIC 851
(a)
(b)
(c)
Fig. 6. Relationship between multilevel thresholds and prediction errors.
if
(4)
otherwise
(f)
if
(5)
otherwise
REFERENCES
[1] J. M. Shapiro, “Embedded image coding using zerotrees of wavelet co-
efficients,” IEEE Trans. Signal Processing, vol. 41, pp. 3445–3462, Dec.
1993.
[2] A. Said and W. A. Pearlman, “A new fast and efficient image codec
based on set partitioning in hierarchical trees,” IEEE Trans. Circuits
Syst. Video Technol., vol. 6, pp. 243–250, Jun. 1996.
[3] H. J. Wang, Y. L. Bao, C.-C. Jay Kuo, and H. Chen, “Multi-Threshold
Wavelet Codec (MTWC),” in Proc. JPEG 2000 Convergence Phase
Meeting, Geneva, Switzerland, Mar. 1998, ISO/IEC JTC1/SC29/WG1
N819.
[4] W. C. Huang and L. W. Chang, “Predictive subband image coding with
wavelet transform,” Signal Processing: Image Commun., vol. 13, pp.
171–181, 1998.
[5] R. C. Gonzalez and R. E. Woods, Digital Image Processing. Reading,
MA: Addison-Wesley, Sept. 1993, pp. 358–361.
[6] W. B. Pennebaker and J. L. Mitchell, JPEG Still Image Data Compres-
sion Standard. New York: Van Nostrand, 1993.
[7] I. Daubechies and W. Sweldens, “Factoring wavelet transforms into
lifting steps,” J. Fourier Anal. Applic., vol. 4, pp. 247–269361, 1998.