[[["易于理解","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"]],["最后更新时间 (UTC):2025-02-18。"],[[["Earth Engine uses focal operations like `focalMax()`, `focalMin()`, `focalMedian()`, and `focalMode()` to implement morphological operations for image processing."],["Morphological operations, such as erosion, dilation, opening, and closing, can be performed using these focal operations to modify image structures."],["Users can define kernels to specify the shape and size of the neighborhood used in the operations and control the number of times the operation is applied with the iterations argument."],["An opening operation, for example, can be achieved by applying `focalMin()` followed by `focalMax()` with a defined kernel."]]],["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"]]