Announcement: All noncommercial projects registered to use Earth Engine before
April 15, 2025 must
verify noncommercial eligibility to maintain Earth Engine access.
ee.ImageCollection.toArrayPerBand
Stay organized with collections
Save and categorize content based on your preferences.
Concatenates multiple images into a single array image. The result will be masked if any input is masked.
Usage | Returns | ImageCollection.toArrayPerBand(axis) | Image |
Argument | Type | Details | 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. |
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. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-10-06 UTC.
[null,null,["Last updated 2023-10-06 UTC."],[[["\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. |"]]