Skip to main content
QUICK REVIEW

[Paper Review] JPEG Image Compression using the Discrete Cosine Transform: An Overview, Applications, and Hardware Implementation

Ahmad Shawahna, Md. Enamul Haque|arXiv (Cornell University)|Nov 1, 2019
Advanced Data Compression TechniquesComputer Science14 references8 citations
TL;DR

This paper presents a high-performance, parallel hardware implementation of JPEG image compression using 2D Discrete Cosine Transform (DCT) in VHDL, optimized for low latency and high throughput. The design achieves significant compression ratios (up to 85%) with minimal perceptible distortion, demonstrating efficient hardware resource utilization and fast processing (3.94 ns for DCT).

ABSTRACT

Digital images are becoming large in size containing more information day by day to represent the as is state of the original one due to the availability of high resolution digital cameras, smartphones, and medical tests images. Therefore, we need to come up with some technique to convert these images into smaller size without loosing much information from the actual. There are both lossy and lossless image compression format available and JPEG is one of the popular lossy compression among them. In this paper, we present the architecture and implementation of JPEG compression using VHDL (VHSIC Hardware Description Language) and compare the performance with some contemporary implementation. JPEG compression takes place in five steps with color space conversion, down sampling, discrete cosine transformation (DCT), quantization, and entropy encoding. The five steps cover for the compression purpose only. Additionally, we implement the reverse order in VHDL to get the original image back. We use optimized matrix multiplication and quantization for DCT to achieve better performance. Our experimental results show that significant amount of compression ratio has been achieved with very little change in the images, which is barely noticeable to human eye.

Motivation & Objective

  • To design a high-speed, low-latency hardware architecture for JPEG image compression using VHDL.
  • To optimize DCT computation through parallel 1D DCT processing on rows and columns for 2D DCT implementation.
  • To achieve efficient hardware resource utilization while maintaining high throughput and low area cost.
  • To evaluate performance across different quantization matrices and compare results with existing implementations.
  • To enable practical deployment in high-data-rate applications such as medical and traffic image systems.

Proposed method

  • Implemented a 2D DCT using a parallel structure that applies 1D DCT sequentially on rows and columns of 8×8 image blocks.
  • Employed optimized matrix multiplication techniques with 64 parallel row-column multipliers and 32-bit IEEE 754-compliant floating-point representation.
  • Applied quantization using a custom 8×8 quantization matrix (Q75) to discard high-frequency components based on perceptual importance.
  • Used run-length encoding and zig-zag scanning for entropy encoding during compression and decoding.
  • Performed inverse DCT using matrix multiplication with scaling and rounding, followed by adding 128 to restore pixel values.
  • Synthesized the design using Synopsys Design Compiler and targeted FPGA-like hardware with high clock rate and low latency.

Experimental results

Research questions

  • RQ1How can a parallel, hardware-optimized DCT architecture be designed to improve JPEG compression speed and throughput?
  • RQ2What is the impact of different quantization matrices on compression ratio and image quality in a hardware-implemented JPEG system?
  • RQ3To what extent can optimized matrix multiplication and IEEE 754 formatting reduce resource usage and latency in DCT computation?
  • RQ4How does the proposed hardware implementation compare in area, latency, and throughput to existing implementations?
  • RQ5Can the system achieve high compression ratios with minimal perceptible image distortion in real-time applications?

Key findings

  • The proposed DCT hardware implementation achieved a processing time of 3.94 ns, demonstrating high-speed operation suitable for real-time systems.
  • The system achieved a maximum compression ratio of 84.98% for the Desert image, with a compressed size of 127 KB from an original 846 KB.
  • The Koala image showed a 79.51% reduction (from 781 KB to 160 KB), confirming consistent performance across diverse image content.
  • The Lighthouse image achieved a 82.17% compression ratio, indicating robustness across varying textures and frequencies.
  • The Penguins and Tulips images achieved 84.70% and 84.54% compression, respectively, showing stable performance under different image characteristics.
  • The design achieved optimal hardware resource utilization with an area of 19,064,344.4 µm², balancing speed and area efficiency for embedded and reconfigurable platforms.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.