Skip to content
Open access

DEA-J: A Context-Based Entropy Coding Scheme for JPEG Compression

Oct 2026 · Electronics · 0 citations

Abstract

JPEG remains one of the most widely used lossy image compression standards because of its low computational cost and broad hardware support. The final stage of the JPEG chain is conventionally performed with Huffman coding, which treats symbols independently and cannot exploit the statistical dependence between consecutive symbols. In this study, we integrate the complete Dynamic Bit-Level Encoding Algorithm (DEA), originally proposed for lossless compression, into the entropy coding stage of the JPEG pipeline. The resulting method, DEA-J, encodes each JPEG run/size symbol using the preceding symbol as context and leaves all other stages unchanged. We evaluated it on three independent benchmark sets (USC-SIPI, Kodak, and Tecnick; 138 color and 125 greyscale images) at four quality factors (Q = 25, 50, 75, 90), yielding 1052 test conditions. Relative to the Huffman tables of standard JPEG, DEA-J produced fewer bits for all 263 images, with an average saving of 9.62% including the transmitted model (10.55% in data bits); context modelling alone contributed 4.82% over optimized Huffman tables. The saving is largest at high compression (13.98% at Q = 25) and consistent across the sets. Since entropy coding is lossless, DEA-J attains identical reconstructed quality, with PSNR, MSE, and SSIM unchanged.

Read PDF

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.