How to remove an object from a photo

By Pixuvia · · Updated

The Studio's Erase object panel beside a beach photo with a pink umbrella, where a tall lamp post and the long shadow it casts across the sand are painted over in coral, ready to be removed.

To remove an object from a photo, paint over the object together with its shadow and let the editor fill the gap from what surrounds it. In the Pixuvia Studio the tool is Erase object, under AI tools. It paints a fill that matches the scene, uses AI credits and needs you to be signed in.

The steps are the same for anything you remove. What changes is what to paint, which tool suits the background behind it, and what to look for afterwards, so after the steps this guide goes through five common cases one by one, from tourists in a holiday shot to a cup touching someone's hand.

On this page
  1. How do you remove an object in the Studio?
  2. How do you remove a person or tourists from the background?
  3. How do you remove a pole, a wire or a power line?
  4. How do you remove small clutter, specks and spots?
  5. How do you remove a shadow or reflection left behind?
  6. How do you remove something touching your subject?
  7. How do you make removal easier before you shoot?
  8. Sources

How do you remove an object in the Studio?

  1. Open the Studio and click Open image, or choose Erase something on the start screen, which opens the photo straight in the tool.
  2. Click AI in the left rail to open AI tools, then click the Erase object card in the Background & cutout group.
  3. Set Brush size so the brush is a little wider than the thinnest part of the object. The slider runs from 4 to 200 px.
  4. Paint over the object, its shadow and any reflection. For a large object, choose Lasso under Mark with and draw around it instead. Undo takes back the last mark and Clear removes them all.
  5. Under Model, choose Fast for everyday edits or Pro for more accurate, finer detail. The cost of each model shows beside it.
  6. Press Erase object. If you are signed out, the button reads Sign in: sign in first, then press Erase object. The result appears as a new version.
  7. Zoom in to check the filled area, and press and hold the version in the strip below the photo to compare it with the original. Paint any leftovers and run it again, or click Export to save the photo.
Opens the full-size image: The Studio's AI tools panel with a search field and the Background & cutout group: Remove background, Backdrop and Erase object, whose card reads Paint over what you want gone.
Erase object sits in the Background & cutout group of AI tools.
Opens the full-size image: The Erase object panel: a Brush size slider at 40 px, Mark with set to Brush, Undo and Clear buttons, the Fast and Pro models with their credits, and a Sign in button at the bottom.
Signed out, the panel shows what a run costs and the action button reads Sign in. Signed in, it reads Erase object.

Erase object needs no words from you: it looks at the marked area and its surroundings and decides what belongs there. Every result is a new version, so a run that goes wrong costs you nothing but the run: click the earlier version and try again. If you want something specific in the gap, such as a bench where a bin stood, use Generative fill in the same menu and describe it.

Two kinds of fill do this job. A patch-based fill copies texture from other parts of the same photo into the gap, the PatchMatch approach published by Barnes and colleagues in 2009; the Standard method on the object remover page and the Editor's Content-Aware Fill work this way and use no credits. A generative fill, which is what Erase object's models do, paints new pixels, so it can continue lines and shapes the photo does not repeat anywhere else. The cases below say which one to reach for.

How do you remove a person or tourists from the background?

What to paint: the whole person, not just the body. Include their feet and the darker patch where they stand, the shadow they cast, anything they hold (a bag, a leash, a selfie stick) and their reflection if they stand near water or a shop window. For a group, mark the people who stand apart first, one run each, rather than one large mark across the crowd.

Which tool: Erase object in the Studio. People usually stand in front of something with structure, such as a building, a path or other people, and a generative fill can rebuild that, where copied patches tend to repeat a nearby window or face. Use Pro when the person covers straight lines like a railing or a doorway.

What to check: zoom in where the person's feet were. A floating shadow, a pair of shoes or a ghost of the outline means the mark stopped too soon: stay on the new version, paint just that leftover and run it again. In a crowd, also check that the fill did not invent a new half-person; if it did, go back a version and mark a smaller area.

How do you remove a pole, a wire or a power line?

