Announcement: All noncommercial projects registered to use Earth Engine before
April 15, 2025 must
verify noncommercial eligibility to maintain Earth Engine access.
ee.Image.convolve
Stay organized with collections
Save and categorize content based on your preferences.
Convolves each band of an image with the given kernel.
Usage | Returns | Image.convolve(kernel) | Image |
Argument | Type | Details | this: image | Image | The image to convolve. |
kernel | Kernel | The kernel to convolve with. |
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."],[[["\u003cp\u003eApplies a kernel to each band of an image, modifying pixel values based on surrounding pixels.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003econvolve\u003c/code\u003e method takes a \u003ccode\u003ekernel\u003c/code\u003e as input and returns a modified \u003ccode\u003eImage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eUseful for various image processing tasks like blurring, sharpening, and edge detection, depending on the kernel used.\u003c/p\u003e\n"]]],[],null,["# ee.Image.convolve\n\nConvolves each band of an image with the given kernel.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|--------------------------|---------|\n| Image.convolve`(kernel)` | Image |\n\n| Argument | Type | Details |\n|---------------|--------|------------------------------|\n| this: `image` | Image | The image to convolve. |\n| `kernel` | Kernel | The kernel to convolve with. |"]]