Skip to content
VIDEOMONTAZHERDAVINCI RESOLVE · VIDEO · AI

Resolve FX Stylize · DaVinci Resolve 21

Edge Detect

A configurable contour-extraction effect for monochrome or RGB edge maps, graphic outlines, technical analysis and stylized line-art treatments.

RGB / GrayscaleEdge MaskHalf-EdgesPreprocessNormalize

Version and exercise conditions

Editorial review
Documentation
Controls: DaVinci Resolve 21.1 manual, pp. 3664–3666; illustrations: Resolve 21.
Edition
The 21.1 manual does not label this effect Studio Version Only. This covers desktop Resolve; availability on other platforms is not established here.
Exercise route
Color page: an input-brightness node followed by a separate Edge Detect node. Motion is created inside the source Compound Clip.

These authored exercises were checked against the control descriptions in the 21.1 manual. Results in an installed Resolve build were not measured here. The downloadable diagrams are unprocessed inputs.

Open the complete exercise

Edge-map anatomy

Detect, shape, filter, then composite

Edge Detect is useful because each stage is explicit: choose color or grayscale edges, shape the contour response, preprocess or isolate one edge polarity, then evaluate input brightness and blend the result.

Color and brightness boundaries

Mode: RGB Edges / Grayscale Edges

RGB Edges finds boundaries from color and brightness differences. Grayscale Edges uses brightness changes; Edge Color is available in this mode to tint the resulting lines. Compare both modes on the same frame: colored regions with similar brightness can behave differently. The resulting edge image is not automatically an alpha channel.

  • For a shape check, start with Grayscale Edges and white Edge Color against black.
  • For colored outlines, compare RGB Edges with the same Edge Width, Brightness and Gamma.
  • If the result will drive a matte, configure that conversion separately in your compositing setup.
Width, brightness and line visibility

Detection

Edge Width changes line thickness; Brightness changes overall edge brightness. Gamma below 1 boosts mid-strength edges, while Gamma above 1 darkens them and leaves stronger boundaries more prominent. Blur softens the result. Edge Mask Overlay displays edges over the original frame when enabled; disabling it shows the edge image by itself.

  • Adjust Edge Width at 100% viewing scale and recheck at delivery size.
  • Do not confuse Gamma with a separate threshold: the Edge Detect panel has no Threshold control.
  • Temporarily disable Overlay to inspect faint lines; enable it again to check their position against the source.
Preprocessing and edge polarity

Filters

Preprocess prepares the image before edge detection. None disables preprocessing; Filter reduces texture using Scale; Flatten smooths regions using Strength. Half-Edges Only keeps both sides of a boundary or only its light or dark side. When one side is selected, Half-Edge Gain adjusts its brightness separately.

  • If fine texture overwhelms the contours, first compare Preprocess None with Filter at different Scale values.
  • Then compare Gamma 1 with a higher value to suppress mid-strength boundaries; change only one control at a time.
  • Keep Light Side and Keep Dark Side select a side of the transition; they do not track a subject. Verify the selected side with the overlay.
Input brightness and final blending

Advanced Options + Global Blend

Normalize Per Frame adjusts each incoming frame to a consistent brightness level so contours remain visible as illumination changes. It is not tracking or averaging motion between frames. Clamp Brightness limits excessive output-edge brightness. Global Blend sets the contribution of the complete effect relative to its input image.

  • Start with Normalize Per Frame off. Compare it on an excerpt with changing brightness while keeping the other settings fixed.
  • Review dark and bright sections as well as composition changes: automatic normalization does not guarantee a constant appearance for every line.
  • Judge Clamp Brightness on the brightest boundaries and adjust Global Blend after cleaning up the edge image.

Color and brightness boundaries

Mode: RGB Edges / Grayscale Edges

RGB Edges finds boundaries from color and brightness differences. Grayscale Edges uses brightness changes; Edge Color is available in this mode to tint the resulting lines. Compare both modes on the same frame: colored regions with similar brightness can behave differently. The resulting edge image is not automatically an alpha channel.

