お知らせ:
2025 年 4 月 15 日より前に Earth Engine の使用を登録したすべての非商用プロジェクトは、アクセスを維持するために
非商用目的での利用資格を確認する必要があります。2025 年 9 月 26 日までに確認が完了していない場合、アクセスが保留されることがあります。
ee.Algorithms.HoughTransform
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
画像に Hough 変換を適用します。入力バンドごとに、lineThreshold の値で Hough 変換をスレッショルド処理して線が検出されたバンドを出力します。出力バンドの名前は [input]_lines です。ここで、[input] は元のバンドの名前です。パラメータに指定されたデフォルト値は、UINT8 画像で使用するための出発点として使用することを想定しています。
| 用途 | 戻り値 |
|---|
ee.Algorithms.HoughTransform(image, gridSize, inputThreshold, lineThreshold, smooth) | 画像 |
| 引数 | タイプ | 詳細 |
|---|
image | 画像 | 変換を適用する画像。 |
gridSize | 整数、デフォルト: 256 | 計算を実行するグリッドのサイズ。 |
inputThreshold | Float、デフォルト: 64 | 入力画像のしきい値。この値以上のピクセルはアクティブとみなされます。 |
lineThreshold | 浮動小数点数、デフォルト: 72 | 線の検出のしきい値。ハフ変換でこのしきい値以上の値は、検出された線と見なされます。 |
smooth | ブール値。デフォルト値は true です。 | 線検出の前にハフ変換を平滑化するかどうか。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-26 UTC。
[null,null,["最終更新日 2025-07-26 UTC。"],[],["The Hough transform detects lines in an image. It takes an image as input and outputs a new image with detected lines for each band, named `[input]_lines`. Key actions include thresholding the input image based on `inputThreshold` to identify active pixels and then thresholding the Hough transform output with `lineThreshold` to detect lines. `gridSize` controls the computation grid, and `smooth` enables smoothing before line detection. Defaults are provided for UINT8 images.\n"]]