ee.Reducer.histogram
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
یک کاهنده ایجاد کنید که هیستوگرام ورودی ها را محاسبه کند.
استفاده | برمی گرداند | ee.Reducer.histogram( maxBuckets , minBucketWidth , maxRaw ) | کاهنده |
استدلال | تایپ کنید | جزئیات | 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\u003eThe \u003ccode\u003eee.Reducer.histogram()\u003c/code\u003e creates a reducer for computing a histogram of image values within regions.\u003c/p\u003e\n"],["\u003cp\u003eIt allows for customization through optional parameters like \u003ccode\u003emaxBuckets\u003c/code\u003e, \u003ccode\u003eminBucketWidth\u003c/code\u003e, and \u003ccode\u003emaxRaw\u003c/code\u003e to manage the histogram's structure and initial accumulation.\u003c/p\u003e\n"],["\u003cp\u003eUsers can define the maximum number of buckets, set the minimum width for each bucket, and control the initial data accumulation for building the histogram.\u003c/p\u003e\n"]]],[],null,["# ee.Reducer.histogram\n\nCreate a reducer that will compute a histogram of the inputs.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|--------------------------------------------------------------------------|---------|\n| `ee.Reducer.histogram(`*maxBuckets* `, `*minBucketWidth* `, `*maxRaw*`)` | Reducer |\n\n| Argument | Type | Details |\n|------------------|------------------------|-----------------------------------------------------------------------------------------------------|\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. |"]]