ee.Image.bitsToArrayImage
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
הפונקציה הופכת את הסיביות של מספר שלם למערך חד-ממדי. האורך של המערך הוא עד הביט הכי גבוה עם הערך 'on' בקלט.
שימוש | החזרות |
---|
Image.bitsToArrayImage() | תמונה |
ארגומנט | סוג | פרטים |
---|
זה: input | תמונה | תמונת הקלט. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-26 (שעון UTC)."],[[["\u003cp\u003eThis function transforms an integer's bits into a 1-D array, with the array's length determined by the highest 'on' bit in the integer.\u003c/p\u003e\n"],["\u003cp\u003eIt is accessed through the \u003ccode\u003eImage.bitsToArrayImage()\u003c/code\u003e method and returns an Image object.\u003c/p\u003e\n"],["\u003cp\u003eThe method takes one argument, 'input', which represents the Image to be processed.\u003c/p\u003e\n"]]],[],null,["# ee.Image.bitsToArrayImage\n\nTurns the bits of an integer into a 1-D array. The array has a length up to the highest 'on' bit in the input.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|----------------------------|---------|\n| Image.bitsToArrayImage`()` | Image |\n\n| Argument | Type | Details |\n|---------------|-------|--------------|\n| this: `input` | Image | Input image. |"]]