お知らせ:
2025 年 4 月 15 日より前に Earth Engine の使用を登録したすべての非商用プロジェクトは、Earth Engine へのアクセスを維持するために
非商用目的での利用資格を確認する必要があります。
ee.Algorithms.Terrain
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
地形 DEM から傾斜、斜面方位、単純な陰影を計算します。
標高の単一バンド(メートル単位)を含む画像、または複数のバンドがある場合は「elevation」という名前のバンドを含む画像を想定しています。度単位で測定された「slope」と「aspect」という名前の出力バンドと、可視化用の「hillshade」という名前の符号なしバイト出力バンドを追加します。他のすべてのバンドとメタデータは、入力画像からコピーされます。ローカル グラデーションは各ピクセルの 4 連結近傍を使用して計算されるため、画像のエッジ付近で欠損値が発生します。
用途 | 戻り値 |
---|
ee.Algorithms.Terrain(input) | 画像 |
引数 | タイプ | 詳細 |
---|
input | 画像 | 標高画像(メートル単位)。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-26 UTC。
[null,null,["最終更新日 2025-07-26 UTC。"],[[["\u003cp\u003eCalculates slope, aspect, and hillshade from a Digital Elevation Model (DEM) image.\u003c/p\u003e\n"],["\u003cp\u003eOutputs derived bands named 'slope' and 'aspect' in degrees, and 'hillshade' for visualization, while retaining other bands and metadata.\u003c/p\u003e\n"],["\u003cp\u003eEmploys a 4-connected neighborhood for gradient computation, leading to potential missing values along image edges.\u003c/p\u003e\n"],["\u003cp\u003eRequires an input image containing either a single elevation band in meters or a multi-band image with an elevation band named 'elevation'.\u003c/p\u003e\n"],["\u003cp\u003eAccessible via the \u003ccode\u003eee.Algorithms.Terrain(input)\u003c/code\u003e function, returning a processed image.\u003c/p\u003e\n"]]],["The function processes an elevation image (in meters) to compute and add three new bands: 'slope' (degrees), 'aspect' (degrees), and 'hillshade' (unsigned byte). It calculates the local gradient using the four directly connected neighboring pixels. Missing values will occur around image edges due to the four-connected neighbor method. The input image's other bands and metadata are preserved. The function takes an elevation image as input and returns a processed image.\n"],null,["# ee.Algorithms.Terrain\n\nCalculates slope, aspect, and a simple hillshade from a terrain DEM.\n\n\u003cbr /\u003e\n\nExpects an image containing either a single band of elevation, measured in meters, or if there's more than one band, one named 'elevation'. Adds output bands named 'slope' and 'aspect' measured in degrees plus an unsigned byte output band named 'hillshade' for visualization. All other bands and metadata are copied from the input image. The local gradient is computed using the 4-connected neighbors of each pixel, so missing values will occur around the edges of an image.\n\n| Usage | Returns |\n|--------------------------------|---------|\n| `ee.Algorithms.Terrain(input)` | Image |\n\n| Argument | Type | Details |\n|----------|-------|--------------------------------|\n| `input` | Image | An elevation image, in meters. |"]]