ee.Image.blend
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.
Phủ một hình ảnh lên trên một hình ảnh khác. Các hình ảnh được pha trộn với nhau bằng cách sử dụng mặt nạ làm độ mờ. Nếu một trong hai hình ảnh chỉ có 1 dải tần, thì dải tần đó sẽ được sao chép để khớp với số lượng dải tần trong hình ảnh còn lại.
Cách sử dụng | Giá trị trả về |
---|
Image.blend(top) | Hình ảnh |
Đối số | Loại | Thông tin chi tiết |
---|
this: bottom | Hình ảnh | Hình ảnh dưới cùng. |
top | Hình ảnh | Hình ảnh trên cùng. |
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\u003eBlends two images together using their masks as opacity, overlaying one on top of the other.\u003c/p\u003e\n"],["\u003cp\u003eIf either image has a single band, it's automatically replicated to match the other image's band count.\u003c/p\u003e\n"],["\u003cp\u003eThe function \u003ccode\u003eImage.blend()\u003c/code\u003e takes the bottom image as 'this' and the top image as the argument \u003ccode\u003etop\u003c/code\u003e, returning the blended image.\u003c/p\u003e\n"]]],["Blends a `top` image onto a `bottom` image, using masks for opacity. Images with a single band are replicated to match the other image's band count. The function `Image.blend(top)` is used, where `bottom` is the base image, and `top` is the image overlaid. The function returns the resulting blended `Image`.\n"],null,["# ee.Image.blend\n\nOverlays one image on top of another. The images are blended together using the masks as opacity. If either of images has only 1 band, it is replicated to match the number of bands in the other image.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|--------------------|---------|\n| Image.blend`(top)` | Image |\n\n| Argument | Type | Details |\n|----------------|-------|-------------------|\n| this: `bottom` | Image | The bottom image. |\n| `top` | Image | The top image. |"]]