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
sizeIntegerThe length of each axis.