2,062
Views
9
CrossRef citations to date
0
Altmetric
Research Article

Cloud detection using sentinel 2 imageries: a comparison of XGBoost, RF, SVM, and CNN algorithms

, ORCID Icon &
Pages 1-32 | Received 18 May 2022, Accepted 05 Nov 2022, Published online: 27 Nov 2022

Figures & data

Figure 1. Process of texture feature extraction.

Figure 1. Process of texture feature extraction.

Table 1. Combination of texture features of Sentinel-2.

Figure 2. Process of deep feature extraction.

Figure 2. Process of deep feature extraction.

Table 2. Setup of considered Residual Network (Resnet).

Table 3. Manual Cloud Mask Description of Baetens-Hagolle Sentinel-2 dataset.

Table 4. Spectral Band Information of Sentinel 2.

Figure 3. Process of cloud detection (mask).

Figure 3. Process of cloud detection (mask).

Table 6. Results of XGBoost, RF and SVM classifiers using Baetens-Hagolle dataset. The best input feature combination is highlighted for all three classifiers.

Table 7. Numerical results of considered cloud detection methods for Baetens-Hagolle dataset.

Table 8. Conversion of multiple classes to binary classes for cloud detection.

Table 9. Numerical results of considered cloud detection methods for Baetens-Hagolle dataset.

Table 10. Numerical results of considered cloud detection methods for WHUS2-CD dataset.

Table 5. Description of Baetens-Hagolle Sentinel-2 dataset.

Figure 4. Color code for cloud mask.

Figure 4. Color code for cloud mask.

Figure 5. Railroad Valley (USA) (a) True Color image, (b) Manual reference mask, generated cloud mask by: (c) RF with traditional texture features (d) RF with deep features (e) XGBoost with traditional texture features (f) XGBoost with deep features, (g) SVM with traditional texture features, and (h) SVM with deep features.

Figure 5. Railroad Valley (USA) (a) True Color image, (b) Manual reference mask, generated cloud mask by: (c) RF with traditional texture features (d) RF with deep features (e) XGBoost with traditional texture features (f) XGBoost with deep features, (g) SVM with traditional texture features, and (h) SVM with deep features.

Figure 6. Alta Floresta (Brazil) (a) True Color image, (b) Manual reference mask, generated cloud mask by: (c) RF with traditional texture features (d) RF with deep features (e) XGBoost with traditional texture features (f) XGBoost with deep features, (g) SVM with traditional texture features, and (h) SVM with deep features.

Figure 6. Alta Floresta (Brazil) (a) True Color image, (b) Manual reference mask, generated cloud mask by: (c) RF with traditional texture features (d) RF with deep features (e) XGBoost with traditional texture features (f) XGBoost with deep features, (g) SVM with traditional texture features, and (h) SVM with deep features.

Figure 7. Alta Floresta (Brazil) (a) True Color image, (b) Manual reference mask, generated cloud mask by: (c) RF with traditional texture features (d) RF with deep features (e) XGBoost with traditional texture features (f) XGBoost with deep features, (g) SVM with traditional texture features, and (h) SVM with deep features.

Figure 7. Alta Floresta (Brazil) (a) True Color image, (b) Manual reference mask, generated cloud mask by: (c) RF with traditional texture features (d) RF with deep features (e) XGBoost with traditional texture features (f) XGBoost with deep features, (g) SVM with traditional texture features, and (h) SVM with deep features.

Figure 8. Marrakech (Morocco) (a) True Color image, (b) Manual reference mask, generated cloud mask by: (c) RF with traditional texture features (d) RF with deep features (e) XGBoost with traditional texture features (f) XGBoost with deep features, (g) SVM with traditional texture features, and (h) SVM with deep features.

Figure 8. Marrakech (Morocco) (a) True Color image, (b) Manual reference mask, generated cloud mask by: (c) RF with traditional texture features (d) RF with deep features (e) XGBoost with traditional texture features (f) XGBoost with deep features, (g) SVM with traditional texture features, and (h) SVM with deep features.

Figure 9. Arles (France) (a) True Color image, (b) Manual reference mask, generated cloud mask by: (c) RF with traditional texture features (d) RF with deep features (e) XGBoost with traditional texture features (f) XGBoost with deep features, (g) SVM with traditional texture features, and (h) SVM with deep features.

Figure 9. Arles (France) (a) True Color image, (b) Manual reference mask, generated cloud mask by: (c) RF with traditional texture features (d) RF with deep features (e) XGBoost with traditional texture features (f) XGBoost with deep features, (g) SVM with traditional texture features, and (h) SVM with deep features.

Figure 10. Orleans (France) (a) True Color image, (b)Manual reference mask, generated cloud mask by: (c) RF with traditional texture features (d) RF with deep features (e) XGBoost with traditional texture features (f) XGBoost with deep features, (g) SVM with traditional texture features, and (h) SVM with deep features.

