お知らせ:
2025 年 4 月 15 日より前に Earth Engine の使用を登録したすべての非商用プロジェクトは、Earth Engine へのアクセスを維持するために
非商用目的での利用資格を確認する必要があります。
ee.Image.spectralDilation
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
構造化カーネルの下にある各ピクセルのスペクトル距離を、カーネルの下にあるすべてのピクセルの重心から計算し、最も遠い結果を取得することで、画像のスペクトル/空間拡張を計算します。「Spatial/spectral endmember extraction by multidimensional morphological operations」を参照してください。IEEE transactions on geoscience and remote sensing 40.9 (2002): 2025-2041.
用途 | 戻り値 |
---|
Image.spectralDilation(metric, kernel, useCentroid) | 画像 |
引数 | タイプ | 詳細 |
---|
これ: image | 画像 | 入力画像。 |
metric | 文字列、デフォルト: "sam" | 使用するスペクトル距離指標。「sam」(スペクトル角度マッパー)、「sid」(スペクトル情報発散)、「sed」(二乗ユークリッド距離)、「emd」(アース ムーバーズ距離)のいずれか。 |
kernel | カーネル、デフォルト: null | Connectedness カーネル。デフォルトは半径 1 の正方形(8 連結)です。 |
useCentroid | ブール値。デフォルト値は false です。 | true の場合、距離はカーネルの中心ピクセルではなく、カーネル内のすべてのピクセルの平均から計算されます。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-26 UTC。
[null,null,["最終更新日 2025-07-26 UTC。"],[[["\u003cp\u003eComputes the spectral/spatial dilation of an image based on the spectral distance of pixels within a kernel.\u003c/p\u003e\n"],["\u003cp\u003eUses a specified spectral distance metric (SAM, SID, SED, or EMD) to calculate distances.\u003c/p\u003e\n"],["\u003cp\u003eOffers options to define the kernel shape and whether to use the centroid or center pixel for distance calculations.\u003c/p\u003e\n"],["\u003cp\u003eOutputs an image representing the spectral dilation result.\u003c/p\u003e\n"]]],[],null,["# ee.Image.spectralDilation\n\nComputes the spectral/spatial dilation of an image by computing the spectral distance of each pixel under a structuring kernel from the centroid of all pixels under the kernel and taking the most distant result. See 'Spatial/spectral endmember extraction by multidimensional morphological operations.' IEEE transactions on geoscience and remote sensing 40.9 (2002): 2025-2041.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|---------------------------------------------------------------------|---------|\n| Image.spectralDilation`(`*metric* `, `*kernel* `, `*useCentroid*`)` | Image |\n\n| Argument | Type | Details |\n|---------------|-------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| this: `image` | Image | The input image. |\n| `metric` | String, default: \"sam\" | The spectral distance metric to use. One of 'sam' (spectral angle mapper), 'sid' (spectral information divergence), 'sed' (squared Euclidean distance), or 'emd' (earth movers distance). |\n| `kernel` | Kernel, default: null | Connectedness kernel. Defaults to a square of radius 1 (8-way connected). |\n| `useCentroid` | Boolean, default: false | If true, distances are computed from the mean of all pixels under the kernel instead of the kernel's center pixel. |"]]