↓ Skip to main content

FPGA-Based Image Compression Encoding and Decoding System Design

FPGA-Based Image Compression Encoding and Decoding System Design

System Architecture and Hardware 🛠️
#

Real-time image processing requires low-latency execution and high throughput. To meet these requirements, we designed a system centered on an Altera DE series development board. The entire logic is implemented using Verilog HDL to interface with a D5M camera for raw image acquisition.

For high-reliability real-time execution in similar embedded environments, engineers often look toward VxWorks to manage complex hardware-software interactions.

Optimized JPEG Compression Logic ⚡
#

The core of the compression engine is the 2D-DCT (Discrete Cosine Transform) module. Standard DCT implementations can be computationally expensive in hardware due to the high number of required additions.

Chen’s Algorithm Modification
#

We modified the standard Chen algorithm by integrating a binary frequency signal controller. This specific change reduces the total number of adder calls required for the transform. By minimizing these operations, we achieved faster computation speeds without sacrificing the integrity of the compression.

Compression Efficiency
#

The system handles the transition from raw image data to compressed formats by prioritizing the speed of the DCT calculation. This ensures that the pipeline remains full even at high frame rates.

UART Communication and Data Handling 📡
#

Once the image is compressed, it needs to be moved off-chip. The UART transmission module handles the conversion between serial and parallel communication formats. This ensures that the compressed data stream remains consistent as it moves from the FPGA’s internal parallel processing logic to the external serial interface.

Performance Metrics 📊
#

Testing confirmed that the system meets the design specifications for both efficiency and quality:

  • Compression Ratio: 26.3:1
  • Mean Signal-to-Noise Ratio (SNR): > 40 dB
  • Visual Quality: The output maintains high visual fidelity, meeting the requirements for real-time monitoring applications.

Related