Announcement: All noncommercial projects registered to use Earth Engine before
April 15, 2025 must
verify noncommercial eligibility to maintain Earth Engine access.
ee.Algorithms.Sentinel2.CDI
Stay organized with collections
Save and categorize content based on your preferences.
Computes the Cloud Displacement Index (CDI) from a Sentinel-2 Level 1C image. CDI is a measure of the optical separation in elevated objects due to sensor parallax. Returns a floating point band named "cdi".
See Frantz, D., Hass, E., Uhl, A., Stoffels, J., & Hill, J. (2018). Improvement of the Fmask algorithm for Sentinel-2 images: Separating clouds from bright surfaces based on parallax effects. Remote sensing of environment, 215, 471-481.
Usage | Returns | ee.Algorithms.Sentinel2.CDI(source) | Image |
Argument | Type | Details | source | Image | The source image. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-10-06 UTC.
[null,null,["Last updated 2023-10-06 UTC."],[[["\u003cp\u003eCalculates the Cloud Displacement Index (CDI) from a Sentinel-2 Level 1C image to measure the optical separation in elevated objects.\u003c/p\u003e\n"],["\u003cp\u003eCDI leverages sensor parallax to distinguish clouds from bright surfaces, improving the accuracy of cloud detection.\u003c/p\u003e\n"],["\u003cp\u003eThe algorithm returns a single-band image named "cdi" representing the calculated Cloud Displacement Index values.\u003c/p\u003e\n"],["\u003cp\u003eBased on the research and findings presented in Frantz et al.(2018), it enhances the Fmask algorithm for Sentinel-2 cloud masking.\u003c/p\u003e\n"]]],[],null,["# ee.Algorithms.Sentinel2.CDI\n\nComputes the Cloud Displacement Index (CDI) from a Sentinel-2 Level 1C image. CDI is a measure of the optical separation in elevated objects due to sensor parallax. Returns a floating point band named \"cdi\".\n\n\u003cbr /\u003e\n\nSee Frantz, D., Hass, E., Uhl, A., Stoffels, J., \\& Hill, J. (2018). Improvement of the Fmask algorithm for Sentinel-2 images: Separating clouds from bright surfaces based on parallax effects. Remote sensing of environment, 215, 471-481.\n\n| Usage | Returns |\n|---------------------------------------|---------|\n| `ee.Algorithms.Sentinel2.CDI(source)` | Image |\n\n| Argument | Type | Details |\n|----------|-------|-------------------|\n| `source` | Image | The source image. |"]]