공지사항:
2025년 4월 15일 전에 Earth Engine 사용을 위해 등록된 모든 비상업용 프로젝트는 Earth Engine 액세스를 유지하기 위해
비상업용 자격 요건을 인증해야 합니다.
ee.Reducer.fixedHistogram
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
고정된 수의 고정 너비 bin을 사용하여 입력의 히스토그램을 계산하는 리듀서를 만듭니다. [min, max) 범위를 벗어난 값은 무시됩니다. 출력은 버킷 하한과 개수 (또는 누적 개수)의 Nx2 배열이며 픽셀별로 사용하기에 적합합니다.
사용 | 반환 값 |
---|
ee.Reducer.fixedHistogram(min, max, steps, cumulative) | 감소기 |
인수 | 유형 | 세부정보 |
---|
min | 부동 소수점 수 | 첫 번째 버킷의 하한 (포함)입니다. |
max | 부동 소수점 수 | 마지막 버킷의 상한 (제외)입니다. |
steps | 정수 | 사용할 버킷 수입니다. |
cumulative | 불리언, 기본값: false | true인 경우 누적 히스토그램을 생성합니다. |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-26(UTC)
[null,null,["최종 업데이트: 2025-07-26(UTC)"],[[["\u003cp\u003eGenerates a histogram with a fixed number of bins within a specified range (min, max).\u003c/p\u003e\n"],["\u003cp\u003eIgnores values outside the defined range and is suitable for per-pixel operations.\u003c/p\u003e\n"],["\u003cp\u003eOutputs a Nx2 array containing bucket lower edges and counts (or cumulative counts).\u003c/p\u003e\n"],["\u003cp\u003eOffers flexibility to generate cumulative histograms using the 'cumulative' parameter.\u003c/p\u003e\n"],["\u003cp\u003eCan be easily applied per-pixel for detailed image analysis.\u003c/p\u003e\n"]]],[],null,["# ee.Reducer.fixedHistogram\n\nCreates a reducer that will compute a histogram of the inputs using a fixed number of fixed width bins. Values outside of the \\[min, max) range are ignored. The output is a Nx2 array of bucket lower edges and counts (or cumulative counts) and is suitable for use per-pixel.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|--------------------------------------------------------------|---------|\n| `ee.Reducer.fixedHistogram(min, max, steps, `*cumulative*`)` | Reducer |\n\n| Argument | Type | Details |\n|--------------|-------------------------|--------------------------------------------------|\n| `min` | Float | The lower (inclusive) bound of the first bucket. |\n| `max` | Float | The upper (exclusive) bound of the last bucket. |\n| `steps` | Integer | The number of buckets to use. |\n| `cumulative` | Boolean, default: false | When true, generates a cumulative histogram. |"]]