ee.Image.matrixDiagonal

Stay organized with collections Save and categorize content based on your preferences.
Computes the diagonal of the matrix in a single column.

UsageReturns
Image.matrixDiagonal()Image
ArgumentTypeDetails
this: valueImageThe image to which the operation is applied.