The Inpaint node fills a section of an image defined by a shape. This is useful for removal of unwanted objects such as wires, markers or blemishes.
1 Load some source footage and create a session.
2 In the Trees window, add an Inpaint node from the Nodes > Image group and connect it to the source node.
3 Single-click in the center of the Inpaint node to view and edit it.
4 Create a shape around the object to be inpainted.
Note: Open Shapes are useful when removing wrinkles.
If you are going to track the shape, make sure you set the View to Foreground prior to tracking for fastest performance. Switch the View back to Output when done.
5 Select an option from the Algorithm menu.
None: No inpaint algorithm is used. When None is selected, you can still use the Stretch controls.
Clone: Copies pixels from the area defined by the source shape (dashed outline) to the target shape (solid outline).
NS (Navier-Stokes): Smoothly propagates colors from the surrounding areas using lines drawn through areas of equal brightness.
Telea: Fills the region starting at the boundary and then moving inward.
6 Adjust the Smoothness and Edge Softness for the desired look.
7 Press the 0 (zero) shortcut key to hide the shape overlay so it is easier to see the edge of the inpainted area.
8 Use the Stretch parameters to stretch the edges in the direction set by the angle.
The detail (texture) from another part of the image or other image can be composited over the inpainted area.
9 Set the Detail > Amount to 100.
10 To set the source of the detail, Shift-click-drag starting from within the shape and then release on the desired location. Adjust the Offset by clicking and dragging the edge of the source shape (dashed outline).
Note: The Transform parameters set the Offset for either Detail or Clone.
11 Adjust the Detail > Level which determines the detail frequency. 0 is coarse, .5 is medium and 1 is fine.