What to paint: thin, long things are where the brush beats the lasso. Set Brush size a little wider than the pole or wire and drag along it in one stroke, from edge to edge of the photo if it runs off the frame. A pole in sunlight also casts a long shadow, as the lamp post at the top of this page does across the sand: paint the shadow as a second stroke.

Opens the full-size image: A grassy hillside under a bright sky, shown twice: on the left with a wooden power pole and its wires, on the right with the pole and wires gone and the sky and grass continuous.
Example: a power pole and its wires removed from a hillside. Example from the Affinity Photo help (Serif), used to show what object removal does.

Which tool: it depends on what the wire crosses. Over open sky or a plain wall, any method works, and the Standard method on the object remover page or the Editor's Spot Healing Brush (J) gets it done without credits: drag the Spot Healing Brush along the wire and it fills from the sky around it. Where the wire crosses a roofline, a tree or a horizon, use Erase object, as the line behind it has to continue through the gap.

What to check: follow the edges the wire crossed. A horizon that steps up or a roofline with a kink means the fill lost the line; run it again with Pro, and let the mark reach a little past the line on both sides so it has something to follow.

How do you remove small clutter, specks and spots?

What to paint: a bottle cap on the sand, litter on a lawn, dust on a scan, a stray hair across a cheek. Each mark only needs to cover the speck and a hair's width around it, so lower Brush size well below the default before you start, and mark several spots before one run.

Which tool: for specks over sand, grass, sky or skin, a credit is rarely worth it. The Editor's Spot Healing Brush (J) removes each one with a click and blends it into the texture around it, and the Remove tool beside it handles slightly larger ones. In the Studio, Erase object works too and handles many spots in one run, which is quicker when there are dozens.

What to check: repeated texture. Patch-based fills sometimes copy the same clump of grass or patch of sand into several spots, which the eye picks up as a pattern. If you see it, undo that spot and heal it from a different area: the Editor's Clone Stamp (S) lets you choose the source yourself with Alt-click (Option-click on a Mac).

How do you remove a shadow or reflection left behind?

What to paint: sometimes the object is already gone, removed in an earlier run or out of frame, but its shadow or reflection is still there. Paint only the shadow or the reflection, following its shape, including the soft edge where it fades into the ground. A shadow's edge is wider than it looks, so paint a little past it.

Which tool: a shadow on a plain surface such as sand, pavement or a wall is mostly a darker copy of the same texture, so a patch-based fill does well: the Standard method on the object remover page, or Edit > Content-Aware Fill in the Editor after you draw a selection around the shadow with the Lasso (L). A reflection on water or glass carries the scene's lines and colors, so use Erase object.

What to check: the brightness of the fill against the ground around it. A patch that is lighter or darker than its surroundings means some of the shadow was copied in. Mark a slightly wider area and run it again.

How do you remove something touching your subject?

What to paint: a hand on a shoulder, a cup at someone's lips, a branch across a face. This is the hardest case, because the fill must rebuild the edge of what you keep. Paint the object with a normal brush, then lower Brush size and work close to the subject's edge, keeping the mark just off it. Undo any stroke that crosses onto the subject.

Which tool: Erase object with Pro, which is the more accurate of the two models. For full control, use the Editor: select the object, choose Edit > Erase with AI… and the same models fill the selection on a new layer above the photo. Add a layer mask to that layer and paint black wherever the fill crept onto the subject, as the layer mask tutorial shows.

What to check: the subject's outline where the object touched it. Look for a missing fingertip, a flattened shoulder or skin that changed tone. If the outline was nibbled, go back a version, keep the mark further from the edge and run it again.

How do you make removal easier before you shoot?

A fill has more to work with when the gap is small and the background behind it repeats. Step sideways until the unwanted object covers less of the background, wait for the tourist to move off the path, or frame the shot so the pole stands against sky instead of buildings. When the job is the opposite, keeping the subject and losing everything else, start from the background removal tutorial; to make room around a subject rather than take something away, see how to extend the background of a photo.

Sources