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 2024-07-13 UTC."],[[["\u003cp\u003eComputes the signum function of an image, resulting in a new image with pixel values of 1, 0, or -1.\u003c/p\u003e\n"],["\u003cp\u003eThe function returns an image where each pixel value represents the sign of the corresponding pixel in the input image: 1 for positive values, 0 for zero, and -1 for negative values.\u003c/p\u003e\n"],["\u003cp\u003eIt is applied to an input image and outputs a modified image based on the signum function.\u003c/p\u003e\n"]]],[],null,["# ee.Image.signum\n\nComputes the signum function (sign) of the input; 0 if the input is 0, 1 if the input is greater than 0, -1 if the input is less than 0.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|------------------|---------|\n| Image.signum`()` | Image |\n\n| Argument | Type | Details |\n|---------------|-------|----------------------------------------------|\n| this: `value` | Image | The image to which the operation is applied. |"]]