Bayer - 14 Add-2012
Bayer - 14 Add-2012
⎡ ⎤ x1 X4
1 1 1 1 1 1 1 1 x2
⎢1 0 0 0 0 0 0 −1 ⎥
X6
⎢ ⎥
⎢1 0 0 −1 −1 0 0 1 ⎥
x3 X2
⎢ ⎥
⎢0 0 −1 0 0 1 0 0 ⎥ x4 X7
T=⎢
⎢1
⎥
⎢ −1 −1 1 1 −1 −1 1 ⎥⎥
x5 X3
⎢0 −1 0 0 0 0 1 0 ⎥
⎢ ⎥ x6 X5
⎣0 −1 1 0 0 1 −1 0 ⎦ x7 X1
0 0 0 −1 1 0 0 0
Fig. 1 Signal flow graph for T
Input data xn , n ¼ 0, 1, . . . , 7, relates to output Xk , k ¼ 0, 1, . . . , 7, according to
The above matrix furnishes the approximate DCT expressed by: Ĉ ¼ D . T, X ¼ T . x. Dashed arrows represent multiplication by 21
1 1 1 1 1 1 1 1
where D ¼ diag √ , √ , , √ , √ , √ , , √ . Arithmetic complexity assessment and comparisons with state-of-the-
8 2 2 2 8 2 2 2
The entries of T are {0, +1}. This is an attestation of its null multi- art DCT approximations are shown in Table 1. Demanding only 14
plicative complexity. Moreover, bit-shift operations are fully absent. additions, the proposed transform Ĉ possesses 22.2, 30.0, and 41.7%
Not only does Ĉ inherit the low computational complexity of T, but it lower arithmetic costs than the BAS-2009 transform [5], the
is also orthogonal. In terms of complexity assessment, matrix D may BAS-2011 transform [6], and the SDCT, respectively. Notice that
not introduce any computational overhead [3– 7]. In image compression, the BAS-2011 transform is the most recent algorithm in the BAS series.
the DCT operation is a pre-processing step for subsequent coefficient
quantisation. In this context, matrix D, in the form of D2, can be Table 1: Arithmetic complexity analysis
merged into the quantisation matrix. Moreover, all elements of D2 are
Method Additions Multiplications Shifts Total
negative powers of two {1/2,1/4,1/8}. Therefore, any implementation
Proposed transform 14 0 0 14
of the quantisation step for the exact DCT can be easily adapted to
SDCT [2] 24 0 0 24
the proposed method by adequately bit-shifting the elements of the
Level 1 approximation [3] 24 0 2 26
quantisation matrix.
A fast algorithm based on sparse matrix factorisation leads to T ¼ P . BAS-2008 transform [4] 18 0 2 20
A3 . A2 . A1 , where: BAS-2009 transform [5] 18 0 0 18
BAS-2011 transform [6] 18 0 2 20
⎡ ⎤
1 0 0 0 0 0 0 1 CB-2011 transform [7] 22 0 0 22
⎢0 1 0 0 0 0 1 0 ⎥
⎢ ⎥
⎢ ⎥ The DSP literature contains the DCT approximation described in [8],
⎢0 0 1 0 0 1 0 0 ⎥
⎢ ⎥ which is claimed to require 16 additions. However, we could not repro-
⎢0 0 ⎥
⎢ 0 0 1 1 0 0 ⎥ duce the performance results shown in [8]. Indeed, contrary to [8], such
A1 = ⎢ ⎥
⎢0 0 0 1 −1 0 0 0 ⎥ approximation could not be verified to be orthogonal. Thus, we could
⎢ ⎥
⎢0 −1 0 ⎥ not consider [8] for any meaningful comparison.
⎢ 0 1 0 0 0 ⎥
⎢ ⎥
⎣0 1 0 0 0 0 −1 0 ⎦
Image compression: To assess the performance of the proposed trans-
1 0 0 0 0 0 0 −1 form for image compression, we used the methodology described in
DCT for the average MSE. According to this metric, the proposed
approximation led to a better performance at compression ratios
30
ranging from 90.625% (r ¼ 6) to 45.310% (r ¼ 35), in which
popular compression ratios are included.
25
Fig. 3 shows a qualitative comparison including the DCT, the pro-
posed transform, the BAS-2011 transform, and the SDCT. A 60.937%
compression (r ¼ 25) was applied to the standard Lena image. The pro-
a posed transform offered results that are comparable to those furnished by
2.5 the exact DCT.
SDCT
BAS−2011
2.0 proposed transform
Conclusions: This Letter introduces an 8-point transform suitable for
image compression. The proposed transform requires only 14 additions
APE (MSE)
1.5
and has comparable or better image compression performance than the
1.0 classic SDCT and the state-of-the-art BAS-2011 transform.
References
1 Lecuire, V., Makkaoui, L., and Moureaux, J.-M.: ‘Fast zonal DCT for
energy conservation in wireless image sensor networks’, Electron.
Lett., 2012, 48, (2)
2 Haweel, T.I.: ‘A new square wave transform based on the DCT’, Signal
Process., 2001, 82, pp. 2309–2319
3 Lengwehasatit, K., and Ortega, A.: ‘Scalable variable complexity
DCT (PSNR=37.21) proposed (PSNR=31.44)
approximate forward DCT’, IEEE Trans. Circuits Syst. Video
a b
Technol., 2004, 14, (11), pp. 1236–1248
4 Bouguezel, S., Ahmad, M.O., and Swamy, M.N.S.: ‘Low-complexity
8 × 8 transform for image compression’, Electron. Lett., 2008, 24,
(21), pp. 1249– 1250
5 Bouguezel, S., Ahmad, M.O., and Swamy, M.N.S.: ‘A fast 8 × 8
transform for image compression’. Int. Conf. Microelectronics,
Marrakech, Morocco, 2009, pp. 74–77
6 Bouguezel, S., Ahmad, M.O., and Swamy, M.N.S.: ‘A low-complexity
parametric transform for image compression’. Proc. 2011 IEEE Int.
Symp. Circuits and Systems, Rio de Janeiro., Brazil, 2011
7 Cintra, R.J., and Bayer, F.M.: ‘A DCT approximation for image
compression’, IEEE Signal Process. Lett., 2011, 18, (10), pp. 579–582
BAS-2011 (PSNR=31.33) SDCT (PSNR=31.25) 8 Brahimi, N., and Bouguezel, S.: ‘An efficient fast integer DCT
c d transform for images compression with 16 additions only’. 7th Int.
Workshop on Systems, Signal Processing and their Applications,
Fig. 3 Compressed Lena image using DCT (Fig. 3a), proposed transform Tipaza, Algeria, 2011, pp. 71–74
(Fig. 3b), BAS-2011 transform (Fig. 3c), and SDCT (Fig. 3d), for r ¼ 25 9 USC-SIPI Image Database, University of Southern California, Signal
and Image Processing Institute, http://sipi.use.edu/database/
For the sake of image compression performance assessment, the peak 10 Britanak, V., Yip, P., and Rao, K.R.: ‘Discrete cosine and sine
signal-to-noise ratio (PSNR) and mean square error (MSE) were utilised transforms’ (Academic Press, 2007)
as figures of merit. However, in contrast with the numerical experiments