ee.Reducer.intervalMean
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
یک Reducer برای محاسبه میانگین همه ورودی ها در محدوده صدک مشخص شده ایجاد می کند. برای تعداد کمی از ورودی ها (تا maxRaw) میانگین مستقیماً محاسبه می شود. برای تعداد بیشتری از ورودی ها، میانگین از یک هیستوگرام به دست می آید.
استفاده | برمی گرداند | ee.Reducer.intervalMean(minPercentile, maxPercentile, maxBuckets , minBucketWidth , maxRaw ) | کاهنده |
استدلال | تایپ کنید | جزئیات | minPercentile | شناور | کران پایین محدوده صدک. |
maxPercentile | شناور | حد بالایی محدوده صدک. |
maxBuckets | عدد صحیح، پیش فرض: null | حداکثر تعداد سطل های مورد استفاده در هنگام ساخت یک هیستوگرام. به توان 2 گرد خواهد شد. |
minBucketWidth | شناور، پیش فرض: null | حداقل عرض سطل هیستوگرام یا تهی برای اجازه دادن هر توان 2. |
maxRaw | عدد صحیح، پیش فرض: null | تعداد مقادیری که باید قبل از ساخت هیستوگرام اولیه جمع شوند. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eCalculates the mean of values within a specified percentile range, using either direct computation or a histogram-based approach.\u003c/p\u003e\n"],["\u003cp\u003eOffers control over the histogram construction with parameters for maximum buckets, minimum bucket width, and the threshold for switching to histogram-based calculation.\u003c/p\u003e\n"],["\u003cp\u003eAccepts lower and upper percentile bounds as inputs to define the range of values for the mean calculation.\u003c/p\u003e\n"]]],[],null,["# ee.Reducer.intervalMean\n\nCreates a Reducer to compute the mean of all inputs in the specified percentile range. For small numbers of inputs (up to maxRaw) the mean will be computed directly; for larger numbers of inputs the mean will be derived from a histogram.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-----------------------------------------------------------------------------------------------------------|---------|\n| `ee.Reducer.intervalMean(minPercentile, maxPercentile, `*maxBuckets* `, `*minBucketWidth* `, `*maxRaw*`)` | Reducer |\n\n| Argument | Type | Details |\n|------------------|------------------------|-----------------------------------------------------------------------------------------------------|\n| `minPercentile` | Float | The lower bound of the percentile range. |\n| `maxPercentile` | Float | The upper bound of the percentile range. |\n| `maxBuckets` | Integer, default: null | The maximum number of buckets to use when building a histogram; will be rounded up to a power of 2. |\n| `minBucketWidth` | Float, default: null | The minimum histogram bucket width, or null to allow any power of 2. |\n| `maxRaw` | Integer, default: null | The number of values to accumulate before building the initial histogram. |"]]