Interactive snow avalanche segmentation from webcam imagery: results, potential, and limitations

Elisabeth D. Hafner, Theodora Kontogianni, Rodrigo Caye Daudt, Lucien Oberson, Jan Dirk Wegner, Konrad Schindler, Yves Bühler

TL;DR

This paper introduces an interactive snow avalanche segmentation (IAS) system that leverages deep learning and human input to efficiently map avalanche outlines from webcam imagery. By combining human expertise with AI, the system achieves a 90% time saving compared to manual mapping, paving the way for more comprehensive and precise avalanche documentation for safety applications.

What Problem Does This Paper Address?

Accurate documentation of snow avalanches is critical for safety applications like hazard mapping and risk assessment. Traditionally, this data comes from isolated field observations or satellite imagery, which can be costly, infrequent, or lack the necessary temporal resolution. While webcams are increasingly common in avalanche-prone areas and capture frequent imagery, manually delineating avalanches from these images is time-consuming and labor-intensive. This paper addresses the challenge of efficiently and accurately extracting avalanche outlines from this abundant webcam data to create more comprehensive and up-to-date avalanche databases.

Methods

The core of the proposed solution is an Interactive Avalanche Segmentation (IAS) system. This approach combines a deep learning segmentation model with human input in a collaborative loop. During training, the model learns from simulated human clicks (positive for avalanche, negative for background) to refine its segmentation. For inference, a user provides initial clicks, and the model generates a segmentation. The user can then iteratively refine this segmentation with further clicks. The authors adapted a state-of-the-art interactive segmentation model (Sofiiuk et al., 2021) and trained it on various avalanche datasets. They also developed a workflow for georeferencing the segmented avalanches using mono-photogrammetry tools, enabling their integration into GIS.

Datasets

The study utilized several datasets:

  • SLF dataset: Webcam imagery from the Dischma Valley, Switzerland, collected by the WSL Institute for Snow and Avalanche Research SLF. This dataset was used for training, validation, and testing.
  • WebNew: Images from two Börterhorn webcams, excluded from the main SLF training set to test generalization to unseen viewpoints.
  • GroundPic: Images from handheld cameras, introducing a domain gap in terms of perspective and image quality.
  • UIBK dataset: A publicly available dataset from Fox et al. (2023) containing over 3000 avalanche images, used for training and validation, and a subset for testing. This dataset is noted for having coarser annotations than the SLF dataset.
  • UserPic: A dataset specifically curated for a user study, containing annotated avalanches.

Key Insights and Ideas

  • Interactive Segmentation is Key: The paper strongly advocates for interactive segmentation (IAS) as a sweet spot between fully automated methods and purely manual annotation. It effectively balances the need for accuracy with the demand for efficiency.
  • Webcam Data is Underexplored: Despite the proliferation of webcams, their potential for large-scale, continuous avalanche documentation has been largely untapped. This work demonstrates a viable method to harness this resource.
  • Simulated Clicks are Effective for Training: The study shows that simulating user clicks during training can effectively prepare the model for real-world interactive use, leading to good performance even with diverse datasets.
  • Domain Adaptation Matters: Models trained on specific webcam data (AvaWeb) generally outperform models trained on more general datasets (COCO+LVIS) or datasets with different characteristics (UIBK), highlighting the importance of domain-specific training for this task.
  • Georeferencing is Crucial for Usability: The integration of georeferencing tools is essential for making the segmented avalanche data useful for downstream applications like hazard mapping and database integration.

Key Results

  • Significant Time Savings: The IAS system achieved a 90% time saving compared to conventional manual mapping of avalanche outlines.
  • High Accuracy: The trained models, particularly the AvaWeb model (trained on SLF data), achieved high Intersection over Union (IoU) scores on the SLF test set, reaching over 80% IoU with an average of 3-4 clicks.
  • User Study Validation: A user study with eight participants showed that IAS significantly reduced mapping time (average 6.5s to reach 80% IoU vs. 2.5 minutes for manual mapping). The final masks from the user study showed high consistency, with pairwise IoU scores averaging 93.53%.
  • Model Performance: The AvaWeb model, trained on SLF webcam data, generally outperformed other trained models (AvaPic, AvaMix) on webcam-specific test sets (SLF, WebNew), demonstrating good generalization within its domain.

Limitations and Future Work

  • Domain Generalization Challenges: While the AvaWeb model performed well on similar webcam data, it struggled with the UIBK dataset, which had coarser annotations and different perspectives. This suggests a need for larger, more diverse, and finely annotated datasets for broader generalization.
  • Unfavorable Conditions: The model, like human annotators, struggled with images featuring diffuse illumination, shade, or snow-covered avalanches, which reduce visibility.
  • Future Work: The authors suggest training with larger, more diverse datasets with fine annotations to improve generalization. They also envision expanding the pipeline to integrate IAS with georeferencing and directly into existing databases, potentially enabling mobile-based avalanche reporting. Further research could explore automatic georeferencing using skyline and DEM data.

Summary updated

Abstract

For many safety-related applications such as hazard mapping or road management, well-documented avalanche events are crucial. Nowadays, despite the variety of research directions, the available data are mostly restricted to isolated locations where they are collected by observers in the field. Webcams are becoming more frequent in the Alps and beyond, capturing numerous avalanche-prone slopes. To complement the knowledge about avalanche occurrences, we propose making use of this webcam imagery for avalanche mapping. For humans, avalanches are relatively easy to identify, but the manual mapping of their outlines is time intensive. Therefore, we propose supporting the mapping of avalanches in images with a learned segmentation model. In interactive avalanche segmentation (IAS), a user collaborates with a deep-learning model to segment the avalanche outlines, taking advantage of human expert knowledge while keeping the effort low thanks to the model's ability to delineate avalanches. The human corrections to the segmentation in the form of positive clicks on the avalanche or negative clicks on the background result in avalanche outlines of good quality with little effort. Relying on IAS, we extract avalanches from the images in a flexible and efficient manner, resulting in a 90 % time saving compared to conventional manual mapping. The images can be georeferenced with a mono-photogrammetry tool, allowing for exact geolocation of the avalanche outlines and subsequent use in geographical information systems (GISs). If a webcam is mounted in a stable position, the georeferencing can be re-used for all subsequent images. In this way, all avalanches mapped in images from a webcam can be imported into a designated database, making them available for the relevant safety-related applications. For imagery, we rely on current data and data archived from webcams that cover Dischma Valley near Davos, Switzerland, and that have captured an image every 30 min during the daytime since the winter of 2019. Our model and the associated mapping pipeline represent an important step forward towards continuous and precise avalanche documentation, complementing existing databases and thereby providing a better base for safety-critical decisions and planning in avalanche-prone mountain regions.
BibTeX
@inproceedings{hafner2024interactive,
  author = {Elisabeth D. Hafner and Theodora Kontogianni and Rodrigo Caye Daudt and Lucien Oberson and Jan Dirk Wegner and Konrad Schindler and Yves Bühler},
  title = {{Interactive snow avalanche segmentation from webcam imagery: results, potential, and limitations}},
  booktitle = {˜The},
  year = {2024},
  doi = {10.5194/tc-18-3807-2024},
}
Figure