Announcement: All noncommercial projects registered to use Earth Engine before April 15, 2025 must verify noncommercial eligibility to maintain Earth Engine access.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-10-06 UTC."],[[["\u003cp\u003eCalculates the x and y gradient of an image, returning a new image that represents the gradient.\u003c/p\u003e\n"],["\u003cp\u003eThe function, \u003ccode\u003eImage.gradient()\u003c/code\u003e, takes one argument: the input image to calculate the gradient from.\u003c/p\u003e\n"]]],["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"],null,["Calculates the x and y gradient.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|--------------------|---------|\n| Image.gradient`()` | Image |\n\n| Argument | Type | Details |\n|---------------|-------|------------------|\n| this: `input` | Image | The input image. |"]]