Announcement: All noncommercial projects registered to use Earth Engine before
April 15, 2025 must
verify noncommercial eligibility to maintain Earth Engine access.
ee.Image.matrixIdentity
Stay organized with collections
Save and categorize content based on your preferences.
Creates an image where each pixel is a 2D identity matrix of the given size.
Usage | Returns | ee.Image.matrixIdentity(size) | Image |
Argument | Type | Details | size | Integer | The length of each axis. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-10-06 UTC.
[null,null,["Last updated 2023-10-06 UTC."],[[["\u003cp\u003eCreates an image comprising of pixels, each represented by a 2D identity matrix of a specified size.\u003c/p\u003e\n"],["\u003cp\u003eThe function \u003ccode\u003eee.Image.matrixIdentity(size)\u003c/code\u003e is used, where 'size' denotes the dimensions of the identity matrix.\u003c/p\u003e\n"],["\u003cp\u003eThe output is an Earth Engine Image.\u003c/p\u003e\n"]]],[],null,["# ee.Image.matrixIdentity\n\nCreates an image where each pixel is a 2D identity matrix of the given size.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|---------------------------------|---------|\n| `ee.Image.matrixIdentity(size)` | Image |\n\n| Argument | Type | Details |\n|----------|---------|--------------------------|\n| `size` | Integer | The length of each axis. |"]]