公告:所有在
2025 年 4 月 15 日之前注册使用 Earth Engine 的非商业项目都必须
验证是否符合非商业性质的资格条件,才能继续使用 Earth Engine。
ee.Algorithms.Landsat.simpleComposite
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
根据一组原始 Landsat 场景计算 Landsat TOA 复合。该函数会应用标准 TOA 校正,然后使用 SimpleLandsatCloudScore 算法为每个像素分配云得分。它会选择每个点上尽可能低的云得分范围,然后根据接受的像素计算每个波段的百分位数值。此算法还使用 LandsatPathRowLimit 算法,仅选择有超过 maxDepth 输入场景的区域中云量最少的场景。
用法 | 返回 |
---|
ee.Algorithms.Landsat.simpleComposite(collection, percentile, cloudScoreRange, maxDepth, asFloat) | 图片 |
参数 | 类型 | 详细信息 |
---|
collection | ImageCollection | 要合成的原始 Landsat ImageCollection。 |
percentile | 整数,默认值:50 | 合成每个波段时要使用的百分位数值。 |
cloudScoreRange | 整数,默认值:10 | 每个像素可接受的云得分范围的大小。 |
maxDepth | 整数,默认值:40 | 用于计算每个像素的场景数量的大致上限。 |
asFloat | 布尔值,默认值:false | 如果为 true,则输出波段的单位与 Landsat.TOA 算法的单位相同;如果为 false,则通过乘以 255(反射波段)或减去 100(热波段)并将结果舍入到最接近的整数,将 TOA 值转换为 uint8。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[],["The algorithm creates a Landsat TOA composite from raw scenes. It calibrates TOA, assigns cloud scores per pixel using SimpleLandsatCloudScore, and selects the lowest cloud score range at each point. It then calculates per-band percentile values from these pixels. The LandsatPathRowLimit algorithm ensures only the least-cloudy scenes are selected when more than `maxDepth` scenes are present. Users specify the raw collection, percentile, cloud score range, scene depth, and whether to output as floats.\n"],null,[]]