Creative Effects > Modular Keyer > Modular Keyer Node Reference >
Difference Matte Node

Use the Difference Matte node to create a matte based on the differences between two clips. You can generate a matte from two clips with the same background but different foreground elements. For example, the first clip could be the blue or green screen shot you want to key, and the second clip could be a “clean plate”—a shot of the blue or green screen with no foreground subject.

This node functions in the same way as the Difference command in the Processing menu. See Generating a Difference Matte.

You can add a Difference Matte node to any part of the pipeline except to the blend node pipes. This is because the nodes in the CBlend and MBlend pipes must have a single input only, and the Difference Matte node always requires two input sources. Typically, you add a Difference Matte node to the beginning of the Matte branch. You can then apply the 2D histogram, Edge tools, garbage mask, and so on, to the resulting matte.

NoteSince the result of this node is a matte, you cannot use the Difference Matte node in the Matte branch with a Keyer-3D node because the 3D Keyer uses a key-in clip, not a matte, as its input.

To use the Difference Matte node:

1. If needed, add the clip you want to use as the back clip to the schematic. See Adding Clips to the Pipeline.
2. Add a Difference Matte node to the schematic. See Adding Nodes to the Pipeline.
3. Attach a source to the Front tab and a source to the Back tab of the node.
4. Attach the output of the node to the pipeline at the appropriate position. For example, set up the node as follows.

   Image courtesy of Behavior Communications Inc.

5. Click the node to view the Difference Matte menu.