ee.Image.matrixTranspose
Transposes two dimensions of each array pixel.
Usage | Returns | Image.matrixTranspose(axis1, axis2) | Image |
Argument | Type | Details | this: input | Image | Input image. |
axis1 | Integer, default: 0 | First axis to swap. |
axis2 | Integer, default: 1 | Second axis to swap. |
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 `Image.matrixTranspose()` function swaps two dimensions of an image's pixels, effectively transposing it."],["It takes the input image and two arguments, `axis1` and `axis2`, representing the dimensions to be transposed, defaulting to 0 and 1 respectively."],["The function returns a new Image object with the transposed dimensions."]]],[]]