공지사항:
2025년 4월 15일 전에 Earth Engine 사용을 위해 등록된 모든 비상업용 프로젝트는 Earth Engine 액세스를 유지하기 위해
비상업용 자격 요건을 인증해야 합니다.
ee.Reducer.anyNonZero
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
입력 중 하나라도 0이 아니면 1을 반환하고 그렇지 않으면 0을 반환하는 리듀서를 반환합니다. 해당하는 경우 출력 이름은 'any'입니다.
사용 | 반환 값 |
---|
ee.Reducer.anyNonZero() | 감소기 |
인수가 없습니다.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-26(UTC)
[null,null,["최종 업데이트: 2025-07-26(UTC)"],[[["\u003cp\u003eReturns a Reducer that outputs 1 if any input value is non-zero, and 0 otherwise.\u003c/p\u003e\n"],["\u003cp\u003eThe output of this reducer is typically named "any".\u003c/p\u003e\n"],["\u003cp\u003eThis reducer has no arguments and is used to aggregate pixel values within regions of an image.\u003c/p\u003e\n"],["\u003cp\u003eUsage involves calling \u003ccode\u003eee.Reducer.anyNonZero()\u003c/code\u003e.\u003c/p\u003e\n"]]],["The `ee.Reducer.anyNonZero()` function returns a Reducer. This Reducer checks if any input values are non-zero. If at least one input is non-zero, it returns 1; otherwise, it returns 0. The output of this Reducer is named \"any\" when applicable. The function does not accept any arguments.\n"],null,["# ee.Reducer.anyNonZero\n\nReturns a Reducer that returns 1 if any of its inputs are non-zero, 0 otherwise. Where applicable, the output name is \"any\".\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|---------------------------|---------|\n| `ee.Reducer.anyNonZero()` | Reducer |\n\n**No arguments.**"]]