Skip to content
Back to publications
Journal ArticleFeatured2027

PI-SwinIR: A Swin Transformer for hydrology-aware vertical refinement of digital elevation models from multimodal earth observation data

Mirza Waleed

Computers & Geosciences

Abstract

Global bare-earth digital elevation models (DEMs) retain residual elevation errors and smoothed terrain structure that affect hydrological analysis. This study presents PI-SwinIR for vertical refinement of DEMs on a fixed 10 m analysis grid. The 2.53-million-parameter model combines a Swin Transformer V2 backbone and gated residual head with 11 terrain, radar, optical, road and spectral-index channels. Training couples elevation reconstruction with supervised slope, curvature and local-flow objectives. Airborne LiDAR provided reference elevations for eight urban and peri-urban study areas. In wholly withheld San Francisco, root mean square error (RMSE) decreased by 7.2% relative to FABDEM, while signed bias changed from −0.148 to −0.566 m. Across all eight cities, the unweighted mean RMSE reduction was 25.3%. Seven of these evaluations included training footprints. In a separate spatially buffered Sydney test, Swin V2 achieved an RMSE of 3.092 m and a mean absolute error (MAE) of 2.116 m, compared with 3.595 m and 2.446 m for a U-Net backbone trained with the same inputs, head, corrected terrain objective and 50-epoch budget. These reductions of 13.99% and 13.46%, respectively, were obtained with a single seed in a city selected after screening. Under the reported D8 extraction setup, stream F1 against LiDAR-derived networks was 0.797 in Sydney and 0.382 in San Francisco. The same extraction yielded no streams from resampled FABDEM, although equivalent conditioning of the surfaces could not be verified. The results support same-grid refinement in the evaluated settings, with geographic transfer and drainage performance assessed separately.

Journal cover for Computers & Geosciences
Research topics (6)
  • Digital Elevation Models
  • Earth Observation
  • Hydrology
  • Deep Learning
  • Swin Transformer
  • FABDEM

Cite This Paper

Mirza Waleed (2027). PI-SwinIR: A Swin Transformer for hydrology-aware vertical refinement of digital elevation models from multimodal earth observation data. Computers & Geosciences, 219, 106324. https://doi.org/10.1016/j.cageo.2026.106324

Related Publications