公告:所有在
2025 年 4 月 15 日之前注册使用 Earth Engine 的非商业项目都必须
验证是否符合非商业性质的资格条件,才能继续使用 Earth Engine。
ee.Algorithms.FMask.matchClouds
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
运行 FMask 云和阴影匹配。输出包含计算出的云和阴影掩码的单个波段 ('csm')。
用法 | 返回 |
---|
ee.Algorithms.FMask.matchClouds(input, cloud, shadow, btemp, sceneLow, sceneHigh, neighborhood) | 图片 |
参数 | 类型 | 详细信息 |
---|
input | 图片 | 要计算云和阴影遮罩的场景。 |
cloud | 图片 | 潜在的云掩码图片。预计包含多云像素的 1 和其他位置的蒙版像素。 |
shadow | 图片 | 潜在的阴影遮罩图片。预计包含阴影像素的 1 和其他位置的蒙版像素。 |
btemp | 图片 | 亮度温度图像,以摄氏度为单位。 |
sceneLow | 浮点数 | 场景的第 0.175 百分位亮度温度。 |
sceneHigh | 浮点数 | 场景的 0.825 百分位亮度温度。 |
neighborhood | 整数,默认值:50 | 每个图块周围的填充邻域。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\u003cp\u003eGenerates cloud and shadow masks for satellite imagery using the FMask algorithm.\u003c/p\u003e\n"],["\u003cp\u003eTakes an input image and potential cloud/shadow masks to identify these features.\u003c/p\u003e\n"],["\u003cp\u003eUtilizes brightness temperature and scene percentiles to refine mask accuracy.\u003c/p\u003e\n"],["\u003cp\u003eOutputs a single-band image ('csm') representing the combined cloud and shadow mask.\u003c/p\u003e\n"],["\u003cp\u003eAllows customization of neighborhood padding for tile processing.\u003c/p\u003e\n"]]],[],null,["# ee.Algorithms.FMask.matchClouds\n\nRuns the FMask cloud and shadow matching. Outputs a single band ('csm'), containing the computed cloud and shadow masks.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-------------------------------------------------------------------------------------------------------|---------|\n| `ee.Algorithms.FMask.matchClouds(input, cloud, shadow, btemp, sceneLow, sceneHigh, `*neighborhood*`)` | Image |\n\n| Argument | Type | Details |\n|----------------|----------------------|----------------------------------------------------------------------------------------------------------|\n| `input` | Image | The scene for which to compute cloud and shadow masks. |\n| `cloud` | Image | Potential cloud mask image. Expected to contain 1s for cloudy pixels and masked pixels everywhere else. |\n| `shadow` | Image | Potential shadow mask image. Expected to contain 1s for shadow pixels and masked pixels everywhere else. |\n| `btemp` | Image | Brightness temperature image, in Celsius. |\n| `sceneLow` | Float | The 0.175 percentile brightness temperature of the scene. |\n| `sceneHigh` | Float | The 0.825 percentile brightness temperature of the scene. |\n| `neighborhood` | Integer, default: 50 | The neighborhood to pad around each tile. |"]]