Introduction
Cloud detection is a fundamental preprocessing step in remote sensing. Accurate cloud masking is essential for downstream applications such as land-use monitoring and geological exploration. However, traditional pixel-level analysis often struggles with "noisy" results and fails to distinguish clouds from bright man-made structures, such as white buildings, which share similar spectral signatures. Furthermore, standard deep learning models often prioritize high-level semantic features, which can lead to the loss of low-level color and texture information vital for identifying amorphous objects like clouds.
To address these challenges, this research proposes a structural super-pixel approach that combines a Hierarchical Fusion CNN (HFCNN) with a Deep Forest model and a novel refinement metric.
Methodology
The proposed framework operates in three distinct phases, moving from raw imagery to a refined binary cloud mask.
Phase I: Precise Segmentation
The first phase involves segmenting the image into super-pixels—clusters of pixels with similar characteristics. Unlike simple grid-based division, the authors utilize Structured Forests for edge detection in conjunction with SLIC and SEEDS algorithms. This ensures that the super-pixel boundaries align precisely with the physical edges of clouds and ground objects, preserving structural integrity.
Phase II: Dual-Model Classification
The system employs an ensemble of two distinct models to classify each super-pixel:
- Hierarchical Fusion CNN (HFCNN): This modified CIFAR-10 architecture uses skip connections to upsample and concatenate features from early convolutional layers (Conv1 and Conv2) with deeper layers. This fusion prevents the network from discarding the low-level color and texture details necessary for cloud identification.
- Deep Forest: Serving as a non-neural alternative, the Deep Forest model uses multi-grained scanning and a cascade of random forests. It provides a complementary perspective to the CNN, requiring fewer hyperparameters and enhancing overall robustness.
Phase III: Distance Metric Refinement
To resolve ambiguities between thin cirrus clouds and bright buildings, a cosine similarity-based distance metric was developed. This refinement step evaluates the mathematical similarity of a super-pixel to its neighbors. For instance, if a super-pixel is initially classified as "cirrus" but is surrounded by "thick cloud" features, it is reclassified to ensure spatial and semantic cohesion in the final mask.
Datasets and Training
The models were trained on a custom super-pixel database derived from GF-1 remote sensing imagery. The dataset comprises 2,800 super-pixels, each resized to 32x32 pixels. To improve the model's ability to distinguish clouds from look-alikes, the data was labeled into four categories: Thick Cloud, Cirrus Cloud, Building, and Other Culture (vegetation/ground). This multi-class approach is specifically designed to mitigate the "white building" problem.
Key Insights
- Feature Fusion: In cloud detection, low-level features like texture are not noise but essential signals. The HFCNN’s architecture specifically preserves these features.
- Ensemble Strategy: Combining CNNs with Deep Forests leverages different mathematical strengths, leading to more reliable classification.
- Contextual Refinement: Clouds are rarely isolated. Incorporating neighborhood context through the distance metric mimics human visual analysis and corrects local misclassifications.
Results
The proposed method was evaluated against several baselines, including Near-Infrared (NIR) thresholding and GraphCut.
- Accuracy: The method consistently achieved F-measures between 0.95 and 0.99, outperforming traditional techniques.
- Robustness: While NIR thresholding often suffered from low recall (missing many clouds), the proposed pipeline maintained high precision and recall simultaneously.
- Visual Fidelity: The resulting binary masks exhibit clean boundaries and a significant reduction in false positives from urban structures.
Conclusion and Future Work
This research demonstrates that a super-pixel-based hierarchical fusion approach significantly improves cloud detection accuracy in high-resolution satellite imagery. Future work will focus on automating the labeling process for the super-pixel database and exploring shape-adaptive super-pixels to better capture the irregular edges of wispy clouds. Additionally, optimizing the computational efficiency of the dual-model ensemble remains a priority for real-time applications.
Summary updated