For a shape check, start with Grayscale Edges and white Edge Color against black.
For colored outlines, compare RGB Edges with the same Edge Width, Brightness and Gamma.
If the result will drive a matte, configure that conversion separately in your compositing setup.

Color and brightness boundaries

Mode: RGB Edges / Grayscale Edges

RGB Edges finds boundaries from color and brightness differences. Grayscale Edges uses brightness changes; Edge Color is available in this mode to tint the resulting lines. Compare both modes on the same frame: colored regions with similar brightness can behave differently. The resulting edge image is not automatically an alpha channel.

For a shape check, start with Grayscale Edges and white Edge Color against black.
For colored outlines, compare RGB Edges with the same Edge Width, Brightness and Gamma.
If the result will drive a matte, configure that conversion separately in your compositing setup.

Color and brightness boundaries

Mode: RGB Edges / Grayscale Edges

RGB Edges finds boundaries from color and brightness differences. Grayscale Edges uses brightness changes; Edge Color is available in this mode to tint the resulting lines. Compare both modes on the same frame: colored regions with similar brightness can behave differently. The resulting edge image is not automatically an alpha channel.

For a shape check, start with Grayscale Edges and white Edge Color against black.
For colored outlines, compare RGB Edges with the same Edge Width, Brightness and Gamma.
If the result will drive a matte, configure that conversion separately in your compositing setup.

Preprocessing and edge polarity

Filters

Preprocess prepares the image before edge detection. None disables preprocessing; Filter reduces texture using Scale; Flatten smooths regions using Strength. Half-Edges Only keeps both sides of a boundary or only its light or dark side. When one side is selected, Half-Edge Gain adjusts its brightness separately.

If fine texture overwhelms the contours, first compare Preprocess None with Filter at different Scale values.
Then compare Gamma 1 with a higher value to suppress mid-strength boundaries; change only one control at a time.
Keep Light Side and Keep Dark Side select a side of the transition; they do not track a subject. Verify the selected side with the overlay.

Color and brightness boundaries

Mode: RGB Edges / Grayscale Edges

RGB Edges finds boundaries from color and brightness differences. Grayscale Edges uses brightness changes; Edge Color is available in this mode to tint the resulting lines. Compare both modes on the same frame: colored regions with similar brightness can behave differently. The resulting edge image is not automatically an alpha channel.

For a shape check, start with Grayscale Edges and white Edge Color against black.
For colored outlines, compare RGB Edges with the same Edge Width, Brightness and Gamma.
If the result will drive a matte, configure that conversion separately in your compositing setup.

Width, brightness and line visibility

Detection

Edge Width changes line thickness; Brightness changes overall edge brightness. Gamma below 1 boosts mid-strength edges, while Gamma above 1 darkens them and leaves stronger boundaries more prominent. Blur softens the result. Edge Mask Overlay displays edges over the original frame when enabled; disabling it shows the edge image by itself.

Adjust Edge Width at 100% viewing scale and recheck at delivery size.
Do not confuse Gamma with a separate threshold: the Edge Detect panel has no Threshold control.
Temporarily disable Overlay to inspect faint lines; enable it again to check their position against the source.

Color and brightness boundaries

Mode: RGB Edges / Grayscale Edges

RGB Edges finds boundaries from color and brightness differences. Grayscale Edges uses brightness changes; Edge Color is available in this mode to tint the resulting lines. Compare both modes on the same frame: colored regions with similar brightness can behave differently. The resulting edge image is not automatically an alpha channel.

For a shape check, start with Grayscale Edges and white Edge Color against black.
For colored outlines, compare RGB Edges with the same Edge Width, Brightness and Gamma.
If the result will drive a matte, configure that conversion separately in your compositing setup.

Input brightness and final blending

Advanced Options + Global Blend

Normalize Per Frame adjusts each incoming frame to a consistent brightness level so contours remain visible as illumination changes. It is not tracking or averaging motion between frames. Clamp Brightness limits excessive output-edge brightness. Global Blend sets the contribution of the complete effect relative to its input image.

