公告:凡是在
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 | 每個動態磚周圍的鄰近區域。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間: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. |"]]