ee.Image.matrixToDiag
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
מחשבת מטריצה אלכסונית ריבועית ממטריצה של עמודה אחת.
שימוש | החזרות |
---|
Image.matrixToDiag() | תמונה |
ארגומנט | סוג | פרטים |
---|
זה: value | תמונה | התמונה שהפעולה מוחלת עליה. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-26 (שעון UTC)."],[[["\u003cp\u003eCreates a diagonal matrix where the diagonal elements are derived from a single column matrix, essentially spreading the column values across the diagonal.\u003c/p\u003e\n"],["\u003cp\u003eThis method is applicable to \u003ccode\u003eImage\u003c/code\u003e objects and returns a modified \u003ccode\u003eImage\u003c/code\u003e with the diagonal matrix applied.\u003c/p\u003e\n"],["\u003cp\u003eThe input is a single column matrix (represented as an \u003ccode\u003eImage\u003c/code\u003e object) that is used to construct the diagonal matrix.\u003c/p\u003e\n"]]],[],null,["# ee.Image.matrixToDiag\n\nComputes a square diagonal matrix from a single column matrix.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|------------------------|---------|\n| Image.matrixToDiag`()` | Image |\n\n| Argument | Type | Details |\n|---------------|-------|----------------------------------------------|\n| this: `value` | Image | The image to which the operation is applied. |"]]