公告:凡是在
2025 年 4 月 15 日前註冊使用 Earth Engine 的非商業專案,都必須
驗證非商業用途資格,才能繼續存取 Earth Engine。
ee.ImageCollection.toArrayPerBand
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
將多個圖像連結成單一陣列圖像。如果任何輸入內容遭到遮蓋,結果也會遭到遮蓋。
用量 | 傳回 |
---|
ImageCollection.toArrayPerBand(axis) | 圖片 |
引數 | 類型 | 詳細資料 |
---|
這個:collection | ImageCollection | 要串連的圖片。每個波段都會進行個別串連,因此除了串連軸的長度外,所有圖片的每個波段都必須具有相同的維度和形狀。 |
axis | 整數,預設值為 0 | 要沿著串連的軸;必須至少為 0,且至多為集合中任何頻帶的最小維度。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間:2025-07-26 (世界標準時間)。"],[[["\u003cp\u003eCreates a single image array by combining multiple images from an ImageCollection.\u003c/p\u003e\n"],["\u003cp\u003eThe resulting image retains any masking present in the input images.\u003c/p\u003e\n"],["\u003cp\u003eImages within the collection must have consistent dimensionality and shape per band for concatenation.\u003c/p\u003e\n"],["\u003cp\u003eConcatenation is performed independently for each band along a specified axis.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eaxis\u003c/code\u003e parameter controls the direction of concatenation, defaulting to 0.\u003c/p\u003e\n"]]],[],null,["# ee.ImageCollection.toArrayPerBand\n\nConcatenates multiple images into a single array image. The result will be masked if any input is masked.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|--------------------------------------------|---------|\n| ImageCollection.toArrayPerBand`(`*axis*`)` | Image |\n\n| Argument | Type | Details |\n|--------------------|---------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| this: `collection` | ImageCollection | Images to concatenate. A separate concatenation is done per band, so all the images must have the same dimensionality and shape per band, except length along the concatenation axis. |\n| `axis` | Integer, default: 0 | Axis to concatenate along; must be at least 0 and at most the minimum dimension of any band in the collection. |"]]