Categorías

Image Erode

Apply erosion morphological operation to shrink foreground objects in binary images

Click to upload file or drag and drop file here

Maximum file size: 10MB Supported formats: image/jpeg, image/png, image/webp, image/gif, image/bmp, image/tiff

Works best with binary (black and white) images

Number of times to apply erosion. More iterations = more shrinkage

Documentación de la API

Punto final de la solicitud

POST /es/api/tools/image-erode

Parámetros de la solicitud

Nombre del parámetro Tipo Requerido Descripción
imageFile file (Subida requerida) Works best with binary (black and white) images
iterations number No Number of times to apply erosion. More iterations = more shrinkage

Los parámetros de tipo archivo necesitan ser subidos primero vía POST /upload/image-erode para obtener filePath, luego pasar filePath al campo de archivo correspondiente.

Formato de respuesta

{
  "filePath": "/public/processing/randomid.ext",
  "fileName": "output.ext",
  "contentType": "application/octet-stream",
  "size": 1024,
  "metadata": {
    "key": "value"
  },
  "error": "Error message (optional)",
  "message": "Notification message (optional)"
}
Archivo: Archivo

Documentación de MCP

Agregue este herramienta a su configuración de servidor MCP:

{
  "mcpServers": {
    "elysiatools-image-erode": {
      "name": "image-erode",
      "description": "Apply erosion morphological operation to shrink foreground objects in binary images",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=image-erode",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

Puede encadenar múltiples herramientas, por ejemplo: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, máximo 20 herramientas.

Soporte para enlaces de archivos URL o codificación Base64 para parámetros de archivo.

Si encuentra algún problema, por favor, póngase en contacto con nosotros en [email protected]