공지사항:
2025년 4월 15일 전에 Earth Engine 사용을 위해 등록된 모든 비상업용 프로젝트는 Earth Engine 액세스를 유지하기 위해
비상업용 자격 요건을 인증해야 합니다.
ee.ImageCollection.reduce
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
컬렉션의 모든 이미지에 리듀서를 적용합니다.
감소기에 입력이 하나인 경우 컬렉션의 각 밴드에 별도로 적용됩니다. 그렇지 않으면 컬렉션의 밴드 수와 동일한 수의 입력이 있어야 합니다.
리듀서 출력 이름은 출력 밴드의 이름을 결정합니다. 입력이 여러 개인 리듀서는 출력 이름을 직접 사용하고 입력이 하나인 리듀서는 출력 이름에 입력 밴드 이름을 접두사로 붙입니다 (예: '10_mean', '20_mean').
사용 | 반환 값 |
---|
ImageCollection.reduce(reducer, parallelScale) | 이미지 |
인수 | 유형 | 세부정보 |
---|
다음과 같은 경우: collection | ImageCollection | 줄일 이미지 컬렉션입니다. |
reducer | 감소기 | 지정된 컬렉션에 적용할 리듀서입니다. |
parallelScale | 부동 소수점 수, 기본값: 1 | 메모리 사용량을 제한하는 데 사용되는 스케일링 요소입니다. 2 또는 4)를 사용하면 기본값으로 메모리가 부족한 계산을 실행할 수 있습니다. |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-27(UTC)
[null,null,["최종 업데이트: 2025-07-27(UTC)"],[[["\u003cp\u003eApplies a reducer function across all images within an ImageCollection, resulting in a single output Image.\u003c/p\u003e\n"],["\u003cp\u003eReducers can operate on individual bands or multiple bands simultaneously, determining the output band names accordingly.\u003c/p\u003e\n"],["\u003cp\u003eUtilizes a parallelScale factor to manage memory consumption during computation.\u003c/p\u003e\n"],["\u003cp\u003eAccess this functionality via the \u003ccode\u003eImageCollection.reduce()\u003c/code\u003e method, providing the reducer and optional parallelScale as parameters.\u003c/p\u003e\n"]]],[],null,["# ee.ImageCollection.reduce\n\nApplies a reducer across all of the images in a collection.\n\n\u003cbr /\u003e\n\nIf the reducer has a single input, it will be applied separately to each band of the collection; otherwise it must have the same number of inputs as the collection has bands.\n\nThe reducer output names determine the names of the output bands: reducers with multiple inputs will use the output names directly, while reducers with a single input will prefix the output name with the input band name (e.g., '10_mean', '20_mean').\n\n| Usage | Returns |\n|------------------------------------------------------|---------|\n| ImageCollection.reduce`(reducer, `*parallelScale*`)` | Image |\n\n| Argument | Type | Details |\n|--------------------|-------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------|\n| this: `collection` | ImageCollection | The image collection to reduce. |\n| `reducer` | Reducer | The reducer to apply to the given collection. |\n| `parallelScale` | Float, default: 1 | A scaling factor used to limit memory use; using a larger parallelScale (e.g., 2 or 4) may enable computations that run out of memory with the default. |"]]