ee.Reducer.anyNonZero
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
کاهش دهنده ای را برمی گرداند که اگر هر یک از ورودی های آن غیر صفر باشد 1 و در غیر این صورت 0 را برمی گرداند. در صورت لزوم، نام خروجی "any" است.
استفاده | برمی گرداند | ee.Reducer.anyNonZero() | کاهنده |
بدون استدلال
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز 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 outputs 1 if any input value is non-zero, and 0 otherwise.\u003c/p\u003e\n"],["\u003cp\u003eThe output of this reducer is typically named "any".\u003c/p\u003e\n"],["\u003cp\u003eThis reducer has no arguments and is used to aggregate pixel values within regions of an image.\u003c/p\u003e\n"],["\u003cp\u003eUsage involves calling \u003ccode\u003eee.Reducer.anyNonZero()\u003c/code\u003e.\u003c/p\u003e\n"]]],["The `ee.Reducer.anyNonZero()` function returns a Reducer. This Reducer checks if any input values are non-zero. If at least one input is non-zero, it returns 1; otherwise, it returns 0. The output of this Reducer is named \"any\" when applicable. The function does not accept any arguments.\n"],null,["# ee.Reducer.anyNonZero\n\nReturns a Reducer that returns 1 if any of its inputs are non-zero, 0 otherwise. Where applicable, the output name is \"any\".\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|---------------------------|---------|\n| `ee.Reducer.anyNonZero()` | Reducer |\n\n**No arguments.**"]]