Anuncio: Todos los proyectos no comerciales registrados para usar Earth Engine antes del
15 de abril de 2025 deben
verificar su elegibilidad no comercial para mantener el acceso a Earth Engine.
ee.Image.focalMin
Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
Aplica un filtro de reducción morfológica() a cada banda de una imagen con un kernel personalizado o con nombre.
Uso | Muestra |
---|
Image.focalMin(radius, kernelType, units, iterations, kernel) | Imagen |
Argumento | Tipo | Detalles |
---|
esta: image | Imagen | Es la imagen a la que se aplicarán las operaciones. |
radius | Número de punto flotante, valor predeterminado: 1.5 | Es el radio del kernel que se usará. |
kernelType | Cadena, valor predeterminado: "circle" | Es el tipo de kernel que se usará. Las opciones incluyen "circle", "square", "cross", "plus", "octagon" y "diamond". |
units | Cadena, valor predeterminado: "pixels" | Si no se especifica un kernel, este parámetro determina si el kernel está en metros o píxeles. |
iterations | Número entero, valor predeterminado: 1 | Cantidad de veces que se aplicará el kernel determinado. |
kernel | Kernel, valor predeterminado: nulo | Un kernel personalizado Si se usa, se ignoran kernelType y radius. |
Salvo que se indique lo contrario, el contenido de esta página está sujeto a la licencia Atribución 4.0 de Creative Commons, y los ejemplos de código están sujetos a la licencia Apache 2.0. Para obtener más información, consulta las políticas del sitio de Google Developers. Java es una marca registrada de Oracle o sus afiliados.
Última actualización: 2025-07-26 (UTC)
[null,null,["Última actualización: 2025-07-26 (UTC)"],[[["\u003cp\u003eApplies a morphological reducer, \u003ccode\u003efocalMin()\u003c/code\u003e, to each band of an image.\u003c/p\u003e\n"],["\u003cp\u003eUses a kernel specified by type ('circle', 'square', etc.), radius, and units (pixels or meters) to define the neighborhood for reduction.\u003c/p\u003e\n"],["\u003cp\u003eAllows custom kernels to override default kernel settings for more specialized operations.\u003c/p\u003e\n"],["\u003cp\u003eOptionally, performs the reduction multiple times using the \u003ccode\u003eiterations\u003c/code\u003e parameter.\u003c/p\u003e\n"],["\u003cp\u003eReturns a new image with the filter applied.\u003c/p\u003e\n"]]],["The `focalMin()` function applies a morphological reducer filter to each image band. It utilizes either a predefined kernel type (circle, square, etc.) or a user-defined kernel. Key actions include specifying the kernel's radius, type, units (pixels or meters), and iterations. The function can also utilize a custom kernel, in which case the kernel type and radius are disregarded. The output is an image with the filter applied.\n"],null,["# ee.Image.focalMin\n\nApplies a morphological reducer() filter to each band of an image using a named or custom kernel.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-----------------------------------------------------------------------------------------|---------|\n| Image.focalMin`(`*radius* `, `*kernelType* `, `*units* `, `*iterations* `, `*kernel*`)` | Image |\n\n| Argument | Type | Details |\n|---------------|---------------------------|------------------------------------------------------------------------------------------------------------|\n| this: `image` | Image | The image to which to apply the operations. |\n| `radius` | Float, default: 1.5 | The radius of the kernel to use. |\n| `kernelType` | String, default: \"circle\" | The type of kernel to use. Options include: 'circle', 'square', 'cross', 'plus', 'octagon', and 'diamond'. |\n| `units` | String, default: \"pixels\" | If a kernel is not specified, this determines whether the kernel is in meters or pixels. |\n| `iterations` | Integer, default: 1 | The number of times to apply the given kernel. |\n| `kernel` | Kernel, default: null | A custom kernel. If used, kernelType and radius are ignored. |"]]