Figure 10. Orleans (France) (a) True Color image, (b)Manual reference mask, generated cloud mask by: (c) RF with traditional texture features (d) RF with deep features (e) XGBoost with traditional texture features (f) XGBoost with deep features, (g) SVM with traditional texture features, and (h) SVM with deep features.

Figure 11. Ispra (Italy) (a) True Color image, (b) Manual reference mask, generated cloud mask by: (c) RF with traditional texture features (d) RF with deep features (e) XGBoost with traditional texture features (f) XGBoost with deep features, (g) SVM with traditional texture features, and (h) SVM with deep features.

Figure 11. Ispra (Italy) (a) True Color image, (b) Manual reference mask, generated cloud mask by: (c) RF with traditional texture features (d) RF with deep features (e) XGBoost with traditional texture features (f) XGBoost with deep features, (g) SVM with traditional texture features, and (h) SVM with deep features.

Figure 12. Gobabeb (Namibia) (a) True Color image, (b) Manual reference mask, generated cloud mask by: (c) RF with traditional texture features (d) RF with deep features (e) XGBoost with traditional texture features (f) XGBoost with deep features, (g) SVM with traditional texture features, and (h) SVM with deep features.

Figure 12. Gobabeb (Namibia) (a) True Color image, (b) Manual reference mask, generated cloud mask by: (c) RF with traditional texture features (d) RF with deep features (e) XGBoost with traditional texture features (f) XGBoost with deep features, (g) SVM with traditional texture features, and (h) SVM with deep features.

Figure 13. Mongu (Zambia) (a) True Color image, (b) Manual reference mask, generated cloud mask by: (c) RF with traditional texture features (d) RF with deep features (e) XGBoost with traditional texture features (f) XGBoost with deep features, (g) SVM with traditional texture features, and (h) SVM with deep features.

Figure 13. Mongu (Zambia) (a) True Color image, (b) Manual reference mask, generated cloud mask by: (c) RF with traditional texture features (d) RF with deep features (e) XGBoost with traditional texture features (f) XGBoost with deep features, (g) SVM with traditional texture features, and (h) SVM with deep features.

Figure 14. Pretoria (South Africa) (a) True Color image, (b) Manual reference mask, generated cloud mask by: (c) RF with traditional texture features (d) RF with deep features (e) XGBoost with traditional texture features (f) XGBoost with deep features, (g) SVM with traditional texture features, and (h) SVM with deep features.

Figure 14. Pretoria (South Africa) (a) True Color image, (b) Manual reference mask, generated cloud mask by: (c) RF with traditional texture features (d) RF with deep features (e) XGBoost with traditional texture features (f) XGBoost with deep features, (g) SVM with traditional texture features, and (h) SVM with deep features.

Figure 15. Munich (Germany) (a) True Color image, (b) Manual reference mask, generated cloud mask by: (c) RF with traditional texture features (d) RF with deep features (e) XGBoost with traditional texture features (f) XGBoost with deep features, (g) SVM with traditional texture features, and (h) SVM with deep features.

Figure 15. Munich (Germany) (a) True Color image, (b) Manual reference mask, generated cloud mask by: (c) RF with traditional texture features (d) RF with deep features (e) XGBoost with traditional texture features (f) XGBoost with deep features, (g) SVM with traditional texture features, and (h) SVM with deep features.

Figure 16. Munich (Germany) (a) True Color image, (b) Manual reference mask, generated cloud mask by: (c) RF with traditional texture features (d) RF with deep features (e) XGBoost with traditional texture features (f) XGBoost with deep features, (g) SVM with traditional texture features, and (h) SVM with deep features.

Figure 16. Munich (Germany) (a) True Color image, (b) Manual reference mask, generated cloud mask by: (c) RF with traditional texture features (d) RF with deep features (e) XGBoost with traditional texture features (f) XGBoost with deep features, (g) SVM with traditional texture features, and (h) SVM with deep features.

Table 11. Numerical results of considered cloud detection methods for WHUS2-CD dataset.

Figure 17. Zhanjiang (China) (a) True Color image, (b) Manual reference mask, generated cloud mask by: (c) RF with traditional texture features (d) RF with deep features (e) XGBoost with traditional texture features (f) XGBoost with deep features, (g) SVM with traditional texture features, and (h) SVM with deep features, (i) Resnet, and (j) CD-FM3SF-4.

Figure 17. Zhanjiang (China) (a) True Color image, (b) Manual reference mask, generated cloud mask by: (c) RF with traditional texture features (d) RF with deep features (e) XGBoost with traditional texture features (f) XGBoost with deep features, (g) SVM with traditional texture features, and (h) SVM with deep features, (i) Resnet, and (j) CD-FM3SF-4.

