EDN-S: Enhanced Deep Network for Satellite Super-Resolution
Overview
EDN-S (Enhanced Deep Network for Satellite Super-Resolution) is a lightweight PyTorch implementation of EDSR-small for satellite image super-resolution, deployable as a pip-installable package with CLI and Python API.
Author: Chekalil Aimene Charef Eddine Project type: Independent research startup (self-directed, completed without institutional affiliation) Thesis: "Hallucination-Aware and Task-Driven Evaluation of Super-Resolution Methods for ALSAT-2B Satellite Imagery"
All Phases Complete ✅
| # | Phase | Status | Date | Result |
|---|---|---|---|---|
| 0 | Infrastructure & Environment | ✅ | 2026-11-12 | CPU-only PyTorch, FreeLLMAPI |
| 1 | Literature Review | ✅ | 2026-11-13 | 47 papers, research gap identified |
| 2 | Research Questions & Methodology | ✅ | 2026-11-12/13 | 6 RQs (H1–H6), protocol finalized |
| 3 | Dataset Acquisition & Preparation | ✅ | 2026-11-15 | PROBA-V (1,450 imgsets), Sentinel-2 (87 scenes, 14,748 tiles) |
| 4 | Baseline Implementation | ✅ | 2026-11-15 | 149 Sim-ALSAT-2B pairs, bicubic baseline, EDSR-tiny smoke test |
| 5 | Super-Resolution Experiments | ✅ | 2026-11-18 | EDSR-small: 24.86 dB vs bicubic 21.83 dB (+3.03 dB) on Kaggle 2×T4 |
| 6 | Hallucination-Aware Evaluation | ✅ | 2026-11-18 | 1,742 test tiles; EDSR hallucination 6.89% vs bicubic 13.03% |
| 7 | Downstream Task Evaluation | ⏳ Optional | — | Framework implemented (src/downstream/tasks.py), deferred |
| 8 | Statistical Analysis & Discussion | ✅ | 2026-11-18 | Cohen's d 6.19, McNemar p<0.001 (textural/spectral) |
| 9 | Thesis Writing & Final Validation | ✅ | 2026-11-19 | 24-page LaTeX thesis compiled |
Installation
pip install edns
Or from source:
git clone https://github.com/aimenachraff-jpg/MASTER2-A1.git
cd MASTER2-A1
pip install -e .
Quick Start
Python API
from edns.inference import run_sr
result_path = run_sr(
input_path="data/raw/sentinel2/test.tif",
output_path="output_sr.tif",
model_path="experiments/checkpoints/edsr_small_phase5_best.pt"
)
CLI
edns-sr input.tif [output.tif]
Environment variables: EDNS_CKPT, EDNS_CONFIG
Key Features
- 🚀 Lightweight: 1.52M parameters, fast on CPU (~50s for 1024→4096 tile on Intel Iris Xe)
- 🌍 Satellite-optimized: 4-channel input (B2, B3, B4, B8) for Sentinel-2 imagery
- 📊 Comprehensive metrics: PSNR, SSIM, SAM, ERGAS, SCI, TUS
- 🧪 Hallucination detection: Spectral, Structural, Textural, Semantic categories
- 🛠️ Deployable: CLI + Python API, pip-installable package (
edns)
Verified Results
| Metric | EDSR-small | Bicubic | Δ |
|---|---|---|---|
| PSNR (dB) | 24.86 | 21.83 | +3.03 |
| SSIM | 0.72 | 0.61 | +0.11 |
| SAM (rad) | 0.058 | 0.082 | −0.024 |
| ERGAS | 2.14 | 4.31 | −2.17 |
| Hallucination rate | 6.89% | 13.03% | −6.14% |
Statistical significance: Cohen's d = 6.19 (very large), McNemar p < 0.001 for textural and spectral hallucination categories.
Model Architecture
- Base: EDSR-small (16 residual blocks, 64 features)
- Scale: ×4 super-resolution
- Input: 4 channels (B2, B3, B4, B8) — Sentinel-2 surface reflectance
- Output: 4 channels at 4× higher resolution
Package Structure (edns)
src/edns/
├── models/ EDSR implementation
├── inference/ SRInference class + CLI entry point (edns-sr)
├── data/ GeoTIFF I/O, z-score normalization using training stats
├── evaluation/ Metrics: PSNR, SSIM, SAM, ERGAS, SCI, TUS
├── hallucination/ Hallucination detector (Spectral/Structural/Textural/Semantic)
└── utils/ Logging, helpers, timers
License
MIT License — see LICENSE file
Acknowledgments
Special thanks to the Kaggle community for dataset access and the OpenCode framework for enabling this independent research.
Author
Chekalil Aimene Charef Eddine — independent researcher
Metadata
Release files for edns 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| edns-1.0.1.tar.gz | 36.5 kB | Without provenance | Details for edns-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| edns-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for edns-1.0.1-py3-none-any.whl |
Total release size: 66.3 kB
Release files / edns-1.0.1.tar.gz
| Download URL | edns-1.0.1.tar.gz |
|---|---|
| Size | 36.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cf54783fd1e4cf822dc77a1906bd2d9d2228bb47cd0b8c8c0c1a4e8e05fdb1d6
|
|
BLAKE2b-256 checksum How to use checksums |
998b9b248ce42fda9fd3b17e33adf4eee0e82e8ee0d7e87b6897208fbeba4e4f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.11
|
Release files / edns-1.0.1-py3-none-any.whl
| Download URL | edns-1.0.1-py3-none-any.whl |
|---|---|
| Size | 29.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d245444ec20f088e0a42740076ae49d2e4df9b9f3973d53e523cd131e905128c
|
|
BLAKE2b-256 checksum How to use checksums |
86ba719b3ef355cb29e6f0e8277af676e86537e14acc46e1a7abee735ce56683
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.11
|
Security for edns 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.