{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,3,20]],"date-time":"2026-03-20T12:13:42Z","timestamp":1774008822874,"version":"3.50.1"},"reference-count":26,"publisher":"MDPI AG","issue":"16","license":[{"start":{"date-parts":[[2023,8,10]],"date-time":"2023-08-10T00:00:00Z","timestamp":1691625600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"name":"Natural Sciences and Engineering Research Council"},{"name":"University of Calgary"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Remote Sensing"],"abstract":"<jats:p>Analysis of aerial images provided by satellites enables continuous monitoring and is a central component of many applications, including precision farming. Nonetheless, this analysis is often impeded by the presence of clouds and cloud shadows, which obscure the underlying region of interest and introduce incorrect values that bias analysis. In this paper, we outline a method for cloud shadow detection, and demonstrate our method using Canadian farmland data obtained from the Sentinel-2 satellite. Our approach builds on other object-based cloud and cloud shadow detection methods that generate preliminary shadow candidate masks which are refined by matching clouds to their respective shadows. We improve on these components by using ray-casting and inverse texture mapping methods to quickly identify cloud shadows, allowing for the immediate removal of false positives during image processing. Leveraging our ray-casting-based approach, we further improve our results by implementing a probability analysis based on the cloud probability layer provided by the Sentinel-2 satellite to account for missed shadow pixels. An evaluation of our method using the average producer (82.82%) and user accuracy (75.55%) both show a marked improvement over the performance of other object-based methods. Methodologically, our work demonstrates how incorporating probability analysis as a post-processing step can improve the generation of shadow masks.<\/jats:p>","DOI":"10.3390\/rs15163955","type":"journal-article","created":{"date-parts":[[2023,8,10]],"date-time":"2023-08-10T10:24:47Z","timestamp":1691663087000},"page":"3955","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":7,"title":["Cloud Shadow Detection via Ray Casting with Probability Analysis Refinement Using Sentinel-2 Satellite Data"],"prefix":"10.3390","volume":"15","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-1291-3638","authenticated-orcid":false,"given":"Jeffrey C.","family":"Layton","sequence":"first","affiliation":[{"name":"Department of Computer Science, University of Calgary, Calgary, AB T2N 1N4, Canada"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-5253-7238","authenticated-orcid":false,"given":"Lakin","family":"Wecker","sequence":"additional","affiliation":[{"name":"Department of Computer Science, University of Calgary, Calgary, AB T2N 1N4, Canada"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-7758-7423","authenticated-orcid":false,"given":"Adam","family":"Runions","sequence":"additional","affiliation":[{"name":"Department of Computer Science, University of Calgary, Calgary, AB T2N 1N4, Canada"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-9440-7562","authenticated-orcid":false,"given":"Faramarz F.","family":"Samavati","sequence":"additional","affiliation":[{"name":"Department of Computer Science, University of Calgary, Calgary, AB T2N 1N4, Canada"}]}],"member":"1968","published-online":{"date-parts":[[2023,8,10]]},"reference":[{"key":"ref_1","unstructured":"Hedengren, J.D. (2022, September 19). Lagrange Multipliers and their Applications. Available online: http:\/\/sces.phys.utk.edu\/~moreo\/mm08\/method_HLi.pdf."},{"key":"ref_2","unstructured":"(2022, August 08). What Is Remote Sensing and What Is It Used for?, Available online: https:\/\/www.usgs.gov\/faqs\/what-remote-sensing-and-what-it-used."},{"key":"ref_3","unstructured":"Shahbandeh, M. (2021, September 20). Provincial Crop Production GDP Canada 2020. Available online: https:\/\/www.statista.com\/statistics\/858240\/provincial-crop-production-gdp-canada\/."},{"key":"ref_4","unstructured":"Ravensberg, S. (2022, August 16). GIS in Agriculture. Available online: https:\/\/www.integratesustainability.com.au\/2018\/11\/23\/gis-in-agriculture\/."},{"key":"ref_5","unstructured":"Lenhardt, J., and Xu, H. (2022, December 17). Clean up Your Landsat Imagery: Removing Cloud and Cloud Shadow. Available online: https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/imagery\/clean-up-your-landsat-imagery-removing-cloud-and-cloud-shadow\/."},{"key":"ref_6","doi-asserted-by":"crossref","first-page":"7207","DOI":"10.1029\/2018JD029960","article-title":"Detection and Removal of Clouds and Associated Shadows in Satellite Imagery Based on Simulated Radiance Fields","volume":"124","author":"Wang","year":"2019","journal-title":"J. Geophys. Res. Atmos."},{"key":"ref_7","doi-asserted-by":"crossref","unstructured":"Ibrahim, E., Jiang, J., Lema V\u00e9lez, L., Barnab\u00e9, P., Giuliani, G., Lacroix, P., and Pirard, E. (2021). Cloud and Cloud-Shadow Detection for Applications in Mapping Small-Scale Mining in Colombia Using Sentinel-2 Imagery. Remote Sens., 13.","DOI":"10.3390\/rs13040736"},{"key":"ref_8","doi-asserted-by":"crossref","first-page":"803004","DOI":"10.1117\/12.887761","article-title":"Automated Detection and Removal of Cloud Shadows on HICO Images","volume":"8030","author":"Gould","year":"2011","journal-title":"Proc. SPIE"},{"key":"ref_9","doi-asserted-by":"crossref","first-page":"1540","DOI":"10.1080\/01431161.2012.720045","article-title":"Automated cloud and shadow detection and filling using two-date Landsat imagery in the USA","volume":"34","author":"Jin","year":"2013","journal-title":"Int. J. Remote Sens."},{"key":"ref_10","doi-asserted-by":"crossref","first-page":"307","DOI":"10.1016\/j.rse.2019.03.007","article-title":"Cloud and cloud shadow detection in Landsat imagery based on deep convolutional neural networks","volume":"225","author":"Chai","year":"2019","journal-title":"Remote Sens. Environ."},{"key":"ref_11","doi-asserted-by":"crossref","first-page":"83","DOI":"10.1016\/j.rse.2011.10.028","article-title":"Object-based cloud and cloud shadow detection in Landsat imagery","volume":"118","author":"Zhu","year":"2012","journal-title":"Remote Sens. Environ."},{"key":"ref_12","doi-asserted-by":"crossref","first-page":"217","DOI":"10.1016\/j.rse.2014.06.012","article-title":"Automated cloud, cloud shadow, and snow detection in multitemporal Landsat data: An algorithm designed specifically for monitoring land cover change","volume":"152","author":"Zhu","year":"2014","journal-title":"Remote Sens. Environ."},{"key":"ref_13","doi-asserted-by":"crossref","first-page":"269","DOI":"10.1016\/j.rse.2014.12.014","article-title":"Improvement and expansion of the Fmask algorithm: Cloud, cloud shadow, and snow detection for Landsats 4\u20137, 8, and Sentinel 2 images","volume":"159","author":"Zhu","year":"2015","journal-title":"Remote Sens. Environ."},{"key":"ref_14","unstructured":"Haines, E. (1989). An Introduction to Ray Tracing, Academic Press Ltd."},{"key":"ref_15","first-page":"10427","article-title":"Sen2Cor for Sentinel-2","volume":"3","author":"Pflug","year":"2017","journal-title":"Proc. SPIE"},{"key":"ref_16","unstructured":"Zupanc, A. (2023, July 26). Improving Cloud Detection with Machine Learning. Available online: https:\/\/medium.com\/sentinel-hub\/improving-cloud-detection-with-machine-learning-c09dc5d7cf13."},{"key":"ref_17","doi-asserted-by":"crossref","first-page":"89","DOI":"10.1016\/j.isprsjprs.2022.03.020","article-title":"Cloud and cloud shadow detection for optical satellite imagery: Features, algorithms, validation, and prospects","volume":"188","author":"Li","year":"2022","journal-title":"ISPRS J. Photogramm. Remote Sens."},{"key":"ref_18","unstructured":"Stewart, M. (2021, September 12). The Limitations of Machine Learning. Available online: https:\/\/towardsdatascience.com\/the-limitations-of-machine-learning-a00e0c3040c6."},{"key":"ref_19","unstructured":"(2023, July 24). Sentinel-2 L2A. Available online: https:\/\/docs.sentinel-hub.com\/api\/latest\/data\/sentinel-2-l2a\/."},{"key":"ref_20","unstructured":"(2021, August 24). Sentinal 2 Cloud Masks. Available online: https:\/\/docs.sentinel-hub.com\/api\/latest\/user-guides\/cloud-masks\/."},{"key":"ref_21","unstructured":"Erickson, J. (2019). Algorithms, Independently Published."},{"key":"ref_22","doi-asserted-by":"crossref","unstructured":"Soille, P., Vogt, J., and Colombo, R. (2003). Carving and Adaptive Drainage Enforcement of Grid Digital Elevation Models. Water Resour. Res., 39.","DOI":"10.1029\/2002WR001879"},{"key":"ref_23","unstructured":"Li, H. (2021, September 28). How Many Satellites Are Orbiting the Earth in 2021?. Available online: https:\/\/www.geospatialworld.net\/blogs\/how-many-satellites-are-orbiting-the-earth-in-2021\/."},{"key":"ref_24","doi-asserted-by":"crossref","first-page":"171","DOI":"10.1016\/j.vrih.2020.12.004","article-title":"Cumulus cloud modeling from images based on VAE-GAN","volume":"3","author":"Zhang","year":"2021","journal-title":"Virtual Real. Intell. Hardw."},{"key":"ref_25","doi-asserted-by":"crossref","first-page":"2083","DOI":"10.1111\/j.1467-8659.2010.01795.x","article-title":"Modeling of Clouds from a Single Photograph","volume":"29","author":"Dobashi","year":"2010","journal-title":"Comput. Graph. Forum"},{"key":"ref_26","unstructured":"Kr\u00fcger, A., and Olivier, P. (2010, January 24\u201326). Sketch Based Volumetric Clouds. Proceedings of the Smart Graphics, 10th International Symposium on Smart Graphics, Banff, AL, Canada."}],"container-title":["Remote Sensing"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/2072-4292\/15\/16\/3955\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,10]],"date-time":"2025-10-10T20:30:04Z","timestamp":1760128204000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/2072-4292\/15\/16\/3955"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2023,8,10]]},"references-count":26,"journal-issue":{"issue":"16","published-online":{"date-parts":[[2023,8]]}},"alternative-id":["rs15163955"],"URL":"https:\/\/doi.org\/10.3390\/rs15163955","relation":{},"ISSN":["2072-4292"],"issn-type":[{"value":"2072-4292","type":"electronic"}],"subject":[],"published":{"date-parts":[[2023,8,10]]}}}