ee.Image.matrixDiagonal

Computes the diagonal of the matrix in a single column.

UsageReturns
Image.matrixDiagonal()Image
ArgumentTypeDetails
this: valueImage

The image to which the operation is applied.

Examples

JavaScript

// Your example goes here!

Python

# Your example goes here!