← Fusion node reference
Repair & CleanupIntermediate

PatchReplacer

Tracked patch replacement

Replaces a damaged or unwanted image region with pixels sampled from a cleaner nearby area, with controls for transform and edge integration.

PatchReplacer
DaVinci Resolve · Fusion

PatchReplacer is a practical cleanup tool for blemishes, logos, stains, dust or small objects when a suitable replacement texture exists elsewhere in the frame. It works best when the source patch has similar perspective, lighting and texture.

Overview

What PatchReplacer does

PatchReplacer is a practical cleanup tool for blemishes, logos, stains, dust or small objects when a suitable replacement texture exists elsewhere in the frame. It works best when the source patch has similar perspective, lighting and texture.

Mental model

Think of it as a live clone-stamp patch that can be positioned and tracked inside the node graph.

Common uses

Remove small signs or marks
Clone clean wall or floor texture
Repair dust and sensor artifacts
Cover logos or blemishes
Patch small background defects
Create a manual clean-plate correction

Flow anatomy

Inputs & outputs

The port structure shows how this node fits into a Fusion graph.

Image

Primary image, matte or shape stream processed by the node.

Effect Mask

Optional mask that limits where the node affects the image.

PatchReplacer
Fusion node

Output

The processed result from this node.

Inspector

Important parameters

Start with these controls before reaching for more complicated workarounds.

Region Shape

Chooses the shape of the target region that PatchReplacer will rebuild.

Region Shape: Rectangle

Sets Region Shape to Rectangle.

Region Shape: Ellipse

Sets Region Shape to Ellipse.

Region Shape: Alpha channel

Sets Region Shape to Alpha channel.

Fill-in method

Chooses the reconstruction method used to fill the target region.

Fill-in method: Clone

Sets Fill-in method to Clone.

Fill-in method: Blend Clone

Sets Fill-in method to Blend Clone.

Fill-in method: Fast Mask

Sets Fill-in method to Fast Mask.

Fill-in method: Blend Mask

Sets Fill-in method to Blend Mask.

Replacement Detail

Controls how much source detail is transferred into the replacement region.

Keep Original Detail

Preserves some of the original target-region detail while the replacement is blended in.

Variability

Adjusts how much local texture variation PatchReplacer is allowed to introduce.

Blur Edges

Sets the amount of blur.

Border Type

Selects the Border Type used by PatchReplacer.

Border Type: Black

Sets Border Type to Black.

Border Type: Replicate

Sets Border Type to Replicate.

Border Type: Reflect

Sets Border Type to Reflect.

Border Type: Wrap-Around

Sets Border Type to Wrap-Around.

Frame Edge Pixels

Chooses how replacement pixels are handled when the patch reaches the edge of the frame.

Frame Edge Pixels: From Source Patch

Sets Frame Edge Pixels to From Source Patch.

Frame Edge Pixels: Preserve Existing

Sets Frame Edge Pixels to Preserve Existing.

Frame Edge Pixels: Replace With Blended

Sets Frame Edge Pixels to Replace With Blended.

Source Position X/Y

Sets the X/Y coordinates for Source Position.

Target Position X/Y

Sets the X/Y coordinates for Target Position.

Target Width

Sets the horizontal size.

Target Height

Sets the vertical size.

Source Follows Sizing

Applies upstream sizing transforms to the replacement source position.

Source Follows Track

Makes the replacement source follow the assigned track.

Target Follows Sizing

Applies upstream sizing transforms to the target patch position.

Target Follows Track

Makes the target patch region follow the assigned track.

Align Source To Target

Moves the source reference onto the target position as a convenient starting alignment.

On-Screen Controls

Shows or hides PatchReplacer’s source and target controls in the Viewer.

On-Screen Controls: Show

Sets On-Screen Controls to Show.

On-Screen Controls: Auto Hide

Sets On-Screen Controls to Auto Hide.

On-Screen Controls: Hide

Sets On-Screen Controls to Hide.

Practical setup

A reliable workflow

  1. 1

    Choose a clean source texture near the defect.

  2. 2

    Place the destination over the unwanted region.

  3. 3

    Match scale and angle.

  4. 4

    Feather only enough to hide the seam.

  5. 5

    Track the patch when the surface or camera moves.

Typical node chain
Clean source patch
PatchReplacer
Repaired region

Examples

Where this node fits in real work

Remove wall mark

Clone clean wall texture over a small mark.

MediaInPatchReplacerMediaOut

Tracked cleanup

Use planar tracking data so the patch follows a moving surface.

MediaInPlanarTrackerPatchReplacerMediaOut

Troubleshooting

Common mistakes

Sampling texture with different lighting
Using a patch larger than necessary
Adding excessive edge softness
Ignoring perspective change or parallax

Production notes

Practical tips

Sample as close to the defect as possible.
A small patch is easier to integrate than a large one.
For large or heavily occluded objects, use ObjectRemoval or a dedicated clean plate.

Related nodes