ee.ImageCollection.toArrayPerBand
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Nối nhiều hình ảnh thành một hình ảnh mảng duy nhất. Kết quả sẽ bị che nếu có bất kỳ dữ liệu đầu vào nào bị che.
Cách sử dụng | Giá trị trả về |
---|
ImageCollection.toArrayPerBand(axis) | Hình ảnh |
Đối số | Loại | Thông tin chi tiết |
---|
this: collection | ImageCollection | Hình ảnh cần nối. Mỗi dải tần sẽ được nối riêng, vì vậy, tất cả hình ảnh phải có cùng kích thước và hình dạng cho mỗi dải tần, ngoại trừ chiều dài dọc theo trục nối. |
axis | Số nguyên, mặc định: 0 | Trục để nối; phải có giá trị tối thiểu là 0 và tối đa là kích thước tối thiểu của bất kỳ dải nào trong tập hợp. |
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-26 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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. |"]]