Beyond the SCL: threshold optimization of Cloud Probability and Cloud Score+ for cloud and shadow masking in Sentinel-2 imagery using CloudSEN12
Abstract
Cloud and cloud shadow contamination remains a major source of uncertainty in Sentinel-2 imagery. The native Scene Classification Layer (SCL) frequently exhibits high omission errors and offers no threshold flexibility, whereas Cloud Probability (CP) and Cloud Score+ (CS+) provide continuous, user-adjustable scores. However, no consensus exists on their optimal thresholds, and their capacity for joint cloud-and-shadow masking remains largely unquantified. This study identifies optimal masking thresholds (OMTs) for CP and the cs and cs_cdf bands of CS+, for both cloud-only (BCM) and joint cloud-and-shadow (BCSM) masking, and compares their performance against SCL. Using 3,994 high-quality CloudSEN12 patches split by region of interest and stratified by land cover, OMTs were determined on a training subset by maximizing median intersection over union (IoU) and evaluated on 804 independent test patches. The CP-BCM threshold (37.7) closely matched the algorithm’s recommended default, providing independent empirical validation. Across all six product-mask type combinations, cs_cdf-BCSM achieved the highest performance (OMT = 76.4, equivalent to 0.764 in the native 0–1 scale; F1-Score = 90.0%; IoU = 81.9%; balanced overall accuracy = 87.8%), confirmed as statistically significant by Friedman and Nemenyi tests. CS+ products improved substantially when transitioning from cloud-only to joint masking, whereas CP degraded and SCL recorded the lowest performance in both scenarios. These results proved robust across six independent data partitions and generalized consistently across ten land-cover classes. These findings provide reproducible threshold recommendations for cloud and cloud shadow masking in Sentinel-2 imagery, establishing cs_cdf as the most effective product for joint masking applications.
Related
- Threshold Sensitivity and Reference Uncertainty in Sentinel-1 Inundation Mapping: The July 2021 Mahad Flood
- Variable Masking for Climate Emulation in ACE
- Mapping Land Use Typologies During Fallow Periods in France Using Sentinel-1 and -2 Time-Series
- All-weather lake-ice phenology from Sentinel-1 and reanalysis thermodynamics: a validated, transferable method applied to 131 Adirondack lakes
- Spatio-Temporal Analysis of Urban Expansion in Awka and its Environs, Nigeria Using Sentinel-2 Satellite Imagery and Google Earth Engine (2021 to 2026)
BibTeX
@misc{cal2026beyond,
title = {{Beyond the SCL: threshold optimization of Cloud Probability and Cloud Score+ for cloud and shadow masking in Sentinel-2 imagery using CloudSEN12}},
author = {Adrián Cal and Guadalupe Tiscornia},
howpublished = {EarthArXiv},
year = {2026},
month = oct,
doi = {10.1080/01431161.2026.2747320},
url = {https://eartharxiv.org/repository/view/15798/},
note = {CC BY 4.0},
}
RIS
TY - UNPB
TI - Beyond the SCL: threshold optimization of Cloud Probability and Cloud Score+ for cloud and shadow masking in Sentinel-2 imagery using CloudSEN12
AU - Adrián Cal
AU - Guadalupe Tiscornia
PY - 2026
DA - 2026/10/27
PB - EarthArXiv
DO - 10.1080/01431161.2026.2747320
UR - https://eartharxiv.org/repository/view/15798/
AB - Cloud and cloud shadow contamination remains a major source of uncertainty in Sentinel-2 imagery. The native Scene Classification Layer (SCL) frequently exhibits high omission errors and offers no threshold flexibility, whereas Cloud Probability (CP) and Cloud Score+ (CS+) provide continuous, user-adjustable scores. However, no consensus exists on their optimal thresholds, and their capacity for joint cloud-and-shadow masking remains largely unquantified. This study identifies optimal masking thresholds (OMTs) for CP and the cs and cs_cdf bands of CS+, for both cloud-only (BCM) and joint cloud-and-shadow (BCSM) masking, and compares their performance against SCL. Using 3,994 high-quality CloudSEN12 patches split by region of interest and stratified by land cover, OMTs were determined on a training subset by maximizing median intersection over union (IoU) and evaluated on 804 independent test patches. The CP-BCM threshold (37.7) closely matched the algorithm’s recommended default, providing independent empirical validation. Across all six product-mask type combinations, cs_cdf-BCSM achieved the highest performance (OMT = 76.4, equivalent to 0.764 in the native 0–1 scale; F1-Score = 90.0%; IoU = 81.9%; balanced overall accuracy = 87.8%), confirmed as statistically significant by Friedman and Nemenyi tests. CS+ products improved substantially when transitioning from cloud-only to joint masking, whereas CP degraded and SCL recorded the lowest performance in both scenarios. These results proved robust across six independent data partitions and generalized consistently across ten land-cover classes. These findings provide reproducible threshold recommendations for cloud and cloud shadow masking in Sentinel-2 imagery, establishing cs_cdf as the most effective product for joint masking applications.
ER -