在地球引擎(Google Earth Engine)中,去除云影响是遥感图像处理中的常见任务之一。本教程将详细介绍两种常用的去云方法:ee.Algorithms.Landsat.simpleComposite方法和QA掩位码方法。我们将提供相应的源代码来帮助您理解和实践这两种方法。
- ee.Algorithms.Landsat.simpleComposite去云方法
ee.Algorithms.Landsat.simpleComposite方法是地球引擎提供的一种简单而有效的去云方法。它利用多个Landsat系列遥感影像的波段信息来生成一幅无云的合成图像。
以下是使用ee.Algorithms.Landsat.simpleComposite方法进行去云的示例代码:
// 选择Landsat 8影像集
var collection = ee.ImageCollection('LANDSAT/LC08/C01/T1_TOA')
.filterDate(