Edge Detection
Highlight edges and outlines in images
Edge Detection
Highlight edges and outlines in images
Overview
The Edge Detection node uses the Sobel algorithm to find and highlight edges in an image. It produces a grayscale image where bright pixels indicate strong edges (boundaries between different colors/tones).
Usage Tips
- Use a small radius (1-2) for detailed edge detection
- Apply Gaussian Blur before edge detection to reduce noise
- Invert the output for white backgrounds with dark lines
- Great for creating line art effects from photos
Common Pairings
- Gaussian Blur - Pre-blur to reduce noise before edge detection
- Invert - Invert for dark lines on light background
- Adjust BCG - Increase contrast to strengthen edge visibility
Gotchas
- Output is grayscale - apply color adjustment nodes if needed
- Noisy images produce noisy edges - blur first
- Very low contrast images may produce few visible edges
Technical Reference
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
input | Image | Yes | Image to process |
Outputs
| Name | Type | Description |
|---|---|---|
output | Image | Edge-detected image |
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
params_radius | number | 1 | Detection sensitivity radius |