ee.Image.matrixToDiag

Computes a square diagonal matrix from a single column matrix.

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