公告:所有在
2025 年 4 月 15 日之前注册使用 Earth Engine 的非商业项目都必须
验证是否符合非商业性质的资格条件,才能继续使用 Earth Engine。
ee.ImageCollection.toArrayPerBand
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
将多个图片串联成一个数组图片。如果任何输入被遮盖,结果也会被遮盖。
用法 | 返回 |
---|
ImageCollection.toArrayPerBand(axis) | 图片 |
参数 | 类型 | 详细信息 |
---|
此:collection | ImageCollection | 要串联的图片。每个波段都会单独进行串联,因此除了沿串联轴的长度之外,所有图片在每个波段中都必须具有相同的维度和形状。 |
axis | 整数,默认值:0 | 要沿其串联的轴;必须至少为 0,且至多为集合中任何频段的最小维度。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):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. |"]]