Processed online by Toolvito
Image Edge Detector
Find the edges in a picture and save them as a clean edge map, as coloured lines over the photo, or as lines on a transparent background.
How to detect edges
- Choose one or more pictures.
- Choose the Method (Canny gives thin, clean lines; Sobel and Scharr show how strong each edge is; Laplacian shows fine detail).
- Choose how the result looks, then press Detect edges and download it.
The methods in plain words
- Canny: finds the strongest edges and draws them one pixel wide. With both thresholds at 0 they are chosen from the picture’s median brightness (a common rule: 66% and 133% of the median). Higher thresholds give fewer lines.
- Sobel and Scharr: measure how fast the brightness changes, left-right and up-down; stronger edges are brighter. Scharr is a little more exact for diagonal edges.
- Laplacian: the second derivative; it shows fine detail and also noise.
- Smoothing (a Gaussian blur before detection) removes noise and small texture. 0 turns it off.
Good to know
- The result also tells you how much of the picture is edge, and which Canny thresholds were used.
- For a drawing-like outline effect use Photo Filters & Effects (line drawing); to fade or soften the border of a photo use its vignette.
- This is classic image processing with OpenCV, the same functions used in Python examples, so you can compare results.