ee.Image.matrixTrace
Computes the trace of the matrix.
Usage | Returns |
---|
Image.matrixTrace() | 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 `matrixTrace()` method calculates the sum of the diagonal elements of an image's transformation matrix."],["This method is applied to an `Image` object and returns a new `Image` object with the trace computation applied."]]],[]]