お知らせ:
2025 年 4 月 15 日より前に Earth Engine の使用を登録したすべての非商用プロジェクトは、Earth Engine へのアクセスを維持するために
非商用目的での利用資格を確認する必要があります。
ee.ImageCollection.reduce
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
コレクション内のすべての画像にレデューサを適用します。
Reducer の入力が 1 つの場合は、コレクションの各バンドに個別に適用されます。それ以外の場合は、コレクションのバンドと同じ数の入力が必要です。
リデューサーの出力名によって、出力バンドの名前が決まります。複数の入力があるリデューサーは出力名を直接使用しますが、入力が 1 つしかないリデューサーは、出力名の前に入力バンド名を付けます(例: '10_mean', '20_mean')。
用途 | 戻り値 |
---|
ImageCollection.reduce(reducer, parallelScale) | 画像 |
引数 | タイプ | 詳細 |
---|
これ: collection | ImageCollection | 縮小する画像コレクション。 |
reducer | レデューサ | 指定されたコレクションに適用するリデューサー。 |
parallelScale | 浮動小数点数、デフォルト: 1 | メモリ使用量を制限するために使用されるスケーリング ファクタ。parallelScale を大きくすると(例: 2 または 4)を使用すると、デフォルトでメモリ不足になる計算が可能になる場合があります。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-27 UTC。
[null,null,["最終更新日 2025-07-27 UTC。"],[[["\u003cp\u003eApplies a reducer function across all images within an ImageCollection, resulting in a single output Image.\u003c/p\u003e\n"],["\u003cp\u003eReducers can operate on individual bands or multiple bands simultaneously, determining the output band names accordingly.\u003c/p\u003e\n"],["\u003cp\u003eUtilizes a parallelScale factor to manage memory consumption during computation.\u003c/p\u003e\n"],["\u003cp\u003eAccess this functionality via the \u003ccode\u003eImageCollection.reduce()\u003c/code\u003e method, providing the reducer and optional parallelScale as parameters.\u003c/p\u003e\n"]]],[],null,["# ee.ImageCollection.reduce\n\nApplies a reducer across all of the images in a collection.\n\n\u003cbr /\u003e\n\nIf the reducer has a single input, it will be applied separately to each band of the collection; otherwise it must have the same number of inputs as the collection has bands.\n\nThe reducer output names determine the names of the output bands: reducers with multiple inputs will use the output names directly, while reducers with a single input will prefix the output name with the input band name (e.g., '10_mean', '20_mean').\n\n| Usage | Returns |\n|------------------------------------------------------|---------|\n| ImageCollection.reduce`(reducer, `*parallelScale*`)` | Image |\n\n| Argument | Type | Details |\n|--------------------|-------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------|\n| this: `collection` | ImageCollection | The image collection to reduce. |\n| `reducer` | Reducer | The reducer to apply to the given collection. |\n| `parallelScale` | Float, default: 1 | A scaling factor used to limit memory use; using a larger parallelScale (e.g., 2 or 4) may enable computations that run out of memory with the default. |"]]