ee.ImageCollection.toArrayPerBand
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Łączy wiele obrazów w jeden obraz tablicy. Jeśli którekolwiek dane wejściowe są zamaskowane, wynik również będzie zamaskowany.
Wykorzystanie | Zwroty |
---|
ImageCollection.toArrayPerBand(axis) | Obraz |
Argument | Typ | Szczegóły |
---|
to: collection | ImageCollection | Obrazy do połączenia. Dla każdego pasma przeprowadzane jest osobne łączenie, więc wszystkie obrazy muszą mieć te same wymiary i kształt w każdym pasmie, z wyjątkiem długości wzdłuż osi łączenia. |
axis | Liczba całkowita, domyślnie: 0 | Oś, wzdłuż której ma nastąpić łączenie. Musi być większa lub równa 0 i mniejsza lub równa minimalnemu wymiarowi dowolnego pasma w kolekcji. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-26 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-26 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. |"]]