Toolvito

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.

Detect edges

Detect edges

Or drop files here. PNG, JPG, JPEG, JFIF, WEBP, GIF, BMP, TIF, TIFF, AVIF, HEIC or HEIF, up to 20 files, 50 MB each at most.

    0 is off; 1 removes fine noise; 3 or more keeps only bigger shapes.

    More options

    0 together with a high threshold of 0 chooses both from the picture.

    For coloured or transparent lines.

    When you run a task here, Toolvito receives the files you choose for processing. Download the result within one hour after the job finishes. Choose Delete files now to request earlier removal. The hourly cleanup normally removes files within one to two hours after completion.

    How to detect edges

    1. Choose one or more pictures.
    2. Choose the Method (Canny gives thin, clean lines; Sobel and Scharr show how strong each edge is; Laplacian shows fine detail).
    3. 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.

    Related tools