Start with Normalize Per Frame off. Compare it on an excerpt with changing brightness while keeping the other settings fixed.
Review dark and bright sections as well as composition changes: automatic normalization does not guarantee a constant appearance for every line.
Judge Clamp Brightness on the brightest boundaries and adjust Global Blend after cleaning up the edge image.

Color and brightness boundaries

Mode: RGB Edges / Grayscale Edges

RGB Edges finds boundaries from color and brightness differences. Grayscale Edges uses brightness changes; Edge Color is available in this mode to tint the resulting lines. Compare both modes on the same frame: colored regions with similar brightness can behave differently. The resulting edge image is not automatically an alpha channel.

For a shape check, start with Grayscale Edges and white Edge Color against black.
For colored outlines, compare RGB Edges with the same Edge Width, Brightness and Gamma.
If the result will drive a matte, configure that conversion separately in your compositing setup.

Input brightness and final blending

Advanced Options + Global Blend

Normalize Per Frame adjusts each incoming frame to a consistent brightness level so contours remain visible as illumination changes. It is not tracking or averaging motion between frames. Clamp Brightness limits excessive output-edge brightness. Global Blend sets the contribution of the complete effect relative to its input image.

Start with Normalize Per Frame off. Compare it on an excerpt with changing brightness while keeping the other settings fixed.
Review dark and bright sections as well as composition changes: automatic normalization does not guarantee a constant appearance for every line.
Judge Clamp Brightness on the brightest boundaries and adjust Global Blend after cleaning up the edge image.

Practical workflow

A clean five-step Edge Detect workflow

1. Choose Mode

Compare RGB Edges and Grayscale Edges on one frame. In Grayscale mode, also choose Edge Color.

2. Shape detection

Tune Width, Brightness, Gamma and Blur until important contours are readable without noisy micro-detail.

3. Use the overlay

Enable Edge Mask Overlay to see what Resolve is actually classifying as an edge before styling further.

4. Refine Filters

Try Preprocess and Half-Edges Only when the raw double contour is too busy or texture-heavy.

5. Check brightness and blend

Use Normalize/Clamp only when needed, then set Global Blend for the final integration with the source.

REPEAT IN RESOLVE

Compare Normalize Per Frame on one moving input

Check how input-brightness normalization affects the same contours as Gain changes. The comparison must change only Normalize Per Frame.

Prepare the same starting conditions

  • Create a separate 1920×1080, 24 fps timeline. In Color Management choose DaVinci YRGB and Timeline Color Space Rec.709 Gamma 2.4. Add no LUT or CST: these are fixed conditions for comparing graphics, not a camera-profile description.
  • Put the detail-chart PNG on V1 for 6 seconds. In Edit set linear Zoom 1.000 on the first frame to 1.100 on the last (frame 143 at 24 fps). Make this single clip a Compound Clip. Keep the animation inside it, upstream of the outer Color nodes.
  • Cut the Compound Clip at 2 and 4 seconds. Do not move the pieces or add transitions: motion remains continuous. These are three sections of one source, not different images. Use Local Grades and ordinary nodes; Remote Grades or Shared Nodes can couple settings between copies.
Detail chart · 1920×1080

Authored RGB values with no camera profile: major shapes, a gradient and 4/8/16 px bars. No effects have been applied.

Input notes

