ee.Image.blend
Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Superpose une image sur une autre. Les images sont fusionnées à l'aide des masques en tant qu'opacité. Si l'une des images ne comporte qu'une seule bande, elle est répliquée pour correspondre au nombre de bandes de l'autre image.
Utilisation | Renvoie |
---|
Image.blend(top) | Image |
Argument | Type | Détails |
---|
ceci : bottom | Image | Image du bas. |
top | Image | Image en haut de la page. |
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/26 (UTC).
[null,null,["Dernière mise à jour le 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. |"]]