ee.Algorithms.Image.Segmentation.seedGrid
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
בחירת פיקסלים ראשוניים לאשכולות.
שימוש | החזרות |
---|
ee.Algorithms.Image.Segmentation.seedGrid(size, gridType) | תמונה |
ארגומנט | סוג | פרטים |
---|
size | מספר שלם, ברירת מחדל: 5 | הריווח בין מיקומי הזרעים של הסופר-פיקסלים, בפיקסלים. |
gridType | מחרוזת, ברירת מחדל: 'square' | סוג הרשת. אחת מהאפשרויות: 'ריבוע' או 'משושה'. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-26 (שעון UTC)."],[[["\u003cp\u003eThis algorithm selects seed pixels for image segmentation using a grid-based approach.\u003c/p\u003e\n"],["\u003cp\u003eUsers can define the spacing of seed points with the \u003ccode\u003esize\u003c/code\u003e parameter and choose between square or hexagonal grid types using the \u003ccode\u003egridType\u003c/code\u003e parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe output is an image containing the selected seed pixels.\u003c/p\u003e\n"]]],["This describes a function `ee.Algorithms.Image.Segmentation.seedGrid` that generates seed pixels for image clustering. It takes two arguments: `size`, an integer determining the seed spacing in pixels (defaulting to 5), and `gridType`, a string specifying the grid shape as either \"square\" or \"hex\" (defaulting to \"square\"). The function returns an Image, which represents the grid of selected seed pixels.\n"],null,["# ee.Algorithms.Image.Segmentation.seedGrid\n\nSelects seed pixels for clustering.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|----------------------------------------------------------------------|---------|\n| `ee.Algorithms.Image.Segmentation.seedGrid(`*size* `, `*gridType*`)` | Image |\n\n| Argument | Type | Details |\n|------------|---------------------------|--------------------------------------------------|\n| `size` | Integer, default: 5 | The superpixel seed location spacing, in pixels. |\n| `gridType` | String, default: \"square\" | Type of grid. One of 'square' or 'hex'. |"]]