ee.Image.abs
Computes the absolute value of the input.
Usage | Returns |
---|
Image.abs() | Image |
Argument | Type | Details |
---|
this: value | Image | The image to which the operation is applied. |
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."],[[["The `abs()` function calculates the absolute value of an image's pixels."],["It takes an image as input and returns a new image with the absolute values."],["This operation is useful for tasks like emphasizing image features or removing negative pixel values."]]],[]]