Academia.eduAcademia.edu

Fitting quantization scheme to multiresolution detail preserving compression algorithm

2000, Proceedings of the IEEE-SP International Symposium on Time-Frequency and Time-Scale Analysis (Cat. No.98TH8380)

Adaptive space-frequency quantization scheme in scalar fashion applied to wavelet-based compression is presented. Because of strong demands due to detail preserving in lossy image archiving and transmission, as it is for example in medical applications, different modifications of uniform threshold quantization are considered. The main features of elaborated procedure are as follows: fitting threshold value to local data characteristics in backward way and quantization step size estimation for each subband as forward and backward framework in optimization procedure. Many tests conducted in real wavelet compression scheme c o n f i i significant efficiency of presented quantization procedures. Achieved total compression effectiveness is promising in spite of simple coding algorithm.

zyxw zyxwvut zyxwvu FITTING QUANTIZATION SCHEME TO MULTIRESOLUTION DETAIL PRESERVING COMPRESSION ALGORITHM Artur €+zelaskowski Institute of Radioelectronics Warsaw University of Technologyul. Nowowiejska 15/19,00-665 Warszawa Poland ABSTRACT Adaptive space-frequency quantization scheme in scalar fashion applied to wavelet-based compression is presented. Because of strong demands due to detail preserving in lossy image archiving and transmission, as it is for example in medical applications, different modifications of uniform threshold quantization are considered. The main features of elaborated procedure are as follows: fitting threshold value to local data characteristics in backward way and quantization step size estimation for each subband as forward and backward framework in optimization procedure. Many tests conducted in real wavelet compression scheme c o n f i i significant efficiency of presented quantization procedures. Achieved total compression effectiveness is promising in spite of simple coding algorithm. assumptions and necessary practical simplifications. The basic problem in forward adaptive framework deals with optimal tradeoff between accuracy of high-band wavelet coefficients' distribution modeling and side-information penalty associated with established freedom. For example a settlement between classification gain of two algorithms, which allow unequal number of blocks in each class, and the amount of side information is explored in [2]. In backward adaptive quantization methods adaptation can be done at pixel level since there is no side information [10,11]. But the source modeling in many cases (significant data variability) is not accurate enough because context model has to be causal. Though efficient classification could be performed also in backward adaptation framework [lo]. The most promising solutions include both this concepts as forward-backward scheme [9,10]. For instance this idea could be realized as to switch between backward and forward adaptation when a cue derived from causal data signaling unreliability in backward adaptation [9]. Thus some side information must be added to output data stream. Considerations on entropy constrained scalar quantization prove that uniform quantizers are optimal for high bit rate compression [12]. But established the high resolution quantization hypothesis does not hold in case of low bit rate compression because the quantization bins are too large. Also encoding of the zero quantized coefficients by applying very useful zerotree structure with separated significant data and map coding does not fit assumed simple bit allocation model. In this case uniform threshold quantization (UTQ)has been proved to perform very close to the optimal entropy constrained quantizers for a wide class of memoryless sources [14]. To UTQ belong certain quantizers, which have infrnite number of levels and equal step widths. Modifications of UTQ are used in the most efficient compression algorithms [8,9,10]. Exploiting space-6equency wavelet domain characteristic is, in our opinion, a way to frnd the best solutions. The main idea of this paper is to construct space-frequency quantization by connection of the context-based coefficient importance estimation and thresholding (spatial aspect) and quantization bin modification for each subband as function of the ffequency variance. Shortly it is entire context-based thresholding (fitted to each coefficient) + subband fitted uniform quantization (CTSUQ). We tested different quantization schemes. The results of the efficiency comparisons and a description of optimized quantization scheme are presented. zyxw 2. INTRODUCTION Key problem in wavelet image coding is to take advantage of the non-stationary nature of image subbands. Previous attempts include spatially adapting subband filters, adaptive schemes of space-frequency quantizers or context-based coding which exploit the dependences in hierarchical structure of data in wavelet domain. We concentrate on the second group of researches: adaptive quantization for efficient wavelet-based image coders but the quantizer should be constructed in jointly optimal manner. Concerning predictable medical applications is the reason of this because quantization is responsible for suitable preserving the diagnostic accuracy of compressed images. Many bit allocation techniques applied in quantization scheme are based on data distribution assumptions, quantizer distortion function etc. All statistical assumptions built on global data characteristics do not cover exactly local data behavior and important details of original image, e.g. various texture of small areas may be lost. We consider scalar quantization, which is applied in efficient wavelet coders [1,3,4,7] very often. Although pyramid vector quantization used in [13] gives very good results in some cases. Intelligent solutions of adaptive quantization seem to be important way to increase compression efficiency of waveletbased methods. Optimal forward, backward and forwardbackward schemes are searched on a base of different zyxw zyxwvutsr 0-7803-5073-1/98/$10.00 01998 IEEE 485 zyxwvutsr 2. ADAPTIVE QUANTIZATION SCHEME 2.1 Compression scheme We applied typical hierarchical dyadic decomposition scheme with two filter banks: 28/18 taps efficient biorthogonal filter bank [7] and modified biorthogonal coiflets [6]. Coding algorithm is based on zerotree structure and ISt order arithmetic coding of significant coefficients' magnitudes and separated sign information [5]. For quantization scheme evaluation 3-level (for 256x256 images) and 4-level (for 512x512 images) decomposition was done, and coiflet filters was applied. In final efficiency evaluation tests optimal number of levels and filter banks were used. 2.3 Uniform quantization with threshold selection (CTSUQ algorithm) Space-frequency quantization scheme is realised is two steps. Generally we use scalar uniform quantization with step size conditioned by desirable compression ratio and image quality factor. A set of wavelet coefficients is entirely reduced by threshold selection. It is because of the following reasons: a) stronger reduction of unimportant data to improve the quality of compressed images, b) increasing compression efficiency by eliminating single near-zero data (especially effective in zerotree-based coding), c) structure shape and contours enhancement by weaker reduction of grouped significant data and increasing the gradient of edges. Many models of this threshold selection were tested. The best results were achieved by implementing 3-order context square estimate of the data importance. This context correspondsto hierarchical structure of decomposition tree and includes three neighbour points, which possess the same parent node. A square function of importance value for each coefficient modifies initial threshold value of w/2 up to 60%. In addition insignificance of a parent node in decomposition tree alters the threshold value up to f 15%. zyxwvutsrq zyxwvuts zyxwvutsrqp zyx zyxwvuts zyxwvutsrq 2.2 Optimization of uniform threshold quantization Optimal for low bit rates entropy constrained scalar quantizer is nearly uniform but not uniform. Non-zero quantizationbins have the same size A but the zero bin [-z,z] is larger than [-A/2,A/2] On the base of our considerations we propose the algorithm which is modification of E procedure. Bin size A is evaluated for each subband on the base of simple statistical model as forward adaptive framework, and modified at each point in backward way. To evaluate the efficiency of described procedures a comparison with UCT was done. . The zero bin ratio T] = 2 is a parameter that A must be adjusted to optimize compression algorithm in R-D sense [12]. Larger zero bin called dead-zone reduces those wavelet coefficientswhich are essentially related to noise. Both experimental [8] and theoretical [12], under certain statistical assumptions, ways of optimal 7 value estimation were successfully applied. We experimentally estimated optimum 11 value: 0.8 for Lenna and Barbara test image and 0.84 for Goldhill image. It is very close to the results presented in [8] and [12]. To improve UTQ scheme we investigated the following procedures: A. The UTQ with dead-zone modification. Optimal zero bin ratio was used. B. Instead of constant 11 ratio adaptive zero bin modification was introduced. For each coefficient causal l o a d e r context was used (fig. lb) to fit zero bin size to local data characteristic- in context of significantneighbors value of T] was increased. Also another quantization scheme is proposed. The main idea is to increase dead-zone without any modification of scalar uniform quantization. Thus this algorithm can be considered as entire data selection with threshold value exceeding AI2 and quantization of remaining coefficients with constant bin size A (threshold data selection and uniform quantization - TSUQ). In this case we tested three procedures: C. The TSUQ. An optimal threshold value, constant for all coefficients was applied. D. The UTQ with dead-zone modification and adaptive threshold data selection. Entirely thresholding in coding process is done. The 3-order context (fig. la), definite by parentchildren relations in hierarchical decomposition tree, for threshold estimation at each point is used. E. The adaptive TSUQ. Adaptive modification of threshold value at each point with applying the noncausal 3-order context like in D procedure is done. zyxwvutsrq zy 486 b) Fig. 1 . Context for adaptive estimation of threshold value a) and quantization step size b). Because significant differences in data variability of successive subbands small correction of step size for each subband according to entire variance estimation is realised. Additionally causal context is used for bin modification at each point. The zyxwvuts zyxwvutsr zyxwvutsrq zyxwvutsrqp zyx zyxwvutsr zyxwvutsr zyxwvutsrq zyxwvutsrqponm Thus Qs, = Qsubr.(1 - Qcoefl, ) ,for each ci E Si . quantization procedure starts with step size value w and this step sue is modified up to f 10%. Quantization algorithm 4. Threshold data selection and quantization Each coefficient value is firstly compared to entire threshold value and in case of significantmagnitude is quantized with Qs, bin. In data selection for data from LL (lowest frequency subband) a dead-zone is equal to Qsi/2 but for the next 1. Entire helpful data structure creation a) Creation of the predictive coefficient significance map P. Let's assume that the uniform scalar quantization step size is w and thus initial threshold value is equal to w/2. The significance estimation of each wavelet coefficient c, is simply done as IC/, < w/2 then pi = 0, elseif lcl, Iw then p, = 1, if follows: subbands the dead-zone is increased to Athi value. Threshold selection and quantizationfor each coefficient ci is as follows: if ci EU then elseif c, = c, IQs, IciI<Athi then c, = 0, else p , = 2, where i=1,2, ..., m .n , m,n -horizontal and vertical image size, p I E P . b) The variance estimation for the data from each subband. Real wavelet coefficients' distribution is considered. A set of variance data is normalised to 8bit values and must be sent to a decoder. 2. Adaptive threshold value evaluation else c, = c, IQs, The constant coefficients used in these equations were evaluated experimentally by optimisation of compression efficiency for wide class of tested images. The coefficient importance is estimated on the base of P map as a h c t i o n of significance of three surrounding data. The data context xi,shown on fig. 1 a), is formed for each coefficient. The significance of the points which were previously quantized are modified by using the actual threshold values for these points, instead of w/2 (causal modification). Factor of spatial coefficient importance is described as: 3.1 Performed tests 3. TESTS AND RESULTS We used medical test images (256 x 256 x 8bits): magnetic resonance (MR) and ultrasonic (US), and three other test images: Lenna, Barbara and Goldhill (512 x 512 x 8bits). For quantization scheme assessment and comparison tests, we realized procedures A, B, C, D, E in the same compression scheme. To evaluate the efficiency of wavelet-based algorithm with CTSUQ a comparison with the most efficient compression techniques like SPIHT [l], SFQ [4], PACC [8], C B [7], PCAUTQ [1O] and EQ [9] was performed. The significance of parent node is included as: F~FTZ, = 0.15.(1- pw(,,) Finally adaptive threshold value is counted for each coefficient as follows: Ath, = ~.(0.5+SmZ,+Ftnl,), where i = 12,..., m . n . 3 . Adaptive quantizationbin size evaluation Quantization step size for each coefficient is described by equation of two factors: established for each subband Sras Qsubl and estimated for each coefficient c, from causal prediction Qcoeft; factor, assumed in the following way: Qsub, = w(l+O.1.(1- var,/ 255)) , 1=1,...4, where varI- variance estimation of tr subband data, L number of subbands, and Qcoeff, = 0.1. counted as: ci,j # 0 then else The results are presented on fig. 2 and fig. 3 and in tables: 1 and 2. Presented CTSUQ quantization scheme increases compression efficiency of wavelet-based algorithm over 15% of bit rate in comparison to UCT, and close to 5% in relation to UTQ with dead-zone optimization. Uniform quantization with threshold data selection is more efficient than UCT up to 0.07dB of PSNR. Adaptive threshold selection allows significantly increase effectiveness of TSUQ (up to 0.14dB). Step width modification in forward and backward framework is very efficient in some cases (0.12 dB for Barbara image). In comparison to SPIHT, improving compression efficiency is: up to 0.7dB of US images and up to O S d B for MR images. For other test images effectivenessis even up to 0.6 dB.For medical test images our method is comparable to PACC ( 0.3dB) and generally better than C B (even up to 0.7 dB ). For non-medical test images presented algorithm achieved comparable results to the best reported in image coding literature. zyxw * - 4. CONCLUSIONS 1000 ' where si., belongs to 10-order causal context (fig. 1 b) and is if 3.2 Results Described research is a trial of optimization of the best known quantization schemes in wavelet-based compression. Uniform quantization with threshold data selection is more effective then UCT with optimized dead-zone. Additional non-zero bin forward and backward modification increases quantization efficiency. Thus compression effectiveness of the whole sz.j = 1, s,,,= 0 487 zyxwvutsrq zyxwv zyxwvutsrq zyxwvutsrqpo zyxwv - - dr - - UTQm --D-C T S U Q m PSNR [dB] 42,5 41 393 38 36,s The concept of context-based adaptive threshold and modified quantization step size is effective in stronger reduction of noise but in some cases it occurs too coarse at lower bit rate range. Very small details of the image structures could be putted out of shape. That is the reason why compression scheme in medical applications should additionally include an information about diagnostically important areas as a priori knowledge. CTSUQ procedure could be easy modified and customer or R-D optimization could increase its efficiency. 5. REFERENCES [l] A. Said and W.A. Pearlman, ,A New Fast and Efficient Image Codec Based on Set Partitioning in Hierarchical Trees", submitted to IEEE Trans. Circ. & Syst. Video. Tech., 1996. [2] R.L. Joshi, H. Jafarkhani, J.H. Kasner, T.R. Fischer, N. Farvardin, M.W. Marcellin, and R.H. Bamberger, "Comparison of Different Methods of Classification in Subband Coding of Images", submitted to IEEE Trans. Image Procesing, 1996. [3] T. Strutz and E. Muller, "Image Data Compression with Pdf-adaptive Reconstruction of Wavelet Coefficients", Proceedings of SPIE, vol. 2569, pp. 747-758, 1995. [4] Z. Xiong, K. Ramchandran, and M.T. Orchard, ,,SpaceFrequency Quantization for Wavelet Image Coding", IEEE Trans. Image Proc., to appear in 1997. [51 A. Pnelaskowski ,,Detail preserving wavelet-based compression with adaptive context-based quantization", submitted to Fundamenta Informaticae, 1998. [6] L.W Winger and A.N Venetsanopoulos, "Biorthogonal Modified Coiflet Filters for Image Compression," to appear Proc. ICASSP'98. [7] C. Chrysafis and A. Ortega, "Efficient context-based entropy coding for lossy wavelet image conipression," DCC, Snowbird, UT, 1997. [8] D. Marpe, and H.L. Cycon, "Efficient Pre-Coding Techniques for Wavelet-Based Image Compression," PCS, Berlin, 1997. [9] S.M. Lopresto, K. Ramchandran, and M.T. Orchard, "Image Coding based on Mixture Modeling o f Wavelet Coefficients and a Fast Estimation-Quantization Framework," IEEE Data Compression Conference '97 Proc., pp.221-230, 1997. [lo Y. Yoo, A. Ortega, and B. Yu, "Progressive Classification and Adaptive Quantization of Image Subbands," submitted to IEEE Tran. on Image Processing, 1997. [11 A. Ortega and M. Vetterli, "Adaptive quantization without side information", IEEE Tran. Image Proc., accepted for zyxwvutsrqponm 3 I,> 36 zyxwvutsrqpo zyxwvutsrqp zyxwvutsrqpo 343 33 31,5 0,3 0,4 03 0,6 P,7 Rate in bits/pixel Fig.3. An evaluation of the compression efficiency of two wavelet-based techniques is presented. SPlHT and described method with CTSUQ quantization scheme are compared, US test image is compressed. Table 1. Comparison of different scalar quantizationprocedures in wavelet-based compression scheme. PSNR values for 0.25 bpp at each case are presented. Lenna Barbara Goldhill Quant. procedure 33.90 27.80 30.16 UCT 34.21 A 28.16 30.55 34.24 28.22 30.59 B C 34.23 28.23 30.59 D 34.31 28.28 30.67 E 34.37 28.27 30.72 CTSUQ 34.40 28.39 30.74 Table 2. The compression efficiency evaluation. Several wavelet-based techniques with different quantization procedures are used. PSNR values for 0.25 bpp at each case are presented. Comp. technique 1 Lenna [ Barbara 1 Goldhill SPIHT I 34.11 I 27.79 I '10 70 34.33 28.29 28.75 30 80 PACC 34.53 28.65 30.84 PC-AUT 34.46 30.78 34.57 30.76 28.67 30.75 ~~ I I I ~~ 488 publication, 1996. [12] S. Mallat and F. Falzon, "Analysis of Low Bit Rate Image Transform Coding," IEEE Tran. Sigal Proc.. appear, 1998. [13] I. Balasingham, A. Fuldseth, and T.A. Ramstad, "On Optimal Tiling of the Spectrum in Subband Image Compression," in ZCZP'97 proceedings, 1997. [14] N. Farvardin and J.W. Modestino, "Optimum quantizer performance for a class of non-gaussian memoryless sources," IEEE Trans. Inform. Theory, vol. IT-30, pp. 485497, 1984.