Inpaint
Description
Inpainting is a technique which fills a section of an image. This is useful for removal of unwanted objects such as wires, markers or blemishes. Integrated Roto tools create shapes and multiple algorithms are available to automatically fill-in the specified regions with information surrounding them. To create a seamless result, the detail (texture) from another part of the image or other image can optionally be composited over the inpainted area using the Detail controls.
Go to the Inpaint tutorials to see how it works.
Node Group
Image.
Controls
Opacity
The opacity of the inpainted area.
Stroke Width
Sets the thickness of an open shape. When used on a closed shape, an outline is created.
Cap Style
Sets the end cap style for open shapes. You can choose from Flat or Round styles.
Algorithm
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.
Smoothness
The smoothness of the inpainted area.
Edge Softness
Softens the edge the inpainted area.
Stretch
Amount
Stretches the edges in the direction set by the angle.
Offset
Sets where the stretch color sampling occurs. The higher the value, the farther inward the sampling occurs from the inpainted edge.
Angle
The angle of the stretching when Amount is set to a value larger than 0. Use Angle to align straight features in the inpainted area.
Smoothness
The smoothness of the stretched area.
Detail
The detail (texture) from another part of the image or other image can be composited over the inpainted area.
Source
Input
Detail is used from the main input.
Detail
Detail is used from the detail input.
Amount
The amount of detail.
Level
Determines the detail frequency. 0 is coarse, .5 is medium and 1 is fine.
Transform
The Transform parameters set the offset for either Detail or Clone.
Offset
To set the Offset, 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).
X Axis
The horizontal position of the offset.
Y Axis
The vertical position of the offset.
Rotation
Rotates the detail. Positive values rotate clockwise and negative values rotate counter-clockwise.
Scale
The size of the detail. To set the Scale, Shift-click-drag the edge of the source shape (dashed outline).
Filter
Chooses the filtering method when transforming the clone source. Mitchell is the default.
Point
The Point filter is not the highest quality, but fine for scaled images.
Quadratic
Quadratic is like Point, but more blur with fewer artifacts. It offers a good compromise between speed and quality.
Cubic
Cubic is the default filter in Photoshop. It produces better results with continuous tone images, but is slower than Quadratic. If the image contains fine details, the result may be blurrier than desired.
Catmull-Rom
This produces good results with continuous tone images which are scaled down, producing sharp results with fine detailed images.
Gaussian
Gaussian lacks in sharpness, but is good with ringing and aliasing.
Mitchell
A good balance between sharpness and ringing, Mitchell is a good choice when scaling up.
Sinc
Keeps small details when scaling down with good aliasing.
Grade
The Grade controls are available when using the Clone algorithm.
Auto Grade
The clone source is automatically graded to match the target.
Gain
Red
Multiplies red values.
Green
Multiplies green values.
Blue
Multiplies blue values.
Gamma
Red
Adjusts red gamma values.
Green
Adjusts green gamma values.
Blue
Adjusts blue gamma values.
Lift
Red
Adds red values.
Green
Adds green values.
Blue
Adds blue values.
Hue
Adjusts hue.
Saturation
Adjusts saturation.