Earth Engine은 형상학적 작업을 포컬 작업으로 구현합니다. 특히 Image 클래스의 focalMax(), focalMin(), focalMedian(), focalMode() 인스턴스 메서드가 여기에 해당합니다. (이는 숫자 출력이 있는 모든 리듀서에 커널의 픽셀을 입력할 수 있는 더 일반적인 reduceNeighborhood()의 바로가기입니다. 이 페이지에서 이웃 수를 줄이는 방법을 자세히 알아보세요. 형태학적 연산자는 침식, 확장, 개방, 폐쇄와 같은 작업을 수행하는 데 유용합니다. 예를 들어 열기 작업을 실행하려면 focalMin() 다음에 focalMax()를 사용합니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-07-25(UTC)"],[],["Earth Engine's `Image` class provides `focalMax()`, `focalMin()`, `focalMedian()`, and `focalMode()` for morphological operations like erosion, dilation, opening, and closing. These operations use a kernel to define the neighborhood of pixels. For example, the opening operation is achieved by applying `focalMin()` then `focalMax()`. A kernel argument defines the area for computation, and the iterations argument specifies the number of operator applications. The provided code demonstrates the opening operation on a Landsat 8 image using a circular kernel.\n"]]