Earth Engine は、共有コンピューティング リソースを保護し、すべてのユーザーに信頼性の高いパフォーマンスを提供するために、
非商用割り当て階層を導入しています。すべての非商用プロジェクトは、
2026 年 4 月 27 日までに割り当て階層を選択する必要があります。選択しない場合は、デフォルトでコミュニティ階層が使用されます。階層の割り当ては、
2026 年 4 月 27 日に(階層の選択日に関係なく)すべてのプロジェクトで有効になります。
詳細
ee.Kernel.kirsch
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
3x3 Kirsch のコンパス エッジ検出カーネルを生成します。
| 用途 | 戻り値 |
|---|
ee.Kernel.kirsch(magnitude, normalize) | カーネル |
| 引数 | タイプ | 詳細 |
|---|
magnitude | 浮動小数点数、デフォルト: 1 | 各値をこの量でスケーリングします。 |
normalize | ブール値。デフォルト値は false です。 | カーネル値を正規化して、合計が 1 になるようにします。 |
例
コードエディタ(JavaScript)
print('A Kirsch compass kernel', ee.Kernel.kirsch());
/**
* Output weights matrix
*
* [5, -3, -3]
* [5, 0, -3]
* [5, -3, -3]
*/
Python の設定
Python API とインタラクティブな開発での geemap の使用については、
Python 環境のページをご覧ください。
import ee
import geemap.core as geemap
Colab(Python)
display('A Kirsch compass kernel:', ee.Kernel.kirsch())
# Output weights matrix
# [5, -3, -3]
# [5, 0, -3]
# [5, -3, -3]
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-10-30 UTC。
[null,null,["最終更新日 2025-10-30 UTC。"],[],["The `ee.Kernel.kirsch()` function creates a 3x3 Kirsch's Compass edge-detection kernel. This kernel's values can be scaled using the `magnitude` parameter (defaulting to 1) and normalized to sum to 1 with the `normalize` parameter (defaulting to false). The function, when invoked, returns a kernel represented by a weight matrix: `[5, -3, -3], [5, 0, -3], [5, -3, -3]`. This is demonstrated in both JavaScript and Python examples.\n"]]