공지사항:
2025년 4월 15일 전에 Earth Engine 사용을 위해 등록된 모든 비상업용 프로젝트는 Earth Engine 액세스를 유지하기 위해
비상업용 자격 요건을 인증해야 합니다.
ee.Reducer.histogram
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
입력의 히스토그램을 계산하는 리듀서를 만듭니다.
사용 | 반환 값 |
---|
ee.Reducer.histogram(maxBuckets, minBucketWidth, maxRaw) | 감소기 |
인수 | 유형 | 세부정보 |
---|
maxBuckets | 정수, 기본값: null | 히스토그램을 빌드할 때 사용할 최대 버킷 수입니다. 2의 거듭제곱으로 반올림됩니다. |
minBucketWidth | 부동 소수점 수, 기본값: null | 최소 히스토그램 버킷 너비입니다. 2의 거듭제곱을 허용하려면 null을 사용하세요. |
maxRaw | 정수, 기본값: null | 초기 히스토그램을 빌드하기 전에 누적할 값의 수입니다. |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-26(UTC)
[null,null,["최종 업데이트: 2025-07-26(UTC)"],[[["\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. |"]]