Earth Engine 即將推出
非商業用途的配額級別,以便保護共用運算資源,並確保所有使用者都能享有穩固效能。所有非商業用途的專案都必須在
2026 年 4 月 27 日前選取配額級別,否則屆時會預設為「社群」級別。在
2026 年 4 月 27 日,所有專案 (無論選取級別的日期為何) 的級別配額都會生效。
瞭解詳情。
ee.Algorithms.Landsat.simpleComposite
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
從原始 Landsat 場景集合計算 Landsat TOA 合成影像。這項功能會套用標準 TOA 校正,然後使用 SimpleLandsatCloudScore 演算法為每個像素指派雲朵分數。這項功能會選取每個點最低的雲朵分數範圍,然後根據接受的像素計算每個波段的百分位數值。如果區域內有超過 maxDepth 輸入場景,這個演算法也會使用 LandsatPathRowLimit 演算法,只選取雲量最少的場景。
| 用量 | 傳回 |
|---|
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,TOA 值會乘以 255 (反射頻帶) 或減去 100 (熱頻帶),並四捨五入至最接近的整數,然後轉換為 uint8。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間: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"]]