Studio › Image › Remove Object from Image

Remove Object from Image

Erases the object you select and fills the gap to match its surroundings.

This tool runs on JavaScript. To use it, turn on JavaScript in your browser and reload the page.

FIND THE OBJECT, REMOVE IT, FILL THE GAP.

Remove Object from Image finds and deletes the object inside the rectangle you mark on a photo. The tool first separates the object from the background inside that rectangle using GrabCut, deletes only the pixels the object covers and preserves the background around it. The gap is filled first at a coarse and then at a fine scale, so the transitions look more natural even over wide areas.

The area is marked with four values given as percentages from the left and top edges of the image. “Object detection rounds” (0–8) is how many times the separation is refined; if you pick 0, no object is looked for and the whole rectangle is removed. “Expand the mask” (0–12 pixels) makes the removed area slightly larger; raise it if the object's shadow or an outline is left behind. The fill method can be “Fluid” (a soft transition) or “Fast marching” (a sharp edge). It gives good results on flat and nearly flat surfaces; on complex patterns it leaves traces. The output is PNG, WebP or JPG; images of up to 60 MB can be uploaded.

GrabCut is given a starting guess: the outer frame of the rectangle is certain background, the inner area left after a one-sixth margin from each edge is probable object, and the strip in between is probable background; the algorithm refines this guess as many times as the number of rounds you choose. If the separation marks less than 2% or more than 97% of the rectangle as object, the result is not trusted and the whole rectangle is erased; the result screen says which mask was used and what percentage of the image was erased. No separation is done for rectangles whose short side is under 24 pixels. If the rectangle is larger than 85% of the image, the job does not start, because no background is left to fill from. The fill radius is 4% of the rectangle’s short side (at least 3 pixels); for images whose long side exceeds 700 pixels, the coarse pass is done at a quarter of the size. The Fluid option is the Navier–Stokes method and the Fast marching option is Telea’s fast marching method; both are algorithms built into OpenCV that need no model.

From start to finish

  1. Upload your image. JPG, PNG, WebP, AVIF, BMP or TIFF; up to 60 MB.
  2. Mark the area and set it up. Enter the rectangle that covers the object as percentages. If a shadow is left behind, raise the mask growing to 4–6 pixels.
  3. Remove it and check. Look at the result in the preview; if a trace is left, change the fill method and try again, then download it.

Frequently asked questions

How wide should I make the rectangle?

Wide enough to contain the object completely, but no wider than needed. Because the tool separates the object from the background inside the rectangle, leaving a little margin helps; if you make it too tight, part of the object can be taken for background and the wrong thing gets deleted.

Which fill method should I pick?

Fluid on surfaces with soft transitions, such as sky or a wall; Fast marching where the edges have to stay sharp. If you are not sure, try both and compare them.

Does this tool make up new content?

No. No generative artificial intelligence model is used; the gap is worked out from the pixels around it. That is why it cannot redraw complex patterns.

Does my file stay on the server?

No. Your file reaches the server only to be processed and is deleted when the job is done; the output is deleted too once you download it and leave the tool. You don't need an account, a name or an email address, and your files are never sent to a third-party service. It is free to use: we set no hourly or daily quota on the number of jobs, we don't make you watch an ad before processing, and we add no watermark to the output.

Other Image tools

About us · Contact · Privacy & KVKK · Cookie Policy · Terms of use

Edit your file. Preview the result. Download when it's ready.Preparing your workspace…