Cloud and Snow Segmentation in Satellite Images Using an Encoder-Decoder Deep Convolutional Neural Networks

Kai Zheng, Jiansheng Li, Lei Ding, Jianfeng Yang, Xucheng Zhang, Xun ZhangISPRS Int. J. Geo Inf 2021

TL;DR

This paper introduces ED-CNN, a novel encoder-decoder deep learning model for accurately segmenting clouds and snow in satellite imagery. The model enhances feature fusion and demonstrates that label quantity, rather than strict quality, is more crucial for achieving high segmentation performance, especially for complex remote sensing tasks.

What Problem Does This Paper Address?

Accurate segmentation of clouds and snow in satellite images is critical for numerous applications, from environmental monitoring to resource management. However, existing methods struggle with several challenges:

  • Cloud Cover: Clouds obscure a significant portion of the Earth's surface (around 66.7%), hindering the analysis of optical remote sensing images (RSIs).
  • Similar Characteristics: Clouds and snow share similar high reflectivity in optical bands, making it difficult for traditional methods like thresholding to distinguish them from each other and from other bright surface features.
  • Computational Cost: While deep learning methods have shown promise, many require extensive computational resources and time, making them impractical for large-scale RSI processing.
  • Labeling Effort: Creating high-quality, pixel-level annotations for semantic segmentation is labor-intensive and expensive, posing a bottleneck for developing robust models.

This paper aims to address these issues by proposing an efficient deep learning architecture and investigating the impact of label quality and quantity on segmentation performance.

Methods

The core of this work is the ED-CNN (Enhanced Encoder-Decoder Convolutional Neural Network). Key aspects of the method include:

  • Encoder-Decoder Architecture: The model utilizes a standard encoder-decoder structure, common in semantic segmentation, to capture both high-level semantic information and low-level spatial details.
  • ResNet50 Backbone: Instead of heavier backbones like Xception, the authors opt for ResNet50 as the encoder. This choice is motivated by its smaller parameter count (0.85M vs. 22.8M for Xception), faster training, and ability to retain semantic information through residual connections.
  • Atrous Spatial Pyramid Pooling (ASPP): An ASPP module is integrated into the encoder to capture multi-scale contextual information by using dilated convolutions with different rates.
  • Enhanced Decoder with Skip Connections: The decoder is enhanced by incorporating skip connections that fuse features from different stages of the ResNet50 encoder. This "top-down" fusion strategy enriches the decoder's ability to utilize low-level features, bridging the gap between different levels of feature representation and improving segmentation accuracy.
  • Loss Function: The authors employ Focal Loss instead of standard Cross-Entropy loss. Focal Loss is designed to address class imbalance by down-weighting the loss for well-classified examples and focusing on hard-to-classify ones, which is relevant given the potential imbalance between cloud/snow and background classes.
  • Activation Function: The Exponential Linear Unit (ELU) is used as the activation function, chosen for its ability to accelerate network convergence and mitigate gradient vanishing issues.

Datasets

The paper introduces a new dataset and utilizes existing data for evaluation:

  • TH-1 Satellite Dataset:
    • A large dataset of 23,520 coarse-labeled images derived from TH-1 satellite imagery (RGB bands). These images were roughly labeled using Labelme.
  • A smaller subset of 310 fine-labeled images was also created, with more accurate edge markings (errors < 5 pixels). This dataset was used to study the impact of label quality.
  • Google Earth Images: Used for demonstrating the generalization capability of the proposed method across different sensors.

The TH-1 dataset was split into training, validation, and testing sets, with images being cut into patches of 480x360 pixels for training.

Key Insights and Ideas

  • Label Quantity Over Quality: The most striking finding is that for cloud and snow segmentation, the quantity of labels appears to be more critical than their strict quality. A larger dataset with rough labels can outperform a smaller dataset with fine labels, especially when considering equivalent labeling effort. This has significant implications for practical data annotation for remote sensing tasks.
  • Enhanced Decoder Effectiveness: The proposed decoder architecture, which fuses features from multiple encoder stages, significantly improves segmentation performance. This highlights the importance of effectively leveraging multi-scale features for detailed segmentation tasks.
  • ResNet50 as a Suitable Backbone: The choice of ResNet50 as the encoder backbone proves effective, offering a good balance between performance and computational efficiency compared to heavier alternatives like Xception.
  • Generalization Across Sensors: The ED-CNN model demonstrates good generalization capabilities, performing well on images from different sensors (TH-1 and Google Earth).

Key Results

  • Performance on TH-1 Dataset 1: The proposed ED-CNN achieved a Pixel Accuracy (PA) of 90.3% and a Mean Intersection over Union (MIoU) of 81.1% on the test set of 4798 images. This outperformed Xception (PA: 87.4%, MIoU: 76.9%), ResNet50 (PA: 89.2%, MIoU: 80.5%), and DANet (PA: 88.9%, MIoU: 80.3%).
  • Labeling Strategy Impact: Experiments on Dataset 2 showed that using 4660 rough-labeled images (Group 4) yielded better results (PA: 88.8%, MIoU: 79.4%) than using a combination of fewer rough-labeled images and a small number of fine-labeled images (e.g., Group 3: 2700 rough + 310 fine, PA: 87.2%, MIoU: 77.4%). This reinforces the quantity over quality finding.
  • Segmentation Speed: The ED-CNN achieved a segmentation time of 49.2 ms per 480x360 image, which is considered fast enough for practical preprocessing requirements.
  • Qualitative Results: Visual comparisons show that ED-CNN effectively segments clouds and snow, outperforming traditional Otsu methods and demonstrating better preservation of spatial details compared to Xception.

Limitations and Future Work

  • Further Improvement in Training Accuracy: The authors acknowledge that there is still room for improvement in achieving even higher training accuracy.
  • Transfer Learning: Exploring transfer learning with additional multisource RSIs is suggested as a future direction.
  • Distinguishing Mixed Regions: A key future research direction is to utilize multispectral information to better distinguish between cloud, fog, and snow in mixed regions, which is a known challenge.
  • Label Quality Research: Further research is needed to clarify the impact of label quality, including the pixel error of coarse labels and the effect of different error types and sizes on segmentation results.

Summary updated

BibTeX
@article{zheng2021cloud,
  author = {Kai Zheng and Jiansheng Li and Lei Ding and Jianfeng Yang and Xucheng Zhang and Xun Zhang},
  title = {{Cloud and Snow Segmentation in Satellite Images Using an Encoder-Decoder Deep Convolutional Neural Networks}},
  journal = {ISPRS Int. J. Geo Inf.},
  year = {2021},
  doi = {10.3390/ijgi10070462},
}
Figure