お知らせ:
2025 年 4 月 15 日より前に Earth Engine の使用を登録したすべての非商用プロジェクトは、アクセスを維持するために
非商用目的での利用資格を確認する必要があります。2025 年 9 月 26 日までに確認が完了していない場合、アクセスが保留されることがあります。
ee.Reducer.autoHistogram
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
入力のヒストグラムを計算するリデューサーを作成します。出力は、各バケットの下限とカウント(または累積カウント)の Nx2 配列で、ピクセル単位での使用に適しています。
| 用途 | 戻り値 |
|---|
ee.Reducer.autoHistogram(maxBuckets, minBucketWidth, maxRaw, cumulative) | レデューサ |
| 引数 | タイプ | 詳細 |
|---|
maxBuckets | 整数、デフォルト: null | ヒストグラムの作成時に使用するバケットの最大数。2 の累乗に切り上げられます。 |
minBucketWidth | 浮動小数点数、デフォルト: null | ヒストグラム バケットの最小幅。2 の累乗を許可する場合は null。 |
maxRaw | 整数、デフォルト: null | 最初のヒストグラムを構築する前に累積する値の数。 |
cumulative | ブール値。デフォルト値は false です。 | |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-26 UTC。
[null,null,["最終更新日 2025-07-26 UTC。"],[],["This documentation describes a reducer for computing histograms. The `ee.Reducer.autoHistogram` function generates a reducer that outputs an Nx2 array of lower bucket bounds and their counts. Key parameters include `maxBuckets` (maximum number of buckets, rounded up to a power of 2), `minBucketWidth` (minimum bucket width), `maxRaw` (values to accumulate before histogram build), and `cumulative` (boolean for cumulative counts).\n"]]