お知らせ:
2025 年 4 月 15 日より前に Earth Engine の使用を登録したすべての非商用プロジェクトは、Earth Engine へのアクセスを維持するために
非商用目的での利用資格を確認する必要があります。
ee.Algorithms.Image.Segmentation.seedGrid
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
クラスタリングのシードピクセルを選択します。
用途 | 戻り値 |
---|
ee.Algorithms.Image.Segmentation.seedGrid(size, gridType) | 画像 |
引数 | タイプ | 詳細 |
---|
size | 整数、デフォルト: 5 | スーパーピクセルのシード位置の間隔(ピクセル単位)。 |
gridType | 文字列、デフォルト: "square" | グリッドのタイプ。「square」または「hex」のいずれか。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 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'. |"]]