Skip to main content
3A Technology Solutions Official Logo Mark
3A Technology SolutionsIdeas • Technology • Impact
Student ProjectStudent & Research ProjectAcademic Computer Science Project (KWASU)

Image Compression & Quantitative Analysis — RLE vs. DCT

Python digital image-processing project implementing, visualizing, and quantitatively evaluating Run-Length Encoding (RLE) and Discrete Cosine Transform (DCT) compression with MSE, PSNR, and compression ratio metrics.

Academic & Research Classification: This project is a Student Project demonstrating practical application of software development, machine learning, and computational problem-solving (not a commercial client deployment).
Image Compression & Quantitative Analysis — RLE vs. DCT
Illustrative project interface
Image Compression & Quantitative Analysis — RLE vs. DCT visual preview

Research Context & Problem Statement

Understanding the practical trade-offs between lossless run-length encoding and transform-based image processing requires side-by-side visual reconstruction and quantitative signal-quality evaluation across diverse image types.

Technical Methodology & Implementation

Built a modular Python image-processing system (`rle_dct_model.py`, `evaluation.py`, `statistical_report.py`) paired with an interactive Streamlit application (`app.py`). The system processes images through both RLE and DCT/IDCT pipelines, computes Mean Squared Error (MSE), Peak Signal-to-Noise Ratio (PSNR), and compression ratios, and exports aggregated Pandas statistical reports to CSV.

Verified Features & Capabilities

  • ✓Channel-by-channel Run-Length Encoding (RLE) and Discrete Cosine Transform (DCT) implementation
  • ✓Quantitative evaluation of reconstructed images using MSE, PSNR, and Compression Ratio
  • ✓Batch image evaluation script generating filterable Pandas DataFrames and CSV statistical reports
  • ✓Interactive Streamlit interface for side-by-side visual and metric comparison

Verified Technology Stack

PythonNumPyPillowScikit-ImagePandasStreamlit
View Public Repository on GitHub ↗
Chat on WhatsApp