Categorías

Image Adaptive Threshold

Apply adaptive threshold operation that calculates threshold for small regions, suitable for varying lighting conditions

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

Size of a pixel neighborhood that is used to calculate a threshold for the pixel (must be odd)

Constant subtracted from the mean or weighted mean. Usually positive.

Adaptive thresholding method to use

Documentación de la API

Punto final de la solicitud

POST /es/api/tools/image-adaptive-threshold

Parámetros de la solicitud

Nombre del parámetro Tipo Requerido Descripción
imageFile file (Subida requerida) -
blockSize number Size of a pixel neighborhood that is used to calculate a threshold for the pixel (must be odd)
constant number No Constant subtracted from the mean or weighted mean. Usually positive.
method select Adaptive thresholding method to use

Los parámetros de tipo archivo necesitan ser subidos primero vía POST /upload/image-adaptive-threshold 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-adaptive-threshold": {
      "name": "image-adaptive-threshold",
      "description": "Apply adaptive threshold operation that calculates threshold for small regions, suitable for varying lighting conditions",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=image-adaptive-threshold",
      "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]