ee.Image.matrixIdentity

Creates an image where each pixel is a 2D identity matrix of the given size.

UsageReturns
ee.Image.matrixIdentity(size)Image
ArgumentTypeDetails
sizeInteger

The length of each axis.