Earth Engine has introduced
noncommercial quota tiers to safeguard shared compute resources and ensure reliable performance for everyone. Noncommercial projects use the Community Tier by default, though you can change a project's tier at any time.
ee.Image.gradient
Stay organized with collections
Save and categorize content based on your preferences.
Calculates the x and y gradient.
| Usage | Returns | Image.gradient() | Image |
| Argument | Type | Details | this: input | Image | The input image. |
[null,null,["Last updated 2023-10-06 UTC."],[],["The function `gradient()` computes the x and y gradients of an input image. It takes one argument, `input`, which is the image to process. The function then returns a new image representing the calculated gradients. This new image will be the result of applying the gradient calculation to the provided input image.\n"]]