Image Roberts Cross Edge Detection
Apply Roberts Cross operator for simple and fast edge detection, particularly effective for diagonal edges
API Documentation
Request Endpoint
Request Parameters
| Parameter Name | Type | Required | Description |
|---|---|---|---|
| imageFile | file (Upload required) | Yes | Image to apply Roberts Cross edge detection |
| direction | select | No | Direction of diagonal edge detection to apply |
| threshold | number | No | Threshold for edge detection (0-255). Higher values detect only strong edges |
| outputMode | select | No | How to render the edge detection results |
| normalize | checkbox | No | Normalize the output to enhance edge visibility |
File type parameters need to be uploaded first via POST /upload/image-roberts 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-roberts": {
"name": "image-roberts",
"description": "Apply Roberts Cross operator for simple and fast edge detection, particularly effective for diagonal edges",
"baseUrl": "https://elysiatools.com/mcp/sse?toolId=image-roberts",
"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]