FUSION · FULL ARTICLE
Wand
Builds a connected mask from Selection Point: matching pixels are added while neighboring regions remain within the selected range. An incoming blue mask is combined through Paint Mode.
Overview
Wand starts with the pixel color beneath the crosshair and grows the selection through qualifying neighboring pixels. Growth stops when no connected qualifying region remains. Sample placement and connectivity therefore matter; this differs substantially from globally selecting every pixel of one color.
Selection Point uses normalized Fusion coordinates and may change over time. A point on an edge, highlight or another object changes the sample. In 640×360, raster point (112,180) corresponds approximately to (0.175,0.5); account for top-origin PNG raster coordinates when converting Y.
Color Space selects the comparison space; Channel selects all color, one component or alpha. Component choices depend on the space. In RGB, Green ignores Red/Blue differences but retains connectivity. This controls mask computation, not color management for the whole composition.
Range defines fully included colors around the sample. Range Soft Edge gives partial coverage to nearby colors beyond the main range. Soft Edge works spatially by blurring the completed mask with the selected Filter. A stepped color chart distinguishes the two softness controls without relying on subjective edge appearance.
The blue EffectMask on Wand combines masks. Connecting it exposes Paint Mode: Multiply retains the intersection and multiplies values, Copy uses the new Wand mask, and Ignore uses the incoming mask. It is inaccurate to describe this input as an ordinary analysis-region mask.
Level sets coverage, while Invert reverses the entire mask; this differs from the similarly named Paint Mode used during combination. Connect Wand output to an effect mask input. For standalone alpha inspection, the lessons use it to mask a white Background, which produces an image for MediaOut.
Image controls resolution and domain-of-definition handling. The supplied panel offers Output Size Default/Custom and Clipping Mode None/Frame. Default follows composition settings; check size alignment with unusual sources. Frame uses the full frame as the DoD rather than recomputing a color key.
When to use it
- Selecting one connected colored region.
- An initial mask for local correction.
- Selecting by one component despite differences in other channels.
- Combining color selection with a geometric restriction.
Article screenshots
Inputs & outputs
Wand · inputs and output
Choose the sample and connected region first, then color tolerance, coverage and mask combination. Image sets the mask dimensions.
Wand receives an image for analysis and outputs a mask. The sample under Selection Point starts a connected selection: a separate island of the same color need not be selected. Range and Range Soft Edge control color tolerance; Soft Edge feathers the resulting coverage.
Inputs
- Input
Sample image
Receives: An image whose colors produce a connected selection.
Inside the node: Selection Point sets the sample; Channel/Range determine qualifying neighbors.
Typical sources: MediaIn.Output · Merge.Output · Background.Output
Lessons explicitly connect Input; implicit sampling depends on the receiving-node context.
- EffectMask
Incoming mask for combination
Receives: Coverage from another mask node.
Inside the node: Paint Mode combines it with the new Wand mask.
Typical sources: RectangleMask.Mask · EllipseMask.Mask · PolygonMask.Mask
This is neither an analysis limiter nor an ordinary post-effect mask. Multiply, Copy and Ignore give different results.
Outputs and destination
Mask
Connected-selection coverage with softness, Level, combination and Invert.
Next step: Background.EffectMask · Merge.EffectMask · ColorCorrector.EffectMask
For MediaOut first turn coverage into RGBA through Background; mask and image are not interchangeable.
- Mask
- Connected-selection coverage with softness, Level, combination and Invert. For MediaOut first turn coverage into RGBA through Background; mask and image are not interchangeable.
Processing order
- Image → Selection Point sample
- Connected growth: Color Space / Channel / Range
- Soft Edge / Level / Invert and Paint Mode
- Mask → an effect mask input
Coverage preview
MediaIn → Wand.Input; Wand.Mask → Background.EffectMask; Background → MediaOut.Input
A white Background with Alpha=1 and Multiply by Mask previews the selection as RGB/alpha.
Choose the sample and connected region first, then color tolerance, coverage and mask combination. Image sets the mask dimensions.
Parameters
Wand · Inspector reference
Choose the sample and connected region first, then color tolerance, coverage and mask combination. Image sets the mask dimensions.
- Source
- Supply an image and choose an interior sample.
- Selection
- Test connectivity and the selected Channel.
- Coverage
- Separate color and spatial softness.
- Output
- Combine masks and inspect alpha/size.
Coverage · Visibility and coverage
Level, spatial softness and final inversion.
- Show View Controls
Coverage > Show View ControlsVisibility of the crosshair and other onscreen controls. Turning it off hides Selection Point controls even when the node is selected; it does not disable mask computation.
Check / distinguish: Keep it enabled while choosing the sample, then inspect an unobstructed Viewer.
- Level
Coverage > LevelThe mask coverage level. 1 gives full coverage to selected pixels; lower values make the mask translucent. Evaluate the complete result when combining masks.
Check / distinguish: Inspect numeric alpha inside a solid region at 1 and 0.5.
- Filter
Coverage > FilterThe algorithm used by spatial Soft Edge. The supplied Inspector menu lists Box, Bartlett, Multi-box, Gaussian and Fast Gaussian. At Soft Edge=0, changing Filter does not replace color tolerance.
Check / distinguish: Compare filters with one nonzero Soft Edge and a fixed sample.
- Soft Edge
Coverage > Soft EdgeSpatial feathering of the completed mask. Blurring uses Filter and can extend beyond the previous boundary. This differs from partial color inclusion through Range Soft Edge.
Check / distinguish: Study the mask at 0 before adding needed feathering.
- Invert
Coverage > InvertInversion of the complete mask. The Invert checkbox affects every pixel, including black regions; Paint Mode Invert serves a different combination role.
Check / distinguish: Compare the selected region and background together.
- Spatial softness
Filter → Soft EdgeThis Filter blurs the created mask. It does not change connectivity or the compared component list.
Check / distinguish: Remove Range Soft Edge before adding Soft Edge.
- Incoming mask combination
EffectMask → Paint ModeThe blue input enables Paint Mode. Multiply multiplies coverages; Copy takes the new Wand mask; Ignore retains the input.
Check / distinguish: With incoming mask Level=0.5 and Multiply, expect half coverage in the intersection.
- Two meanings of invert
Invert / Paint Mode: InvertThe Invert checkbox inverts the entire mask. Paint Mode Invert operates in the area covered by the new mask.
Check / distinguish: Clear the checkbox for a control and inspect Paint Mode separately.
Sample and metric · Sample and comparison
The point starts connected selection through chosen components.
- Selection Point X
Sample and metric > Selection Point XHorizontal source-sample coordinate. Part of Selection Point. Moving between disconnected matching islands starts the selection in another region.
Check / distinguish: Use X=0.175 for the fixture’s left island.
- Selection Point Y
Sample and metric > Selection Point YVertical source-sample coordinate. Choose an interior pixel with a representative color. For top-origin raster Y, use 1−Y/height to locate a point inside the region.
Check / distinguish: Use Y=0.5 in both main fixture regions.
- Selection Point
Sample and metric > Selection PointThe combined color-selection point. X/Y and the combined Point describe one pair. It is a sample address, not a shape center or an automatically tracked object.
Check / distinguish: Inspect the source pixel before changing Range.
- Color Space
Sample and metric > Color SpaceThe space in which values are compared. RGB, HLS, YUV and LAB provide different comparison components and ranges. This does not change project color management.
Check / distinguish: Start with RGB and one known component.
- Channel
Sample and metric > ChannelChoice of all color, one component or alpha. For RGB the menu contains RGB, Red, Green, Blue and Alpha; other spaces change component labels. Equal Green does not imply equal RGB.
Check / distinguish: Compare RGB and Green on neighboring fixture regions.
- Connected growth
Selection Point → RangeWand grows through qualifying neighbors. A separate island may share RGB and remain black.
Check / distinguish: Move the point from the left island to the right with Range fixed.
- Sample coordinates
Selection Point X / YThe pair and individual X/Y fields represent one point. An edge sample may hit another region.
Check / distinguish: For the fixture use (0.175,0.5) or (0.775,0.5).
- Single-channel selection
RGB → GreenGreen ignores Red/Blue. An adjacent equal-G strip may be included despite a different full color.
Check / distinguish: Compare RGB and Green at Range=0 using one sample.
Color tolerance · Color tolerance
Full and partial inclusion of similar colors.
- Range
Color tolerance > RangeThe main range of fully included colors. At 0, exact sample values qualify while connectivity still applies. Widening tolerance may open a route into an adjacent region.
Check / distinguish: Change Range with Range Soft Edge=0 for a clean comparison.
- Range Soft Edge
Color tolerance > Range Soft EdgeThe color range given partial coverage. Nearby colors beyond Range receive translucent coverage. This is not a spatial Gaussian blur of the edge.
Check / distinguish: Compare solid and gray Green bands with Soft Edge=0.
- Full tolerance
RangeA larger Range expands fully included colors. Zero tolerance is useful with flat test colors.
Check / distinguish: Do not compare thresholds after an unaccounted source color-interpretation change.
- Color softness
Range Soft EdgePartial coverage depends on color distance from the range. A flat color step may therefore be uniformly gray.
Check / distinguish: Keep Soft Edge=0 and inspect interior step pixels.
Output and time · Output and time
Mask size, data domain and sample motion.
- Output Size
Output and time > Output SizeOutput-mask resolution. Default/Custom are on Image. Default follows the composition Frame Format; Custom exposes size controls. A mask does not resize the analyzed source.
Check / distinguish: Match source and composition at 640×360 for the lesson.
- Clipping Mode
Output and time > Clipping ModeDomain-of-definition boundary handling. Frame sets the full frame as DoD and treats missing regions as black/transparent. None retains the source domain without that framing; missing samples are still not created.
Check / distinguish: Inspect size, alpha and Soft Edge with one mode fixed.
- Keyframes
Output and time > KeyframesAnimation of a selected masking control. Keyframes is a workflow, not an additional Wand range. Animating Selection Point changes the sample; Range changes tolerance.
Check / distinguish: For motion, first ensure the sample remains within the intended region.
- Mask preview as RGBA
Mask → Background.EffectMaskWand outputs a mask. A white Background turns coverage into an RGBA preview suitable for MediaOut.
Check / distinguish: Outside selection alpha should be 0; inside it should match coverage.
- DoD is not color selection
Clipping ModeFrame sets a full-frame data domain. None retains the input DoD; missing data does not become a selected color.
Check / distinguish: Inspect mask size separately from Range.
Before adjusting the node
- Explicit Input receives the image used for sampling.
- A separate same-color island is not assumed connected.
- Channel and Color Space set the metric, not global color management.
- Range Soft Edge and Soft Edge are tested separately.
- Incoming EffectMask combines through Paint Mode; output Mask goes to a mask port.
Reference documentation
- Blackmagic Design · DaVinci Resolve 21 · Wand
Official inputs and control behavior; retained Inspector images corroborate menu labels.
- Blackmagic Design · Resolve 21 · MediaIn, Background, Merge and masks
Holding a still PNG across the range, image/mask routing and a correct RGBA preview.
- Authored educational fixtures · connected regions and warp lattice
Exact colors, sample points and asymmetric geometry of lesson images.
Examples
Equal color, separate islands
Test Wand connectivity and sample switching without changing RGB tolerance.
Starting conditions
DaVinci Resolve 21 · Wand 21 · editorial reference 2026-10-19 · DaVinci Resolve 21, Fusion page. · Target OS is not fixed; Resolve verification is pending.
640 × 360 · 24 fps · 24 frames · Image 640×360, 24fps, local range 0–23. Import the RGBA8 PNG through Media Pool/MediaIn; the still clip lasts 24 frames. Retain color interpretation between comparisons and add no LUT/CST before Wand analysis. Inspect SRC values and retain one Viewer transform and viewing scale.
- Download the PNG and manifest from lesson files. Create a real MediaIn by importing or opening an Edit clip; an empty MediaIn from Effects Library does not select a file. Graphs use semantic port IDs. Warper coordinates describe Viewer gestures; no authored native .comp/.setting is supplied.
Source material
- SRC
Download wand-regions-batch16.png and the manifest. 640×360 RGBA8, alpha=1; left raster seed (112,180), right (496,180). Green changes in steps within the left region; a lower strip keeps G=192 while changing R/B. Import wand-regions-batch16.png into Media Pool. On a 24fps timeline set the still clip to 24 frames and open Fusion; use this clip MediaIn as SRC. Use 640×360 and local range 0–23.
For replacement create a 640×360 PNG using the manifest exact inclusive bounds and RGBA values. Retain the island gap, G steps, lower strip and opaque alpha; apply no color conversion.
Nodes and connections
SRC— Color regions · MediaInFX— Connected pick · WandMATTE— Mask preview · BackgroundOUT— Output · MediaOut
| Source | Destination | Data |
|---|---|---|
Color regions (SRC)Output | Connected pick (FX)Input | image |
Connected pick (FX)Mask | Mask preview (MATTE)EffectMask | mask |
Mask preview (MATTE)Output | Output (OUT)Input | image |
Graph output: Output (OUT)
Parameter values
- Connected pick (FX) / Controls / Show View Controls
trueShow sample placement.
- Connected pick (FX) / Controls / Level
1Full coverage within selection.
- Connected pick (FX) / Controls / Filter
"Fast Gaussian"Fix the spatial Soft Edge algorithm.
- Connected pick (FX) / Controls / Soft Edge
0Start with a crisp spatial boundary.
- Connected pick (FX) / Controls / Invert
falseInitial control without whole-mask inversion.
- Connected pick (FX) / Controls / Selection Point
[0.175,0.5]Sample well inside the left flat region.
- Connected pick (FX) / Controls / Color Space
"RGB"Compare in RGB without a space change.
- Connected pick (FX) / Controls / Channel
"RGB"Explicitly select compared components.
- Connected pick (FX) / Controls / Range
0Set the main full color tolerance.
- Connected pick (FX) / Controls / Range Soft Edge
0Set additional partial color inclusion.
- Connected pick (FX) / Image / Output Size
"Default"The mask follows the 640×360 composition format.
- Connected pick (FX) / Image / Clipping Mode
"None"The input source is already full frame.
- Mask preview (MATTE) / Color / Type
"Solid Color"A uniform white mask preview.
- Mask preview (MATTE) / Color / Color
[1,1,1,1]RGB=1 and alpha=1 before mask application.
- Mask preview (MATTE) / Image / Auto Resolution
trueBackground follows the 640×360 composition format.
- Mask preview (MATTE) / Settings / Apply Mask Inverted
falseAvoid a second inversion.
- Mask preview (MATTE) / Settings / Multiply by Mask
trueCoverage multiplies RGB for a correct premultiplied RGBA preview.
- Connected pick (FX) / Controls / Selection Point
[0.775,0.5]The same RGB in another disconnected island.
- Connected pick (FX) / Controls / Selection Point
[0.175,0.5]Return to the original connected component.
- Connected pick (FX) / Controls / Level
0.5Test numeric coverage level.
- Connected pick (FX) / Controls / Level
1Restore full coverage.
Reproduce the example
- Import wand-regions-batch16.png into Media Pool. On a 24fps timeline set the still clip to 24 frames and open Fusion; use this clip MediaIn as SRC. Use 640×360 and local range 0–23. Explicitly connect SRC.Output to Wand.Input. At frame 12 set RGB, Channel=RGB, Range=0, Range Soft Edge=0, Soft Edge=0 and sample=(0.175,0.5).
The point lies inside the left flat color, away from edges and other steps.
Check: The crosshair hits raster (112,180); the right island has the same RGB but is separated by background.
- Feed Wand.Mask to the EffectMask of a white Background: Color=(1,1,1,1), Multiply by Mask=true and Apply Mask Inverted=false. Feed Background to OUT; show alpha in the Viewer.
The mask receives a correct RGBA preview without changing wire type.
Check: The left region x=64…159,y=96…263 is white; the right island and background are black.
- Move only Selection Point to (0.775,0.5), raster (496,180).
The sample changes the connected component despite equal source RGB.
Check: Now the right island is white and the left is black.
- Restore sample=(0.175,0.5). Compare Level=0.5 and 1 in alpha at the left region center, then retain 1.
Level changes selection coverage, not its color tolerance.
Check: Shape remains unchanged; interior coverage changes from half to full.
- Inspect alpha at 0/12/23: the left sample is inside selection and the right sample outside it. Retain the original left sample and Level=1.
The static source should produce the same mask throughout the range.
Check: Alpha is 1 at the left sample and 0 at the right; the complete RGB fixture remains opaque only on SRC.
Expected result
- Output (OUT) · frame 12
With the final left sample, only the left connected RGB(64,192,96) region is selected. The equal-color right island is not included automatically.
Alpha: The white Background turns the mask into premultiplied RGBA: alpha=1 inside the selected flat region, 0 on the background and right island.
When the result differs
- Both islands become white.
Cause: Range is too wide, the sample is on the background or another channel is selected.
Correction: Check Input, sample=(0.175,0.5), Channel=RGB, Range=0 and both softness controls=0.
- MediaOut has no usable image.
Cause: The mask is connected directly to an image input or Background is missing.
Correction: Use Wand.Mask → Background.EffectMask; Background.Output → MediaOut.Input.
- White RGB remains outside selection despite transparent alpha.
Cause: Background is not multiplying RGB by the mask.
Correction: Enable Multiply by Mask on Background and inspect alpha separately.
Files for the example
References
- Blackmagic Design — The Visual Effects Guide to DaVinci Resolve 20
Printed pp. 9–12, 145–150; PDF pp. 29–32, 165–170 (zero-based).
- Blackmagic Design · DaVinci Resolve 21 · Wand
Chapter 108, pp. 2545–2550: connected region growth from Selection Point; orange image Input, blue mask-combination input, Paint Mode, color/channel tolerance, spatial softness, output format and clipping. Explicit image Input is required by these reproducible lessons; the manual also describes contextual source sampling. Mask is a semantic output ID.
- Blackmagic Design · Resolve 21 · MediaIn, Background, Merge and masks
Fusion chapters 96, 103, 104 and 108: MediaIn created from an Edit timeline clip or Media Pool import (p. 2465); Resolve Loader is EXR-only (p. 2458). White Background RGB/alpha and Multiply by Mask, Merge Blend and mask coverage. Existing helper signatures remain unchanged.
- Authored educational fixtures · connected regions and warp lattice
Deterministic RGBA8 PNGs, 640×360, opaque alpha, no ICC/gamma metadata. Manifest specifies exact colors, connected source components, normalized seeds, lattice landmarks and SHA-256 hashes. Source data was decoded and checked independently; native Wand/Warper/Vortex image processing remains pending.
Color softness and edge softness
Distinguish Range Soft Edge from Soft Edge using Green steps with known code values.
Starting conditions
DaVinci Resolve 21 · Wand 21 · editorial reference 2026-10-19 · DaVinci Resolve 21, Fusion page. · Target OS is not fixed; Resolve verification is pending.
640 × 360 · 24 fps · 24 frames · Image 640×360, 24fps, local range 0–23. Import the RGBA8 PNG through Media Pool/MediaIn; the still clip lasts 24 frames. Retain color interpretation between comparisons and add no LUT/CST before Wand analysis. Inspect SRC values and retain one Viewer transform and viewing scale.
- Download the PNG and manifest from lesson files. Create a real MediaIn by importing or opening an Edit clip; an empty MediaIn from Effects Library does not select a file. Graphs use semantic port IDs. Warper coordinates describe Viewer gestures; no authored native .comp/.setting is supplied.
Source material
- SRC
Download wand-regions-batch16.png and the manifest. 640×360 RGBA8, alpha=1; left raster seed (112,180), right (496,180). Green changes in steps within the left region; a lower strip keeps G=192 while changing R/B. Import wand-regions-batch16.png into Media Pool. On a 24fps timeline set the still clip to 24 frames and open Fusion; use this clip MediaIn as SRC. Use 640×360 and local range 0–23.
For replacement create a 640×360 PNG using the manifest exact inclusive bounds and RGBA values. Retain the island gap, G steps, lower strip and opaque alpha; apply no color conversion.
Nodes and connections
SRC— Green steps · MediaInFX— Two softness types · WandMATTE— Mask preview · BackgroundOUT— Output · MediaOut
| Source | Destination | Data |
|---|---|---|
Green steps (SRC)Output | Two softness types (FX)Input | image |
Two softness types (FX)Mask | Mask preview (MATTE)EffectMask | mask |
Mask preview (MATTE)Output | Output (OUT)Input | image |
Graph output: Output (OUT)
Parameter values
- Two softness types (FX) / Controls / Show View Controls
trueShow sample placement.
- Two softness types (FX) / Controls / Level
1Full coverage within selection.
- Two softness types (FX) / Controls / Filter
"Fast Gaussian"Fix the spatial Soft Edge algorithm.
- Two softness types (FX) / Controls / Soft Edge
0Start with a crisp spatial boundary.
- Two softness types (FX) / Controls / Invert
falseInitial control without whole-mask inversion.
- Two softness types (FX) / Controls / Selection Point
[0.175,0.5]Sample well inside the left flat region.
- Two softness types (FX) / Controls / Color Space
"RGB"Compare in RGB without a space change.
- Two softness types (FX) / Controls / Channel
"Green"Explicitly select compared components.
- Two softness types (FX) / Controls / Range
0.05Set the main full color tolerance.
- Two softness types (FX) / Controls / Range Soft Edge
0Set additional partial color inclusion.
- Two softness types (FX) / Image / Output Size
"Default"The mask follows the 640×360 composition format.
- Two softness types (FX) / Image / Clipping Mode
"None"The input source is already full frame.
- Mask preview (MATTE) / Color / Type
"Solid Color"A uniform white mask preview.
- Mask preview (MATTE) / Color / Color
[1,1,1,1]RGB=1 and alpha=1 before mask application.
- Mask preview (MATTE) / Image / Auto Resolution
trueBackground follows the 640×360 composition format.
- Mask preview (MATTE) / Settings / Apply Mask Inverted
falseAvoid a second inversion.
- Mask preview (MATTE) / Settings / Multiply by Mask
trueCoverage multiplies RGB for a correct premultiplied RGBA preview.
- Two softness types (FX) / Controls / Range Soft Edge
0.06Add partial inclusion by Green difference.
- Two softness types (FX) / Controls / Range Soft Edge
0Remove color softness before the spatial comparison.
- Two softness types (FX) / Controls / Soft Edge
0.02Blur the created mask spatially.
- Two softness types (FX) / Controls / Soft Edge
0Restore a crisp spatial boundary.
- Two softness types (FX) / Controls / Range Soft Edge
0.06The final state uses only color softness.
Reproduce the example
- Import wand-regions-batch16.png into Media Pool. On a 24fps timeline set the still clip to 24 frames and open Fusion; use this clip MediaIn as SRC. Use 640×360 and local range 0–23. Build SRC → Wand; Wand.Mask → white Background.EffectMask; Background → OUT. At frame 12 set sample=(0.175,0.5), RGB/Green, Range=0.05 and both softness controls=0. Add no LUT/CST before Wand; inspect actual G values on SRC.
One component and fixed PNG interpretation make the steps a clear tolerance test.
Check: Compare interior band pixels G=192,180,168,156 at y=180; coverage boundaries are hard.
- Set Range Soft Edge=0.06 without changing Range=0.05 or Soft Edge=0. Inspect interior points x=112,176,208,240 at raster y=180.
Color softness should give partial coverage to a qualifying step, not merely blur its boundary.
Check: The main range remains white; a partial-coverage step appears beyond it. G=168 is expected to become gray under this PNG interpretation.
- First restore Range Soft Edge=0, then set Soft Edge=0.02 with Fast Gaussian. Compare the selection boundary with band interiors.
Now the completed spatial mask is feathered rather than adding color falloff.
Check: Softness spreads around the coverage boundary, unlike uniform gray within a color step.
- Restore Soft Edge=0 and Range Soft Edge=0.06. Retain Range=0.05, Channel=Green, Level=1 and Invert=false.
The final state retains one softness mechanism, making the cause of gray coverage testable.
Check: Band interior values are stable with no added spatial blur between them.
- Inspect alpha at 1:1 and compare SRC RGB values with the manifest. The connected lower G=192 strip enters selection, while the separate right island remains outside it.
Channel=Green ignores R/B differences while retaining connectivity.
Check: Gray levels reflect color tolerance; alpha is not inherited as solid one from the opaque PNG.
Expected result
- Output (OUT) · frame 12
The final state uses Green, Range=0.05, Range Soft Edge=0.06 and Soft Edge=0. A color step beyond the full range receives partial coverage while spatial blur is disabled.
Alpha: Alpha should distinguish full, partial and zero coverage. Measure the exact gray value in the native Viewer; no linear formula in G is assumed.
When the result differs
- All bands are equally white.
Cause: Alpha is selected, tolerance is excessive or PNG interpretation changed.
Correction: Restore RGB/Green and Range=0.05, compare actual MediaIn G with the manifest, exclude an additional LUT/CST and retain interpretation between trials.
- Gray appears only near edges.
Cause: Spatial Soft Edge remains enabled instead of Range Soft Edge.
Correction: Fix Soft Edge=0 and Range Soft Edge=0.06, then inspect band centers.
- The lower strip was unexpectedly included.
Cause: It has the same Green and touches the selected component.
Correction: Compare Channel=RGB to explain the difference, then restore Green for this lesson.
Files for the example
References
- Blackmagic Design — The Visual Effects Guide to DaVinci Resolve 20
Printed pp. 9–12, 145–150; PDF pp. 29–32, 165–170 (zero-based).
- Blackmagic Design · DaVinci Resolve 21 · Wand
Chapter 108, pp. 2545–2550: connected region growth from Selection Point; orange image Input, blue mask-combination input, Paint Mode, color/channel tolerance, spatial softness, output format and clipping. Explicit image Input is required by these reproducible lessons; the manual also describes contextual source sampling. Mask is a semantic output ID.
- Blackmagic Design · Resolve 21 · MediaIn, Background, Merge and masks
Fusion chapters 96, 103, 104 and 108: MediaIn created from an Edit timeline clip or Media Pool import (p. 2465); Resolve Loader is EXR-only (p. 2458). White Background RGB/alpha and Multiply by Mask, Merge Blend and mask coverage. Existing helper signatures remain unchanged.
- Authored educational fixtures · connected regions and warp lattice
Deterministic RGBA8 PNGs, 640×360, opaque alpha, no ICC/gamma metadata. Manifest specifies exact colors, connected source components, normalized seeds, lattice landmarks and SHA-256 hashes. Source data was decoded and checked independently; native Wand/Warper/Vortex image processing remains pending.
Channel and incoming mask
Separate Green selection from Paint Mode arithmetic using incoming Level=0.5 coverage.
Starting conditions
DaVinci Resolve 21 · Wand 21 · editorial reference 2026-10-19 · DaVinci Resolve 21, Fusion page. · Target OS is not fixed; Resolve verification is pending.
640 × 360 · 24 fps · 24 frames · Image 640×360, 24fps, local range 0–23. Import the RGBA8 PNG through Media Pool/MediaIn; the still clip lasts 24 frames. Retain color interpretation between comparisons and add no LUT/CST before Wand analysis. Inspect SRC values and retain one Viewer transform and viewing scale.
- Download the PNG and manifest from lesson files. Create a real MediaIn by importing or opening an Edit clip; an empty MediaIn from Effects Library does not select a file. Graphs use semantic port IDs. Warper coordinates describe Viewer gestures; no authored native .comp/.setting is supplied.
Source material
- SRC
Download wand-regions-batch16.png and the manifest. 640×360 RGBA8, alpha=1; left raster seed (112,180), right (496,180). Green changes in steps within the left region; a lower strip keeps G=192 while changing R/B. Import wand-regions-batch16.png into Media Pool. On a 24fps timeline set the still clip to 24 frames and open Fusion; use this clip MediaIn as SRC. Use 640×360 and local range 0–23.
For replacement create a 640×360 PNG using the manifest exact inclusive bounds and RGBA values. Retain the island gap, G steps, lower strip and opaque alpha; apply no color conversion.
Nodes and connections
SRC— Color regions · MediaInMASK— Half mask · RectangleMaskFX— Mask combination · WandMATTE— Mask preview · BackgroundOUT— Output · MediaOut
| Source | Destination | Data |
|---|---|---|
Color regions (SRC)Output | Mask combination (FX)Input | image |
Half mask (MASK)Mask | Mask combination (FX)EffectMask | mask |
Mask combination (FX)Mask | Mask preview (MATTE)EffectMask | mask |
Mask preview (MATTE)Output | Output (OUT)Input | image |
Graph output: Output (OUT)
Parameter values
- Mask combination (FX) / Controls / Show View Controls
trueShow sample placement.
- Mask combination (FX) / Controls / Level
1Full coverage within selection.
- Mask combination (FX) / Controls / Filter
"Fast Gaussian"Fix the spatial Soft Edge algorithm.
- Mask combination (FX) / Controls / Soft Edge
0Start with a crisp spatial boundary.
- Mask combination (FX) / Controls / Invert
falseInitial control without whole-mask inversion.
- Mask combination (FX) / Controls / Selection Point
[0.175,0.5]Sample well inside the left flat region.
- Mask combination (FX) / Controls / Color Space
"RGB"Compare in RGB without a space change.
- Mask combination (FX) / Controls / Channel
"RGB"Explicitly select compared components.
- Mask combination (FX) / Controls / Range
0Set the main full color tolerance.
- Mask combination (FX) / Controls / Range Soft Edge
0Set additional partial color inclusion.
- Mask combination (FX) / Image / Output Size
"Default"The mask follows the 640×360 composition format.
- Mask combination (FX) / Image / Clipping Mode
"None"The input source is already full frame.
- Mask preview (MATTE) / Color / Type
"Solid Color"A uniform white mask preview.
- Mask preview (MATTE) / Color / Color
[1,1,1,1]RGB=1 and alpha=1 before mask application.
- Mask preview (MATTE) / Image / Auto Resolution
trueBackground follows the 640×360 composition format.
- Mask preview (MATTE) / Settings / Apply Mask Inverted
falseAvoid a second inversion.
- Mask preview (MATTE) / Settings / Multiply by Mask
trueCoverage multiplies RGB for a correct premultiplied RGBA preview.
- Half mask (MASK) / Controls / Center
[0.3,0.5]The intersection strip crosses the left component.
- Half mask (MASK) / Controls / Width
0.2Raster X approximately 128…256.
- Half mask (MASK) / Controls / Height
0.8Cover both the main region and lower strip in Y.
- Half mask (MASK) / Controls / Solid
trueFilled rectangle.
- Half mask (MASK) / Controls / Level
0.5Half input coverage for the Multiply test.
- Half mask (MASK) / Controls / Soft Edge
0Crisp intersection boundary.
- Half mask (MASK) / Controls / Invert
falseDo not invert the incoming mask.
- Mask combination (FX) / Controls / Paint Mode
"Copy"Initially view the new Wand mask independently of the incoming mask.
- Mask combination (FX) / Controls / Channel
"Green"Include the connected lower strip with equal G.
- Mask combination (FX) / Controls / Paint Mode
"Multiply"Multiply Wand coverage by the incoming Rectangle.
- Mask combination (FX) / Controls / Invert
trueTest inversion of the entire combined mask.
- Mask combination (FX) / Controls / Invert
falseRestore the intended intersection.
Reproduce the example
- Import wand-regions-batch16.png into Media Pool. On a 24fps timeline set the still clip to 24 frames and open Fusion; use this clip MediaIn as SRC. Use 640×360 and local range 0–23. Build the complete graph including RectangleMask → Wand.EffectMask. Set Rectangle Center=(0.3,0.5), Width=0.2, Height=0.8 and Level=0.5. On Wand retain the left sample, RGB/Channel RGB, Range=0 and Paint Mode=Copy.
Copy provides a control of the new mask despite the second input being connected.
Check: Copy selects the complete left RGB component rather than only the Rectangle region.
- Change only Channel to Green, retaining Range=0 and Paint Mode=Copy.
Equal G includes the lower strip despite differing R/B while retaining connectivity.
Check: The lower strip enters the mask; the disconnected right island remains black.
- Choose Paint Mode=Multiply. Inspect alpha at raster (144,180), (192,288), (112,180) and (496,180).
Multiplying incoming 0.5 by Wand one gives 0.5 only in the intersection.
Check: The first two points have half coverage; x=112 outside Rectangle and the right island have zero.
- Enable the Invert checkbox, inspect the background and disable it again. Do not choose the same-named Paint Mode.
The checkbox inverts the entire result mask, a different operation scope.
Check: Coverage outside the former selection is inverted; restoring false returns the intersection.
- Retain Channel=Green, Paint Mode=Multiply and Invert=false. At frame 12 compare Rectangle, Wand and OUT alpha separately.
The result should be explained by two masks, not restricted image analysis.
Check: SRC remains a full image; final alpha shows only the half-coverage intersection.
Expected result
- Output (OUT) · frame 12
Green selects the left flat region and connected lower strip. Multiply retains their intersection with Rectangle; connectivity excludes the right island.
Alpha: With Rectangle Level=0.5 and Wand Level=1, alpha=0.5 inside the intersection and 0 outside. Probe points (144,180) and (192,288) are inside; (112,180) and (496,180) are outside.
When the result differs
- The incoming Rectangle has no effect.
Cause: Paint Mode remains Copy.
Correction: After the control switch Paint Mode to Multiply while retaining its input wire.
- Coverage becomes 1 instead of 0.5.
Cause: Rectangle Level=1 or Add/Merge is selected.
Correction: Check Rectangle Level=0.5, Wand Level=1 and Paint Mode=Multiply.
- The background is white and the expected intersection is missing.
Cause: Invert or Apply Mask Inverted remains enabled.
Correction: Disable Invert on Wand and Apply Mask Inverted on Background.
Files for the example
References
- Blackmagic Design — The Visual Effects Guide to DaVinci Resolve 20
Printed pp. 9–12, 145–150; PDF pp. 29–32, 165–170 (zero-based).
- Blackmagic Design · DaVinci Resolve 21 · Wand
Chapter 108, pp. 2545–2550: connected region growth from Selection Point; orange image Input, blue mask-combination input, Paint Mode, color/channel tolerance, spatial softness, output format and clipping. Explicit image Input is required by these reproducible lessons; the manual also describes contextual source sampling. Mask is a semantic output ID.
- Blackmagic Design · Resolve 21 · MediaIn, Background, Merge and masks
Fusion chapters 96, 103, 104 and 108: MediaIn created from an Edit timeline clip or Media Pool import (p. 2465); Resolve Loader is EXR-only (p. 2458). White Background RGB/alpha and Multiply by Mask, Merge Blend and mask coverage. Existing helper signatures remain unchanged.
- Authored educational fixtures · connected regions and warp lattice
Deterministic RGBA8 PNGs, 640×360, opaque alpha, no ICC/gamma metadata. Manifest specifies exact colors, connected source components, normalized seeds, lattice landmarks and SHA-256 hashes. Source data was decoded and checked independently; native Wand/Warper/Vortex image processing remains pending.
Other outlines from the article
Equal color, separate islands
Test Wand connectivity and sample switching without changing RGB tolerance.
- Wand
- Background
- MediaOut
Color softness and edge softness
Distinguish Range Soft Edge from Soft Edge using Green steps with known code values.
- Wand
- Background
- MediaOut
Channel and incoming mask
Separate Green selection from Paint Mode arithmetic using incoming Level=0.5 coverage.
- Wand
- Background
- MediaOut
Mistakes
- Expecting global selection of disconnected matching colors.
- Treating the blue mask as an assumed analysis region without checking Paint Mode.
- Moving the sample onto an object boundary.
- Confusing Range Soft Edge and Soft Edge.
- Connecting a mask directly to MediaOut image input in the lesson graph.
Tips
- Check connectivity with two identical islands.
- A single-channel test explains tolerance with exact numbers.
- An incoming mask may contain gray values; Multiply retains that distinction.
- A white Background masked by Wand exposes result alpha.
Workflow order
- Feed the image explicitly into Input.
- Place the sample well inside the intended region.
- Choose Color Space/Channel and test connectivity with a narrow Range.
- Separate color softness from spatial Soft Edge.
- Specify Paint Mode when connecting an incoming mask.
- Inspect final mask/alpha and connect it to a mask port.
