Low / High
Defines how much difference is required to become matte.
Set the thresholds so the subject is retained while normal background variation disappears.
Key from a clean background reference
Creates a matte by comparing a foreground image to a clean or reference background and isolating the pixels that differ.
DifferenceKeyer is useful when a stable clean plate exists and color-based chroma keying is not the best way to separate the subject.
Overview
DifferenceKeyer compares the current foreground frame against a background reference. Areas that match the reference are treated as background; significant differences become the subject matte.
This works best with a locked or well-aligned camera, stable lighting and a genuinely representative clean plate. Shadows, exposure changes and camera motion can create false differences.
After the initial separation, matte filters, blur, Contract/Expand and Gamma refine the result. Solid and Garbage mattes are often useful for areas that the comparison cannot resolve cleanly.
Think of DifferenceKeyer as asking: “what changed compared with the empty background?” Everything sufficiently different becomes foreground.
Flow anatomy
The port structure shows how this node fits into a Fusion graph.
Image containing the subject.
Clean plate or reference background for comparison.
Image/matte produced from the foreground-background difference.
Inspector
Start with these controls before reaching for more complicated workarounds.
Defines how much difference is required to become matte.
Set the thresholds so the subject is retained while normal background variation disappears.
Smooths and stabilizes the difference matte.
Fast Gaussian is a practical choice when a soft stable result is needed.
Softens the matte edge.
Use only enough to reduce chatter; excessive blur disconnects the matte from the subject.
Selects the Clipping Mode used by DifferenceKeyer.
Shrinks or grows the matte.
Useful for removing edge contamination or recovering a slightly tight key.
Controls the density of intermediate matte values.
Helpful for preserving semi-transparent edge detail before clipping.
Combines solid and garbage mattes with the Difference Keyer result.
Multiplies image RGB by the generated alpha.
Useful when preparing the extracted foreground for normal compositing.
Practical setup
Prepare or reconstruct a clean background plate.
Align the clean plate with the foreground frame.
Connect foreground and background to DifferenceKeyer.
Tune Low/High while viewing the matte.
Refine with Filter, Gamma and small Contract/Expand adjustments.
Add Solid/Garbage mattes for local problems.
Finish with MatteControl and Despill/color work if needed.
Examples
An actor is isolated by comparison with the empty set.
The difference matte becomes a technical mask.
Troubleshooting
Production notes
Related nodes