Median Pass Filter
Apply median pass filter to remove noise while preserving edges with multiple algorithms
API Documentation
Request Endpoint
Request Parameters
| Parameter Name | Type | Required | Description |
|---|---|---|---|
| imageFile | file (Upload required) | Yes | Upload any image file (JPEG, PNG, WebP, GIF, BMP, TIFF) to remove noise while preserving edges |
| algorithm | select | No | Choose median filter algorithm. Standard works well for most noise types |
| kernelSize | range | No | Size of the median filter kernel (must be odd). Larger kernels remove more noise but may blur details |
| iterations | number | No | Number of median filter passes. More iterations = stronger noise reduction |
| threshold | range | No | Sensitivity for noise detection. Higher values filter less aggressively |
| preserveEdges | checkbox | No | Maintain edge detail while removing noise |
| channels | select | No | Choose which color channels to process |
| 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-median-pass 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)"
}
AI MCP Documentation
Add this tool to your MCP server configuration:
{
"mcpServers": {
"elysiatools-image-median-pass": {
"name": "image-median-pass",
"description": "Apply median pass filter to remove noise while preserving edges with multiple algorithms",
"baseUrl": "https://elysiatools.com/mcp/sse?toolId=image-median-pass",
"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]