公告:凡是在
2025 年 4 月 15 日前註冊使用 Earth Engine 的非商業專案,都必須
驗證非商業用途資格,才能繼續存取。如未在 2025 年 9 月 26 日前完成驗證,存取權可能會暫停。
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"]]