Inpainting

Inpainting lets you seamlessly remove or replace unwanted areas of an image — from distracting objects like power lines and lamp posts to dust spots, scratches, and damaged areas — using algorithms that intelligently fill the gap using surrounding image content.

After removing a lampost from a landscape image.

Base image.

For example, you can remove or replace:

  • Power lines and other obstructions
  • People and animals
  • Vignetting
  • Lens flares
  • Background details
  • Dust spots and scratches
  • Stuck or "hot" pixels

About inpainting

The Inpainting Brush Tool is used to paint over (and identify) damaged or unwanted areas. Complex algorithms then take over to harvest information from the surrounding areas of the image in order to reconstruct the missing data.

Inpainting is particularly useful for repairing physically damaged printed photos which have been subsequently digitized.

Upon the inpainting process, the selected RAW or image layer is rasterized. This behavior can be modified via the app's Settings in the Assistant options section.

How to restore image data using the Inpainting Brush Tool

How to inpaint a selected area

Best Practices:

  • Zoom in close to the area you wish to inpaint.
  • Set a suitable brush size from the context toolbar.
  • If you are painting out people or complex shapes, try painting over gaps (e.g., inbetween legs and arms) as well for better consistency.
  • For precise removals, establish a selection around the target area first and use Pixel > Inpaint instead of painting freehand — this gives you greater control over which pixels are replaced.
  • Remember you can always do multiple passes if the result of the inpainting does not look authentic or seamless enough. Simply paint over the areas again.

Shortcuts

How would you rate the help you received from this article?