Origin, transparency and scope of the examples.

  1. Set a controlled input change

    Create two serial Color nodes on each of the three clips. In the first node leave all other settings at default and set master Gain to 1.000 on the first clip, 0.250 on the second and 1.000 on the third. Reserve the second node for Edge Detect.

    Check

    With the second node bypassed, the middle section is visibly darker and motion continues across the cuts. These values define the experiment; they are not claimed as exact exposure changes in EV.

  2. Fix the edge settings

    Apply Edge Detect to the second node of all three clips with identical settings: Grayscale Edges, white Edge Color, Edge Width 0.200, Brightness 2.500, Gamma 1.000, Blur 0.000, Preprocess None and Half-Edges Only None. Disable Edge Mask Overlay and Normalize Per Frame; enable Clamp Brightness and set Global Blend to 1.000.

    Check

    The output shows the edge image without the source image. Record the appearance of the hole, outer silhouette and fine stripes at seconds 1, 3 and 5.

  3. Create a controlled A/B pair

    Name this timeline A — Normalize Off and duplicate it as B — Normalize On. In B enable only Normalize Per Frame in the second node of each clip. Keep Gain, motion, Gamma, Preprocess and Brightness unchanged.

    Check

    First return to A and confirm Normalize remains off there. Then compare the timelines at matching relative timecodes. This isolates one checkbox; differences in other settings make the conclusion unreliable.

  4. Review the whole range

    Compare A/B at seconds 1, 3 and 5, then play all 6 seconds, paying attention to the cuts at 2/4 seconds. Watch the large outline and fine texture separately. To check line positions, temporarily enable Edge Mask Overlay in both A and B.

    Check

    Assess whether Normalize helps preserve contours in the dark section and whether it changes other lines undesirably. Do not interpret it as motion correction or a guarantee of temporal stability.

  5. Refine fine boundaries separately

    After assessing Normalize, save the chosen version. Only then compare Preprocess None with Filter while changing Scale, or compare Gamma 1.000 with 1.500. Return to the saved base before each comparison and adjust Global Blend last.

    Check

    Texture suppression uses the actual Scale/Strength/Gamma controls rather than a nonexistent Threshold control. Retain the boundaries required by the task.

How to assess your result

  • A and B use the same moving source, Gain and effect settings; only Normalize Per Frame differs.
  • The conclusion covers bright/dark sections and transitions rather than a single favorable frame.
  • The edge image is not described as a ready-made alpha channel, and Normalize is not described as tracking or guaranteed flicker removal.

WHEN THE RESULT LOOKS WRONG

Symptom, check, correction

The reader looks for a Threshold missing from the panel

First check
Check Detection: Edge Width, Brightness, Gamma, Blur and Edge Mask Overlay.
Then correct
Use Gamma and Preprocess to shape edge selection. Edge Detection Threshold belongs to Abstraction.

Required lines disappear in the dark section

First check
Compare Normalize Off/On with the same input Gain and remaining settings.
Then correct
Keep Normalize if it improves the whole excerpt; otherwise refine input brightness or detection settings and repeat the comparison.

Stripes and small details overwhelm the contours

First check
Check Preprocess and Gamma separately with Overlay temporarily off.
Then correct
Reduce unwanted texture through Filter/Scale or Flatten/Strength, then adjust Gamma and width. Do not try to solve every issue with overall Brightness.

Sources and verification scope

These authored exercises were checked against the control descriptions in the 21.1 manual. Results in an installed Resolve build were not measured here. The downloadable diagrams are unprocessed inputs.

FAQ

Practical Edge Detect questions

How do RGB Edges and Grayscale Edges differ?

RGB Edges detects color and brightness differences; Grayscale Edges uses brightness changes. Grayscale also enables Edge Color for tinting the detected lines.

Where is Threshold?

Edge Detect has no such control. Use Gamma to change mid-strength edge visibility and Preprocess to prepare texture. Edge Detection Threshold belongs to Abstraction.

What does Half-Edges Only do?

It keeps both sides of a boundary or only the light or dark side. Half-Edge Gain further adjusts the selected side’s brightness; this is not subject tracking.

When should Normalize Per Frame be enabled?

Compare it when source brightness varies. It normalizes each incoming frame to help preserve edges, but does not track motion or guarantee flicker removal. With steady brightness, start with it disabled.

Resolve FX Stylize

Edge Detect adds contour-driven styling

Previous FX

Drop Shadow

Return to shadow design for titles, graphics and cut-out elements.

Next FX

Emboss

Continue from contour extraction into directional relief, Sobel and Laplacian edge styling.

Creative use

Use RGB Edges for colored lines or Grayscale Edges for brightness boundaries. Configure any conversion to a matte separately.

Design rule

Build the contour cleanly before raising Brightness. A noisy edge map only becomes noisier when amplified.