ee.Image.blend
Overlays 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.
Usage | Returns |
---|
Image.blend(top) | Image |
Argument | Type | Details |
---|
this: bottom | Image | The bottom image. |
top | Image | The top image. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-10-06 UTC.
[null,null,["Last updated 2023-10-06 UTC."],[[["Blends two images together using their masks as opacity, overlaying one on top of the other."],["If either image has a single band, it's automatically replicated to match the other image's band count."],["The function `Image.blend()` takes the bottom image as 'this' and the top image as the argument `top`, returning the blended image."]]],["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"]]