Refine Matte

Screen Shot 2015-08-03 at 11.14.26The Refine Matte tool touches upon a classic method to remove unwanted artifacts in your matte. It simply uses two erode nodes, one that expands your matte and one too shrink it back down to its original size.

The gizmo has one slider to control the size of the Erode as well as options to select which channel you Refine (RGBA or Alpha) and if you would like to Blur the Erode (which should be used with caution as it can drastically deform the mattes original shape).

Download the nuke script from the link below