ee.Reducer.countDistinct
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
کاهش دهنده ای را برمی گرداند که تعداد ورودی های مجزا را محاسبه می کند. در صورت لزوم، نام خروجی "count" است.
استفاده | برمی گرداند | ee.Reducer.countDistinct() | کاهنده |
بدون استدلال
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eReturns a Reducer that calculates the number of distinct input values.\u003c/p\u003e\n"],["\u003cp\u003eThe output is typically named "count".\u003c/p\u003e\n"],["\u003cp\u003eIt's used within the Earth Engine platform and is invoked using \u003ccode\u003eee.Reducer.countDistinct()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis reducer takes no arguments.\u003c/p\u003e\n"]]],["The `ee.Reducer.countDistinct()` function returns a Reducer that calculates the number of unique input values. The output of this Reducer, when applied, represents the distinct count. It operates without any input arguments and produces a Reducer object. The default output name for the distinct count result is \"count\".\n"],null,["# ee.Reducer.countDistinct\n\nReturns a Reducer that computes the number of distinct inputs. Where applicable, the output name is \"count\".\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|------------------------------|---------|\n| `ee.Reducer.countDistinct()` | Reducer |\n\n**No arguments.**"]]