Correcting Foreground Color Using EdgeExtend

Nuke's EdgeExtend node allows you to correct unpremultiplied foreground color at the edge of soft mattes. The mattes can be hand-drawn roto shapes or keyed mattes created by nodes like Keylight and Primatte.

See Using EdgeExtend for more information.

You can also output an edge mask to allow you to work on the edges separate from the rest of the image. A typical use case is adding grain to the edges of a matte without affecting the source image.

Dilated matte.

Edge mask.

See Working with Edge Masks for more information.

Note:  Images illustrating EdgeExtend courtesy of Little Dragon Studios. All rights reserved in the United States and/or other countries.