How gamerdox/sr-mapping works
Sentinel-2 Satellite Super-Resolution Studio is a CPU-oriented imagery enhancement service with an interactive Web GIS. Its main workflow accepts an uploaded image or coordinates, selects a super-resolution model, optionally runs test-time augmentation, and returns an enhanced image with uncertainty information. The backend also serves model discovery and health endpoints and can retrieve map tiles with an offline cache. The README documents additional deployment tiers, cascaded scaling, and spectral products; their implementation details are not established by the sampled source, so those links are shown as unverified or omitted.
Main entry points: main.py API and orchestration · dataset.py Paired image dataset · app.js Web interface · sr_model.py Sentinel2SRNet
Components 17
Web GIS
- Web interface
frontend/app.js - Enhanced image and uncertainty
- Spectral proxies
- Cascaded 2.5m output
Serving
- API and orchestration
backend/main.py - Offline tile cache
data/offline_tiles
Super-resolution Models
- Sentinel2SRNet
src/models/sr_model.py - EDSR
src/models/edsr.py - EESRGAN
src/models/eesrgan.py - ESPCN
src/models/espcn.py - FSRCNN
src/models/fsrcnn.py - SlimDiffSR
src/models/slimdiffsr.py - Swin2-MoSE
src/models/swin2_mose.py
Imagery and Evaluation
- Paired image dataset
src/data/dataset.py - Image metrics
src/models/metrics.py
Other components
- Analyst
- Map tile service
Connections 20
- Analyst → Web interface: uses
README.md - Analyst → API and orchestration: requests inference
README.md - API and orchestration → Web interface: serves interface
backend/main.py - API and orchestration → Map tile service: fetches tiles
backend/main.py - API and orchestration → Offline tile cache: caches tiles
backend/main.py - API and orchestration → Sentinel2SRNet: builds and runs
backend/main.py - API and orchestration → EDSR: builds model
backend/main.py - API and orchestration → EESRGAN: builds model
backend/main.py - API and orchestration → ESPCN: builds model
backend/main.py - API and orchestration → FSRCNN: builds model
backend/main.py - API and orchestration → SlimDiffSR: builds model
backend/main.py - API and orchestration → Swin2-MoSE: builds model
backend/main.py - API and orchestration → Enhanced image and uncertainty: returns prediction
backend/main.py - API and orchestration → Enhanced image and uncertainty: estimates uncertainty
backend/main.py - Paired image dataset → Sentinel2SRNet: trains from pairs
README.md - Paired image dataset → EDSR: trains from pairs
README.md - Paired image dataset → EESRGAN: trains from pairs
README.md - Paired image dataset → Image metrics: evaluates against
README.md - Enhanced image and uncertainty → Spectral proxies: derives proxies
README.md - Enhanced image and uncertainty → Cascaded 2.5m output: may upscale again
README.md