Figure 18. Changzhou and Wuxi (China) (a) True Color image, (b) Manual reference mask, generated cloud mask by: (c) RF with traditional texture features (d) RF with deep features (e) XGBoost with traditional texture features (f) XGBoost with deep features, (g) SVM with traditional texture features, and (h) SVM with deep features, (i) Resnet, and (j) CD-FM3SF-4.

Figure 18. Changzhou and Wuxi (China) (a) True Color image, (b) Manual reference mask, generated cloud mask by: (c) RF with traditional texture features (d) RF with deep features (e) XGBoost with traditional texture features (f) XGBoost with deep features, (g) SVM with traditional texture features, and (h) SVM with deep features, (i) Resnet, and (j) CD-FM3SF-4.

Figure 19. Linshui (China) (a) True Color image, (b) Manual reference mask, generated cloud mask by: (c) RF with traditional texture features (d) RF with deep features (e) XGBoost with traditional texture features (f) XGBoost with deep features, (g) SVM with traditional texture features, and (h) SVM with deep features, (i) Resnet, and (j) CD-FM3SF-4.

Figure 19. Linshui (China) (a) True Color image, (b) Manual reference mask, generated cloud mask by: (c) RF with traditional texture features (d) RF with deep features (e) XGBoost with traditional texture features (f) XGBoost with deep features, (g) SVM with traditional texture features, and (h) SVM with deep features, (i) Resnet, and (j) CD-FM3SF-4.

Figure 20. Yilan (China) (a) True Color image, (b) Manual reference mask, generated cloud mask by: (c) RF with traditional texture features (d) RF with deep features (e) XGBoost with traditional texture features (f) XGBoost with deep features, (g) SVM with traditional texture features, and (h) SVM with deep features, (i) Resnet, and (j) CD-FM3SF-4.

Figure 20. Yilan (China) (a) True Color image, (b) Manual reference mask, generated cloud mask by: (c) RF with traditional texture features (d) RF with deep features (e) XGBoost with traditional texture features (f) XGBoost with deep features, (g) SVM with traditional texture features, and (h) SVM with deep features, (i) Resnet, and (j) CD-FM3SF-4.

Figure 21. Baotou (China) (a) True Color image, (b) Manual reference mask, generated cloud mask by: (c) RF with traditional texture features (d) RF with deep features (e) XGBoost with traditional texture features (f) XGBoost with deep features, (g) SVM with traditional texture features, and (h) SVM with deep features, (i) Resnet, and (j) CD-FM3SF-4.

Figure 21. Baotou (China) (a) True Color image, (b) Manual reference mask, generated cloud mask by: (c) RF with traditional texture features (d) RF with deep features (e) XGBoost with traditional texture features (f) XGBoost with deep features, (g) SVM with traditional texture features, and (h) SVM with deep features, (i) Resnet, and (j) CD-FM3SF-4.

Figure 22. Altay (China) (a) True Color image, (b) Manual reference mask, generated cloud mask by: (c) RF with traditional texture features (d) RF with deep features (e) XGBoost with traditional texture features (f) XGBoost with deep features, (g) SVM with traditional texture features, and (h) SVM with deep features, (i) Resnet, and (j) CD-FM3SF-4.

Figure 22. Altay (China) (a) True Color image, (b) Manual reference mask, generated cloud mask by: (c) RF with traditional texture features (d) RF with deep features (e) XGBoost with traditional texture features (f) XGBoost with deep features, (g) SVM with traditional texture features, and (h) SVM with deep features, (i) Resnet, and (j) CD-FM3SF-4.

Figure 23. Tibet (a) True Color image, (b) Manual reference mask, generated cloud mask by: (c) RF with traditional texture features (d) RF with deep features (e) XGBoost with traditional texture features (f) XGBoost with deep features, (g) SVM with traditional texture features, and (h) SVM with deep features, (i) Resnet, and (j) CD-FM3SF-4.

Figure 23. Tibet (a) True Color image, (b) Manual reference mask, generated cloud mask by: (c) RF with traditional texture features (d) RF with deep features (e) XGBoost with traditional texture features (f) XGBoost with deep features, (g) SVM with traditional texture features, and (h) SVM with deep features, (i) Resnet, and (j) CD-FM3SF-4.

Figure 24. Tibet (a) True Color image, (b) Manual reference mask, generated cloud mask by: (c) RF with traditional texture features (d) RF with deep features (e) XGBoost with traditional texture features (f) XGBoost with deep features, (g) SVM with traditional texture features, and (h) SVM with deep features, (i) Resnet, and (j) CD-FM3SF-4.

Figure 24. Tibet (a) True Color image, (b) Manual reference mask, generated cloud mask by: (c) RF with traditional texture features (d) RF with deep features (e) XGBoost with traditional texture features (f) XGBoost with deep features, (g) SVM with traditional texture features, and (h) SVM with deep features, (i) Resnet, and (j) CD-FM3SF-4.