お知らせ:
2025 年 4 月 15 日より前に Earth Engine の使用を登録したすべての非商用プロジェクトは、Earth Engine へのアクセスを維持するために
非商用目的での利用資格を確認する必要があります。
ee.Reducer.countDistinctNonNull
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
NULL を無視して、個別の入力数を計算する Reducer を返します。該当する場合、出力名は「count」になります。
用途 | 戻り値 |
---|
ee.Reducer.countDistinctNonNull() | レデューサ |
引数はありません。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-26 UTC。
[null,null,["最終更新日 2025-07-26 UTC。"],[[["\u003cp\u003eThis reducer calculates the number of unique, non-null inputs.\u003c/p\u003e\n"],["\u003cp\u003eThe output is named "count" and represents the distinct input count.\u003c/p\u003e\n"],["\u003cp\u003eIt is used within the Earth Engine environment and has no input arguments.\u003c/p\u003e\n"]]],["This documentation describes a reducer, `ee.Reducer.countDistinctNonNull()`, which calculates the number of unique, non-null input values. The reducer operates without any arguments and outputs a `Reducer` object. The key action is counting distinct values, excluding nulls. When provided, the default output name for the result of this calculation will be \"count\".\n"],null,["# ee.Reducer.countDistinctNonNull\n\nReturns a Reducer that computes the number of distinct inputs, ignoring nulls. Where applicable, the output name is \"count\".\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-------------------------------------|---------|\n| `ee.Reducer.countDistinctNonNull()` | Reducer |\n\n**No arguments.**"]]