お知らせ:
2025 年 4 月 15 日より前に Earth Engine の使用を登録したすべての非商用プロジェクトは、Earth Engine へのアクセスを維持するために
非商用目的での利用資格を確認する必要があります。
ee.Image.medialAxis
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
入力の最初のバンドのゼロ値のピクセルの離散メディアル軸を計算します。4 つのバンドを出力します。
medial - 距離でスケーリングされた medial 軸のポイント。
カバレッジ - 各メディアル軸点をサポートするポイントの数。
xlabel - 各ピクセルの電源ポイントまでの水平距離。
ylabel - 各ピクセルのパワーポイントまでの垂直距離。
用途 | 戻り値 |
---|
Image.medialAxis(neighborhood, units) | 画像 |
引数 | タイプ | 詳細 |
---|
これ: image | 画像 | 入力画像。 |
neighborhood | 整数、デフォルト: 256 | 近傍のサイズ(ピクセル単位)。 |
units | 文字列、デフォルト: 「pixels」 | 近傍の単位。現時点では「ピクセル」のみがサポートされています。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-26 UTC。
[null,null,["最終更新日 2025-07-26 UTC。"],[[["\u003cp\u003eComputes the discrete medial axis transform of the zero-valued pixels in the first band of an image.\u003c/p\u003e\n"],["\u003cp\u003eOutputs a 4-band image representing medial axis points, their support, and distances to power points.\u003c/p\u003e\n"],["\u003cp\u003eAccepts an input image, neighborhood size, and units as parameters for customization.\u003c/p\u003e\n"]]],["This function calculates the discrete medial axis of an image's zero-valued pixels. It returns an image with four bands: `medial` (medial axis points scaled by distance), `coverage` (number of supporting points), `xlabel` (horizontal distance to the power point), and `ylabel` (vertical distance to the power point). The function accepts an input image, neighborhood size (default: 256 pixels), and units (only 'pixels' supported). It is called using `Image.medialAxis()`.\n"],null,["# ee.Image.medialAxis\n\nComputes the discrete medial axis of the zero valued pixels of the first band of the input. Outputs 4 bands:\n\n\u003cbr /\u003e\n\nmedial - the medial axis points, scaled by the distance.\n\ncoverage - the number of points supporting each medial axis point.\n\nxlabel - the horizontal distance to the power point for each pixel.\n\nylabel - the vertical distance to the power point for each pixel.\n\n| Usage | Returns |\n|--------------------------------------------------|---------|\n| Image.medialAxis`(`*neighborhood* `, `*units*`)` | Image |\n\n| Argument | Type | Details |\n|----------------|---------------------------|-----------------------------------------------------------------------|\n| this: `image` | Image | The input image. |\n| `neighborhood` | Integer, default: 256 | Neighborhood size in pixels. |\n| `units` | String, default: \"pixels\" | The units of the neighborhood, currently only 'pixels' are supported. |"]]