Advanced Image Coding and Its Comparison with Various Still Image Codecs

Advanced Image Coding and Its Comparison with Various Still Image Codecs

American Journal of Signal Processing 2012, 2(5): 113-121 DOI: 10.5923/j.ajsp.20120205.04 Advanced Image Coding and its Comparison with Various Still Image Codecs Radhika Veerla1, Zhengbing Zhang1,2 , K. R. Rao1,* 1Electrical Engineering Department, University of Texas at Arlington, Arlington, TX 76019, USA 2Electronics and Information College, Yangtze University, Jingzhou, Hubei, China Abstract JPEG is a popular DCT-based still image compression standard, which has played an important role in image storage and transmission since its development. Advanced Image Coding (AIC) is a still image compression system which combines the intra frame block prediction from H.264 with a JPEG-based discrete cosine transform followed by context adaptive binary arithmetic coding (CABAC), with best performance at low bit rates and has better performance than JPEG overall. In this paper, we propose a modified AIC (M-AIC) by replacing the CABAC in AIC with a Huffman coder and an adaptive arithmetic coder. The results were compared with other image compression techniques like JPEG using baseline method and JPEG2000, JPEG-LS and JPEG-XR in lossy compression, on various sets of test images. Simulation results are evaluated in terms of bit-rate, quality- PSNR and structural similarity index (SSIM). The simulation results based on PSNR demonstrate that M-AIC has optimal performance for images of all resolutions. The performance of still image codecs like M-AIC, JPEG-LS and JPEG-XR does not depend on the image resolution, which makes them suitable for wide varieties of applications. SSIM simulation results illustrate that M-AIC, JPEG2000 and JPEG-XR have similar performance and are better than any other codecs. Ke ywo rds Adaptive Arithmetic Coding, Advanced Image Coding, Block Prediction, DCT, Huffman, JPEG, M-A IC, SSIM modified AIC (M-AIC) proposed in[3] is implemented and 1. Introduction compared with various existing image codecs like JPEG[1], JPEG2000[8], JPEG-XR[9] and JPEG-LS [10] on various JPEG[1] is a popular DCT-based still image compression sets of test images. Although these compression techniques standard, which has played an important role in image are developed for different signals, they work well for still storage and transmission since its development. For image compression and hence worthwhile for comparison. instance, pictures taken by most of the current digital The primary difference of the proposed M-AIC algorithm cameras are still in JPEG format, and as a result most of the from AIC is that the CABAC is replaced by a Huffman images transferred on Internet are also in JPEG format. coder and an adaptive arithmetic coder in order to reduce JPEG provides very good quality of reconstructed images complexity of the algorithm. This paper considers JPEG at low or medium compression (i.e. high or medium bit only using baseline method and all the codecs are rates respectively), but it suffers from blocking artifacts at considered in lossy compression. The simulation results high compression (low bit rates). Bilsen has developed an based on PSNR demonstrate that M-AIC performs much experimental still image compression system known as better than JPEG, outperforms JPEG-LS at low bit rates, Advanced Image Coding (AIC) that encodes color images performs close to AIC, JPEG-2000 and JPEG-XR. M -AIC and performs much better than JPEG and close to is slightly better than AIC in very low bit rate range and JPEG-2000[2]. AIC combines intra frame block prediction outperforms. from H.264 with a JPEG-style discrete cosine transform, AIC, by ~3dB in case of gray scale images. For low followed by context adaptive binary arithmetic coding resolution images, M-AIC performs better than JPEG 2000 (CABAC) used in H.264. The aim of AIC is to provide and AIC takes the lead in this case. JPEG-XR, JPEG-LS has better image quality with reduced complexity. It is also similar performance for all the image resolutions. Based on faster than existing JPEG2000 codecs. In this paper, a SSIM[13] simulations, it is observed that M-AIC, JPEG2000 and JPEG-XR give almost the best performance * Corresponding author: whereas JPEG is closer to the above codecs in performance [email protected] (K.R. Rao) with low complexity and JPEG-LS outperforms the above Published online at http://journal.sapub.org/ajsp Copyright © 2012 Scientific & Academic Publishing. All Rights Reserved codecs in higher bit rate range. 114 Radhika Veerla et al.: Advanced Image Coding and its Comparison with Various Still Image Codecs block similar to H.264 is added in order to achieve better compression. The AIC, shown in Fig. 1, and M-AIC shown in Figs. 2 and 3, are developed with the key concern of eliminating the artifacts, thereby increasing quality. The predictor is composed of five parts including IDCT, inverse quantization, Mode Select and Store, Block Predict and an Adder. The function of the predictor is to predict the current block to be encoded with the previously decoded blocks of the upper row and the left column. AIC uses CABAC entropy coding which uses position of the matrix as the context; while the M-AIC takes up Huffman coding and adaptive arithmetic coding in combination in order to achieve similar performance and also to reduce complexity. 2.1. M-AIC Encoder M-AIC uses a DCT based coder, shown in Fig. 2. DCT coding framework is competitive with wavelet transform coding if the correlation between neighboring pixels is Fi gure 1. The process flow of the AIC encoder and decoder[2] properly considered using entropy coding. This is applied in M-AIC. Here, the original image is converted from RGB domain to 2. Overview of M-AIC Algorithm YCbCr domain in 4:4:4 sampling format. Equation 1 refers to the color conversion matrix from RGB to YCbCr and equation 2 refers to color conversion matrix from YCbCr to (1) RGB. The YCbCr blocks are divided into 8x8 non-overlapping blocks which are encoded block by block in zig-zag scan order whereas the Bilsen’s AIC[2] uses scan-line order. (2) M-AIC[3] is based on JPEG structure to which prediction B Cr G Cb Y, Cb, Cr Blks Res R CC Σ FDCT Q ZZ Huff Y + − Y Pred Blk A Tab Mode mode Block Predictor A Predict DecY Select DecCr DecCb DecY C + ′ Res − 1 Σ IDCT Q + ModeEnc CC: Color Conversion; FDCT: Forward DCT; Q: Quantization; Huff: Huffman encoder; ZZ: Zig-Zag scan ; IDCT : In verse DCT; Q −1: In ver se Quant ization; T ab: Huffman table; AAC: Adapt ive Arithmet ic Coder; Res: Residual of block predict ion; DecX: Decoded Blocks in channel X (X = Y, Cb, Cr) Res′: Reconstruct ed Residual Fi gure 2. M-AIC encoder[3] B′ Cr′ G′ Cb′ Y′,Cb′,Cr′ Blks Res′ −1 R′ IC Y′ Σ IDCT Q IZZ IHuff + A Pred Blk + A Tab DecY D DecCb Block mode ModeDec DecCr Predict and Store Inverse Color Conversion; IDC T: Inv e r se DCT ; AAD: Adaptive Arithmetic Decoder; IZZ: Inverse zig-zag scan; IHuff: Huffman decoder Fi gure 3. M-AIC decoder[3] American Journal of Signal Processing 2012, 2(5): 113-121 115 This is followed by encoding each block in all the is added to the prediction to result in the reconstructed channels. While encoding each block in Y channel select a current block. After the reconstruction of all the Y′, Cb′ and block prediction mode first, which minimizes the prediction Cr′ blocks, they are converted back to RGB domain. error measured with sum of absolute difference (SA D), by performing full search among the predefined 9 intra-prediction modes in[3]. The 9 block prediction modes, 3. Codecs Used In Comparison Mode 0 through Mode 8, represent vertical, horizontal, DC, Transformation and coefficient encoding are the main diagonal down-left, diagonal down-right, vertical-right, blocks of all the codecs which play a significant role in horizontal-down, vertical-left and horizontal-up predictions defining the compression quality of the system[12]. No w, let respectively. The same selected prediction mode which is us look at various codecs and their structures to study their used to store and predict the current block in Y is used for impact on the compression quality and reconstruction. The corresponding Cb and Cr blocks. The prediction residual reconstruction includes how each method is designed to (Res) of the block to be encoded is transformed into DCT avoid different kinds of artifacts. JPEG standard[1] is used in coefficients using a fast floating point DCT algorithm. Then popular baseline mode which supports only lossy the DCT coefficients are uniformly scalar-quantized. The compression and gives good compression results with least same quantization parameter (QP) is used to quantize the complexity. It is based on block based 8x8 DCT followed by DCT coefficients of Y, Cb and Cr channels and transferred uniform quantization, zig-zag scanning and Huffman into a one-dimensional sequence with a zig-zag scan order. entropy coding. JPEG2000 standard[8] is considered for All the 64 coefficients including both the DC coefficient and lossy compression. It is based on discrete wavelet transform, the AC coefficients are encoded together with the same scalar quantization, context modeling, arithmetic coding and algorithm as that for encoding the AC coefficients in JPEG post compression rate allocation. JPEG 2000 provides for standard. The proposed M-AIC algorithm makes use of the resolution, SNR, parseable code-streams, error-resilience, chrominance-AC-coefficient Huffman table recommended arbitrarily shaped region of interest (ROI), random access (to in baseline JPEG to encode all channels of Y, Cb and the sub-band block level), lossy and lossless coding, etc., all Cr[1][4].

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    9 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us