お知らせ:
2025 年 4 月 15 日より前に Earth Engine の使用を登録したすべての非商用プロジェクトは、Earth Engine へのアクセスを維持するために
非商用目的での利用資格を確認する必要があります。
PyramidingPolicy
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
画像バンドの低解像度バージョンを作成するときに使用するアルゴリズム。デフォルトでは、マスクは入力マスクの平均として計算され、リクエストされた出力統計が計算された入力データの合計重みを反映します。SAMPLE の場合、サンプリングされたピクセルのマスクが直接使用されます。
列挙型 |
PYRAMIDING_POLICY_UNSPECIFIED |
指定されていません。 |
MEAN |
出力ピクセルは、入力ピクセルのマスク加重平均です。直接観測の結果や、温度などの連続量に使用する必要があります。 |
SAMPLE |
出力ピクセルは左上の入力ピクセルと同じです。QA/ビットマスク バンドや、ピクセル取得日などの連続しないフィールドに使用する必要があります。 |
MIN |
出力ピクセルは入力ピクセルの最小値です。 |
MAX |
出力ピクセルは入力ピクセルの最大値です。 |
MODE |
出力ピクセルは、入力ピクセルのマスク加重モードです。土地被覆バンドに使用する必要があります。 |
MEDIAN |
出力ピクセルは、入力ピクセルのマスクで重み付けされた中央値です。値が重複している場合は、中央の 2 つの値の平均が使用されます。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-26 UTC。
[null,null,["最終更新日 2025-07-26 UTC。"],[[["\u003cp\u003eThe pyramiding policy determines how reduced-resolution versions of image bands are created, impacting the representation of pixel values at lower resolutions.\u003c/p\u003e\n"],["\u003cp\u003eBy default, the \u003ccode\u003eMEAN\u003c/code\u003e policy is used, calculating the output pixel as the average of input pixels, weighted by their masks, ideal for continuous data like temperature.\u003c/p\u003e\n"],["\u003cp\u003eAlternative policies like \u003ccode\u003eSAMPLE\u003c/code\u003e, \u003ccode\u003eMIN\u003c/code\u003e, \u003ccode\u003eMAX\u003c/code\u003e, \u003ccode\u003eMODE\u003c/code\u003e, and \u003ccode\u003eMEDIAN\u003c/code\u003e offer different methods for pixel value determination, catering to various data types such as QA bands, categorical data, and more.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSAMPLE\u003c/code\u003e policy directly uses the upper-left input pixel for the output, suitable for non-continuous fields like date of acquisition or QA bitmask bands.\u003c/p\u003e\n"],["\u003cp\u003eUsers can choose the most appropriate policy depending on the nature of the data and desired outcome for image reduction.\u003c/p\u003e\n"]]],[],null,["# PyramidingPolicy\n\nThe algorithm to be used when creating reduced-resolution versions of an image band. By default, the mask is computed as the MEAN of the input masks, reflecting the total weight of the input data over which the requested output statistic was calculated. In the case of SAMPLE, the sampled pixel's mask is used directly.\n\n| Enums ||\n|---------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `PYRAMIDING_POLICY_UNSPECIFIED` | Not specified. |\n| `MEAN` | Output pixel is the mask-weighted mean of the input pixels. Should be used for direct observation results and continuous quantities like temperature. |\n| `SAMPLE` | Output pixel is identical to the upper-left input pixel. Should be used for QA/bitmask bands or other non-continuous fields like date of pixel acquisition. |\n| `MIN` | Output pixel is the minimum value of the input pixels. |\n| `MAX` | Output pixel is the maximum value of the input pixels. |\n| `MODE` | Output pixel is the mask-weighted mode of the input pixels. Should be used for landcover bands. |\n| `MEDIAN` | Output pixel is the mask-weighted median of the input pixels. In case of a tie, the mean of the middle two values is used. |"]]