Announcement: All noncommercial projects registered to use Earth Engine before
April 15, 2025 must
verify noncommercial eligibility to maintain Earth Engine access.
ee.Terrain.fillMinima
Stay organized with collections
Save and categorize content based on your preferences.
Fills local minima. Only works on INT types.
Usage | Returns | ee.Terrain.fillMinima(image, borderValue, neighborhood) | Image |
Argument | Type | Details | image | Image | The image to fill. |
borderValue | Long, default: null | The border value. |
neighborhood | Integer, default: 50 | The size of the neighborhood to compute over. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-13 UTC.
[null,null,["Last updated 2024-07-13 UTC."],[[["\u003cp\u003eIdentifies and fills local minima within an image, specifically designed for integer-type data.\u003c/p\u003e\n"],["\u003cp\u003eUtilizes a neighborhood-based approach to determine local minima and replaces them with specified border values.\u003c/p\u003e\n"],["\u003cp\u003eOffers control over border value assignment and neighborhood size for customized filling operations.\u003c/p\u003e\n"]]],[],null,["# ee.Terrain.fillMinima\n\nFills local minima. Only works on INT types.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|--------------------------------------------------------------------|---------|\n| `ee.Terrain.fillMinima(image, `*borderValue* `, `*neighborhood*`)` | Image |\n\n| Argument | Type | Details |\n|----------------|----------------------|-----------------------------------------------|\n| `image` | Image | The image to fill. |\n| `borderValue` | Long, default: null | The border value. |\n| `neighborhood` | Integer, default: 50 | The size of the neighborhood to compute over. |"]]