The Difference Matte creates transparency by comparing a specified still image with a specified clip and then eliminating areas in the clip that match those in the image. This key can be used to create special effects. Depending on the clip, it’s possible to use Difference Matte to key out a static background and replace it with another still or moving image.
You can create the matte by saving a frame from a clip that shows the static background before the moving object enters the scene. For best results, neither the camera nor anything in the background should move.
The following Difference Matte settings are adjusted in the Effect Controls panel: