Announcement: All noncommercial projects registered to use Earth Engine before April 15, 2025 must verify noncommercial eligibility to maintain Earth Engine access.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-10-06 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,["Selects 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'. |"]]