很多时候我们多是对影像集合进行去云分析,所以当我们面对单景影像应该如何进行去云分析,这里我们分别对三种sentinel2影像进行去云分析,因为影像分辨率高的缘故,所以这里并不展示去云后的影像,而是通过导出到assets中,然后再进行加载是最好的结果:
这里函数:
ee.Algorithms.Sentinel2.CDI(source)
从Sentinel-2级1C图像计算云位移索引(CDI)。 CDI是由于传感器视差引起的高架物体中光学分离的度量。 返回一个名为“ CDI”的浮点乐队。
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.
Arguments:
source (Image):
The source image.