公告:所有在
2025 年 4 月 15 日之前注册使用 Earth Engine 的非商业项目都必须
验证是否符合非商业性质的资格条件,才能继续使用 Earth Engine。
ee.Image.blend
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
将一张图片叠加在另一张图片上。系统会使用遮罩作为不透明度将图片混合在一起。如果任一图片只有 1 个波段,则会复制该波段,使其与另一图片中的波段数量一致。
参数 | 类型 | 详细信息 |
---|
此:bottom | 图片 | 底部图片。 |
top | 图片 | 顶部图片。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\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. |"]]