Announcement: All noncommercial projects registered to use Earth Engine before April 15, 2025 must verify noncommercial eligibility to maintain access. If you have not verified by September 26, 2025, your access may be on hold.
Stay organized with collections
Save and categorize content based on your preferences.
Create a reducer that will compute a histogram of the inputs. The output is a Nx2 array of the lower bucket bounds and the counts (or cumulative counts) of each bucket and is suitable for use per-pixel.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-19 UTC."],[],["This documentation describes a reducer for computing histograms. The `ee.Reducer.autoHistogram` function generates a reducer that outputs an Nx2 array of lower bucket bounds and their counts. Key parameters include `maxBuckets` (maximum number of buckets, rounded up to a power of 2), `minBucketWidth` (minimum bucket width), `maxRaw` (values to accumulate before histogram build), and `cumulative` (boolean for cumulative counts).\n"]]