Use the Auto Matte to generate a high-contrast matte from a clip.
Image courtesy of Optimus
To access the Auto Matte menu, use:
Timeline, then use ConnectFX (see Creating ConnectFX).
Tools, then select from the menu (See Accessing Tools).
This node accepts a front clip as input, and outputs a result.