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