ICEPY4D: A PYTHON TOOLKIT FOR ADVANCED MULTI-EPOCH GLACIER MONITORING WITH DEEP-LEARNING PHOTOGRAMMETRY

Francesco Ioli, F. Barbieri, Federica Gaspari, Francesco Nex, L. Pinto2023

Abstract

Glacier monitoring plays a crucial role in understanding the impacts of climate change on these dynamic natural systems. One or more time-lapse cameras are often employed to acquire short-term observations of glacier flow dynamics. However, the lack of multi-camera photogrammetric software packages for multi-temporal 3D scene reconstruction, especially in case of wide camera baselines, hinders the application of Structure-from-Motion techniques to these scenarios. To address this, we present ICEpy4D, a novel Python toolkit designed for 4D monitoring of alpine glaciers using low-cost time-lapse cameras and state-of-the-art computer vision techniques. ICEpy4D leverages deep-learning-based matching algorithms to solve 3D reconstruction with wide camera baselines, making it well-suited for challenging scenarios encountered in mountainous regions. The toolkit offers comprehensive functionalities for multi-epoch monitoring, enabling short-term glacier 3D reconstruction and extraction of relevant information from time-series point clouds, such as volume variations and glacier retreat. In a pilot study on the Belvedere Glacier northern snout (Italian Alps), ICEpy4D estimated glacier volume loss of 63 × 10³ m³ of ice and ∼17.5m of retreat. Results showcased the toolkit’s potential for analyzing a glacier ice cliff, with prospects for application to other glaciers with varying characteristics. ICEpy4D is actively being developed as an open-source project.

Introduction

Monitoring the rapid changes in alpine glaciers is critical for climate science, but doing so in rugged terrain presents significant logistical and technical hurdles. Researchers frequently employ Structure-from-Motion (SfM) photogrammetry to generate 3D models from 2D imagery. However, two primary challenges persist: the "wide-baseline problem" and the "automation gap." In mountainous environments, camera placement is often constrained by topography, resulting in wide baselines that traditional feature-matching algorithms (e.g., SIFT, SURF) cannot reliably bridge. Furthermore, existing SfM software often lacks the specialized automation required to process multi-epoch data from fixed camera stations over extended periods.

Methods

ICEpy4D is an open-source Python toolkit designed to bridge the gap between computer vision and geomorphology. The workflow integrates several advanced components:

Deep Learning Feature Matching

To overcome the limitations of hand-crafted descriptors, ICEpy4D implements state-of-the-art neural networks such as SuperPoint+SuperGlue and LoFTR. These models are significantly more robust at identifying correspondences across extreme perspective shifts and varying illumination conditions common in glacial environments.

The ICEpy4D matching workflow: (a) wide-baseline stereo pair in the SfM interface, (b) sparse feature matches, and (c) dense matching results.

Tiled Matching and Hybrid SfM

To process high-resolution DSLR imagery without exceeding GPU memory limits, the toolkit utilizes a "tile preselection" strategy. It first identifies overlapping regions using downsampled images and then performs full-resolution matching only on those tiles. ICEpy4D acts as a high-level orchestrator, handling the initial matching before interfacing with established SfM engines like Agisoft Metashape or COLMAP for bundle adjustment and dense reconstruction.

Vertical DEM of Difference (DOD)

Because glacier snouts often present as vertical cliffs, standard top-down elevation models are inadequate. ICEpy4D rasterizes point clouds onto a vertical YZ plane, allowing for accurate calculation of volume variations and frontal retreat distances.

Case Study: Belvedere Glacier

The toolkit was evaluated using a dataset from the Belvedere Glacier in the Italian Alps. The study utilized 158 stereo pairs acquired between May and November 2022 via two low-cost Canon Eos 1200D stations. Validation was performed against a high-resolution UAV survey from July 2022. The deep learning matchers, pre-trained on the MegaDepth dataset, proved highly effective without site-specific fine-tuning.

Results

The pilot study demonstrated the necessity of deep learning matchers; traditional tools failed to estimate camera poses for this wide-baseline setup, whereas ICEpy4D succeeded. Key findings include:

  • Accuracy: The system achieved a mean accuracy of ~1 cm compared to drone data, well within the 3.5 cm Ground Sample Distance (GSD).
  • Glacier Dynamics: Total ice volume loss was estimated at 63,000 m³, with a frontal retreat of approximately 17.5 meters.
  • Robustness: A low average reprojection error of 0.45 pixels was maintained throughout the monitoring period.

Conclusion and Future Work

ICEpy4D provides a transparent, customizable, and robust alternative to commercial "black-box" software for 4D glacier monitoring. Current development focuses on removing dependencies on commercial APIs (e.g., by integrating the CERES library) and incorporating advanced point cloud analytics like py4dgeo. The project is open-source and available at github.com/labmgf-polimi/icepy4d/.

Summary updated

BibTeX
@inproceedings{ioli2023icepy,
  author = {Francesco Ioli and F. Barbieri and Federica Gaspari and Francesco Nex and L. Pinto},
  title = {{ICEPY4D: A PYTHON TOOLKIT FOR ADVANCED MULTI-EPOCH GLACIER MONITORING WITH DEEP-LEARNING PHOTOGRAMMETRY}},
  booktitle = {˜The},
  year = {2023},
  doi = {10.5194/isprs-archives-xlviii-1-w2-2023-1037-2023},
}
Figure