Compositing technique that generates a matte by comparing a clean background plate to footage containing subjects – calculates pixel-by-pixel differences to automatically isolate moving elements, commonly used for static camera shots with controlled backgrounds.
What is a Difference Matte?
A Difference Matte is a compositing technique where a matte is automatically generated by comparing two images – one of an empty background (clean plate) and the same image with foreground elements.
Principle of Operation
| Step | Description |
|---|---|
| Clean Plate | Shot without actors |
| Action Plate | Shot with actors |
| Difference | Pixel comparison |
| Threshold | Threshold value |
| Matte Output | Black/white mask |
Prerequisites
| Requirement | Why |
|---|---|
| Static Camera | Exactly the same frame |
| Same Lighting | No change |
| Clean Plate | Without subject |
| No Movement | In the background |
Advantages
| Advantage | Explanation |
|---|---|
| No Greenscreen | Natural environment |
| Automatic | Little manual work |
| Fine Details | Hair, transparency |
| Fast | Simple setup |
Disadvantages
| Disadvantage | Problem |
|---|---|
| Static | No camera movement |
| Light Sensitive | Clouds, shadows |
| Background Movement | Trees, water |
| Noise | Amplifies differences |
Software Implementation
| Software | Tool |
|---|---|
| Nuke | Difference, IBK |
| After Effects | Difference Matte |
| Fusion | Channel Booleans |
| Shake | Difference Node |
Typical Workflows
| Application | Description |
|---|---|
| Simple Background | Static background |
| Hybrid Key | Combination with keyer |
| Roto Assist | As a basis for roto |
| Motion Tracking | For motion analysis |
Creating a Clean Plate
| Method | Description |
|---|---|
| Before Shooting | Empty background |
| After Shooting | Remove actors |
| Time-lapse | Median frame |
| Repainting | Digitally cleaned |
Threshold Setting
| Setting | Effect |
|---|---|
| Low | More detail, more noise |
| High | Less detail, cleaner |
| Adaptive | Varies per region |
Combination with Other Techniques
| Technique | Combination |
|---|---|
| Roto | For problem areas |
| Keying | Greenscreen + Difference |
| Despill | Color correction |
| Edge Treatment | Edge processing |
Problems and Solutions
| Problem | Solution |
|---|---|
| Lighting Change | Color Match |
| Camera Shake | Stabilization |
| Shadow Shift | Multiple Plates |
| Noise | Denoise beforehand |
When Not to Use
| Situation | Reason |
|---|---|
| Handheld | No registration |
| Outdoor Moving | Trees, clouds |
| Changing Light | Inconsistent |
| Complex BG | Too much difference |
On-Set Workflow
| Step | Important |
|---|---|
| Fix Tripod | No movement |
| Clean Plate First | Before action |
| Clean Plate Last | After action |
| Reference Frames | For matching |
Comparison: Difference vs. Chroma Key
| Aspect | Difference | Chroma Key |
|---|---|---|
| Setup | Clean Plate | Greenscreen |
| Camera | Only static | Mobile |
| Naturalness | Higher | Screen spill |
| Complexity | Simple | More control |
Post-Processing
| Step | Description |
|---|---|
| Blur | Smooth edges |
| Erode/Dilate | Adjust matte |
| Grade | Color correction |
| Composite | Final integration |
Today
The Difference Matte remains a valuable technique for specific situations – static camera, controlled environment, natural background. In combination with modern keying tools and AI-based segmentations, it expands the compositor's repertoire.