إشعار: يجب
إثبات أهلية جميع المشاريع غير التجارية المسجّلة لاستخدام Earth Engine قبل
15 أبريل 2025 من أجل الحفاظ على إمكانية الوصول إلى Earth Engine.
ee.Reducer.intervalMean
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
تنشئ هذه الدالة أداة تقليل لاحتساب متوسط جميع القيم المُدخلة في نطاق النسبة المئوية المحدّد. بالنسبة إلى الأعداد الصغيرة من المدخلات (حتى maxRaw)، سيتم احتساب المتوسط مباشرةً، أما بالنسبة إلى الأعداد الأكبر من المدخلات، فسيتم استخراج المتوسط من المدرّج التكراري.
الاستخدام | المرتجعات |
---|
ee.Reducer.intervalMean(minPercentile, maxPercentile, maxBuckets, minBucketWidth, maxRaw) | Reducer |
الوسيطة | النوع | التفاصيل |
---|
minPercentile | عدد عائم | الحدّ الأدنى لنطاق الشريحة المئوية. |
maxPercentile | عدد عائم | الحدّ الأعلى لنطاق الشريحة المئوية. |
maxBuckets | عدد صحيح، القيمة التلقائية: null | الحد الأقصى لعدد المجموعات التي سيتم استخدامها عند إنشاء مدرّج تكراري، وسيتم تقريبه إلى أقرب عدد صحيح من مضاعفات العدد 2. |
minBucketWidth | العدد العائم، القيمة التلقائية: null | الحد الأدنى لعرض مجموعة بيانات الرسم البياني المدرّج التكراري، أو قيمة فارغة للسماح بأي قوة من قوى العدد 2 |
maxRaw | عدد صحيح، القيمة التلقائية: null | عدد القيم التي يجب تجميعها قبل إنشاء المدرّج التكراري الأوّلي. |
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\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. |"]]