お知らせ:
2025 年 4 月 15 日より前に Earth Engine の使用を登録したすべての非商用プロジェクトは、Earth Engine へのアクセスを維持するために
非商用目的での利用資格を確認する必要があります。
ee.Image.cluster
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
クラスタリングを画像に適用します。各ピクセルが割り当てられているクラスタを示す 0 ~ N の値を含む単一のバンドを持つ新しい画像を返します。
用途 | 戻り値 |
---|
Image.cluster(clusterer, outputName) | 画像 |
引数 | タイプ | 詳細 |
---|
これ: image | 画像 | クラスタリングする画像。クラスタリングのスキーマ内のすべてのバンドを含んでいる必要があります。 |
clusterer | クラスタリング | 使用するクラスタリング。 |
outputName | 文字列、デフォルト: "cluster" | 出力バンドの名前。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-26 UTC。
[null,null,["最終更新日 2025-07-26 UTC。"],[[["\u003cp\u003eApplies a provided clusterer to an image, assigning each pixel to a cluster.\u003c/p\u003e\n"],["\u003cp\u003eReturns a new single-band image where pixel values (0 to N) represent their assigned cluster.\u003c/p\u003e\n"],["\u003cp\u003eRequires an input image containing all bands specified in the clusterer's schema.\u003c/p\u003e\n"],["\u003cp\u003eUsers can specify the name of the output band containing cluster assignments.\u003c/p\u003e\n"]]],[],null,["# ee.Image.cluster\n\nApplies a clusterer to an image. Returns a new image with a single band containing values from 0 to N, indicating the cluster each pixel is assigned to.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|--------------------------------------------|---------|\n| Image.cluster`(clusterer, `*outputName*`)` | Image |\n\n| Argument | Type | Details |\n|---------------|----------------------------|-----------------------------------------------------------------------------|\n| this: `image` | Image | The image to cluster. Must contain all the bands in the clusterer's schema. |\n| `clusterer` | Clusterer | The clusterer to use. |\n| `outputName` | String, default: \"cluster\" | The name of the output band. |"]]