Hybrid Cloud Segmentation Approach Combining YOLOv8 Instance Segmentation with HSV Thresholding for Multi-Site Assessment
Accurate cloud segmentation from ground-based fisheye camera imagery is essential for solar irradiance forecasting and photovoltaic system optimization. Traditional computer vision approaches, such as HSV thresholding and K-means clustering, face significant limitations when applied globally to sky images due to the spectral similarity between cloud regions and sky areas under varying atmospheric conditions. This study presents a hybrid methodology that leverages YOLOv8 instance segmentation to provide contextual cloud regions followed by refined HSV thresholding within these detected areas. The approach incorporates solar trajectory modeling using pvlib for accurate sun disk detection and exclusion, preventing false cloud classification. The methodology was developed and validated at the CIESOL using Mobotix Q71 fisheye cameras, and later tested in Antofagasta (Chile) and Huelva (Spain). The YOLOv8l-seg model achieved a mask precision of 0.821 and box [email protected] of 0.680 on validation data. The results show a promising correlation with radiometric measurements such as clearness index kt and diffuse fraction kd in preliminary validation cases. While YOLOv8 demonstrates good cross-site generalization, HSV thresholding requires camera-specific calibration for optimal performance. The method addresses the context-dependency limitations of traditional algorithms, though computational performance and broader validation remain areas for future work.
Authors
- Gabriel López (ORCID: https://orcid.org/0000-0003-0117-6713)
- Mauricio Trigo-González (ORCID: https://orcid.org/0000-0002-0207-173X)
- Joaquín Alonso-Montesinos (ORCID: https://orcid.org/0000-0002-0902-5680)
- Enrique García-Campos
- Augustin Alexandru Besu (ORCID: https://orcid.org/0009-0004-6593-1225)
Institutions
- Universidad de Antofagasta (CL)
- University of Almería (ES)
- Universidad de Huelva (ES)
Publication Details
- Journal
- Remote Sensing
- Published
- 2026-08-24
- DOI
- https://doi.org/10.3390/rs18172869
- Primary Topic
- Solar Radiation and Photovoltaics
- Type
- article
- Field-Weighted Citation Impact
- 0.00