# ee.Algorithms.FMask.fillMinima

Fills local minima. Only works on INT types.

<br />

| Usage | Returns |
|---|---|
| `ee.Algorithms.FMask.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. |