Can you give me some tips and tricks on how to create a Filled trimap?

Posted by Peter Moyer on 04 January 2008 12:23 AM

First, define unknown areas by selecting the Unknown brush and drawing around the edges of the foreground (what you want to cut out) with the left mouse button. Include as little solid foreground areas as possible.

Ideally, the unknown region in the trimap should only cover pixels whose actual values are not 0 or 1. In other words, the unknown region in the trimap should be as thin as possible to achieve the best masking result.

Next, fill in the solid foreground area by selecting the Foreground brush and the Fill tool. Click inside the area defined by the blue, Unknown brush. The foreground area automatically fills in with the green foreground color.

Last, mark background areas by using the Background brush and the Fill tool. Since the Fill tool is already enabled, you don't need to select it again. Click outside of the area defined by the blue, Unknown brush. The background area automatically fills in with the red background color.