ee.Image.blend
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
วางซ้อนรูปภาพหนึ่งไว้เหนืออีกรูปภาพหนึ่ง ระบบจะผสมผสานรูปภาพเข้าด้วยกันโดยใช้มาสก์เป็นความทึบแสง หากรูปภาพใดรูปภาพหนึ่งมีเพียง 1 แถบ ระบบจะทำซ้ำเพื่อให้มีจำนวนแถบเท่ากับรูปภาพอีกรูป
การใช้งาน | การคืนสินค้า |
---|
Image.blend(top) | รูปภาพ |
อาร์กิวเมนต์ | ประเภท | รายละเอียด |
---|
ดังนี้ bottom | รูปภาพ | รูปภาพด้านล่าง |
top | รูปภาพ | รูปภาพด้านบน |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 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. |"]]