You can convert the alpha, red, green, blue, or luminance channel of a layer to one or more masks by using the Auto-trace command. Auto-trace creates as many Bezier masks as necessary to outline the specified channel values in the layer. Auto-trace creates masks with the smallest number of vertices possible while conforming to the settings that you choose. You can modify a mask created with Auto-trace as you would any other mask, and you can link its path to other path types, such as shape paths on a shape layer, using expressions.
When you apply Auto-trace, affected layers are automatically set to Best Quality to ensure accurate results.
To reduce the number of masks created
by Auto-trace, apply a keying effect to the layer to isolate your
subject before applying Auto-trace.