Categories

CLAHE Histogram Equalization

Apply Contrast Limited Adaptive Histogram Equalization for local contrast enhancement

Click to upload file or drag and drop file here

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

Upload any image file (JPEG, PNG, WebP, GIF, BMP, TIFF) to apply CLAHE histogram equalization

4 64 256

Size of tiles for local histogram equalization. Smaller tiles provide more local contrast enhancement

1 3 10

Contrast amplification limit. Higher values allow stronger contrast enhancement but may amplify noise

0.001 0.01 0.1

Brightness amplification limit. Lower values prevent over-amplification of bright areas

2 8 16

Number of grid divisions. Higher values create more tiles for finer local enhancement

Choose output format or keep original. PNG recommended for maximum quality

Output quality for lossy formats (JPEG, WebP). Higher = better quality but larger file size

API Documentation

Request Endpoint

POST /en/api/tools/image-clahe

Request Parameters

Parameter Name Type Required Description
imageFile file (Upload required) Yes Upload any image file (JPEG, PNG, WebP, GIF, BMP, TIFF) to apply CLAHE histogram equalization
tileSize range No Size of tiles for local histogram equalization. Smaller tiles provide more local contrast enhancement
contrastLimit range No Contrast amplification limit. Higher values allow stronger contrast enhancement but may amplify noise
brightnessLimit range No Brightness amplification limit. Lower values prevent over-amplification of bright areas
gridSize range No Number of grid divisions. Higher values create more tiles for finer local enhancement
format select No Choose output format or keep original. PNG recommended for maximum quality
quality number No Output quality for lossy formats (JPEG, WebP). Higher = better quality but larger file size

File type parameters need to be uploaded first via POST /upload/image-clahe to get filePath, then pass filePath to the corresponding file field.

Response Format

{
  "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)"
}
File: File

AI MCP Documentation

Add this tool to your MCP server configuration:

{
  "mcpServers": {
    "elysiatools-image-clahe": {
      "name": "image-clahe",
      "description": "Apply Contrast Limited Adaptive Histogram Equalization for local contrast enhancement",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=image-clahe",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

You can chain multiple tools, e.g.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 tools.

Supports URL file links or Base64 encoding for file parameters.

If you encounter any issues, please contact us at [email protected]