🩹

Object Erase

Paint or box the object you want gone, let diffusion rebuild the area, then export at full size.
erase 📂 Image 👤 ToolCMS 🏷️ v1.0.0 ⚙️ clipboard

图片导入未选择

涂抹与补全

笔刷 24px
6
边缘羽化 2px

涂抹面积:0 像素

先在右侧把要去掉的东西整块涂红,边缘多涂 2–4px。

导出

原图分辨率导出,图片不离开本机。

涂抹区适应窗口

导入照片后在这里涂抹;
红色区域会被补全,涂完点「开始补全」。

处理记录最近 10 步

还没有补全记录。每补全一次,这里会列出策略、面积与迭代次数。

How to Use

📖 What it does

A stranger in a holiday photo, clutter on a desk, half a watermark in a screenshot. Professional healing brushes are overkill for that. This tool does one thing: paint the object red, and it fills the area from similar nearby texture.

The fill uses boundary diffusion plus patch matching: lay down a colour base from the edge, paste back the closest matching patch, then smooth the seam. Small clutter, thin wires and corner watermarks work best; an object covering half the frame will look smudged, which is an algorithmic limit rather than a mistake.

An 800x600 image is ready to paint about 71 ms after import. Strokes are recorded as sampled points and composited once on release, instead of repainting the whole picture on every mousemove.

The undo stack keeps at most ten snapshots, roughly ten copies of the pixels at canvas size. Past that the oldest one is dropped, which is the trade-off between memory and how far you can step back.

The workspace exposes 4 controls, from 把照片拖进来,或点击选择 J to 迭代次数, and every one of them only affects the local rendering: nothing is sent back to a server.

Ranges and defaults: 把照片拖进来,或点击选择 J (4–80(默认 24)), 补全策略 (块匹配 · 有纹理背景 / 快速扩散 · 纯色背景), 迭代次数 (3–12(默认 6)), 迭代次数 (0–6(默认 2)). Values outside the slider range are rejected rather than silently clamped.

The 把照片拖进来,或点击选择 J control is a slider with the range 4–80(默认 24); every step redraws the result, so you can compare two neighbouring values without guessing.

The 补全策略 control is a dropdown with the options 块匹配 · 有纹理背景 / 快速扩散 · 纯色背景; the active option is what the export uses, so check it after every reload.

The 迭代次数 control is a slider with the range 3–12(默认 6); every step redraws the result, so you can compare two neighbouring values without guessing.

The 迭代次数 control is a slider with the range 0–6(默认 2); every step redraws the result, so you can compare two neighbouring values without guessing.

✨ Features

  • Paint to mask with a 4 to 80 px brush; erase or undo when you overshoot.
  • Two fill strategies: fast diffusion for small areas and flat backgrounds, patch matching for textured walls, floors and fabric.
  • Hold to compare with the original and release to return to the result.
  • Up to ten undo steps and a Start over that restores the import.
  • Zoom between 50 and 100 percent for precise tracing.
  • Local only: no upload, export at source resolution.

🚀 How to use

  1. Import a photo and switch to 100 percent to find the target.
  2. Set the brush size and paint over the object, extending two to four pixels past its edge.
  3. Pick a fill strategy and iteration count, then run the fill.
  4. Hold compare to check for leftovers, then touch up or undo.
  5. Export PNG or copy the result.

⚠️ Before you rely on it

  • Not generative AI: content comes from nearby pixels, so complex or differently lit areas stay blurry.
  • Large areas are limited: beyond about forty percent of the frame the result is usually smudged.
  • Cost grows with pixels: images above 4000 px are slow; work around 2000 px and re-run at full size.
  • Cover the edge: painting only the interior leaves an outline.
  • Session-only undo: refreshing clears history and the erased content cannot be recovered from the export.

Questions people ask: Q: Why is the filled area blurry? A: No similar texture was nearby, so only colour diffused; paint a smaller area or switch to patch matching. Q: Can it remove a large solid watermark? A: Thin or translucent ones yes; a solid block covering much of the frame usually cannot be filled cleanly. Q: It is slow, what can I do? A: Work on a 2000 px copy, lower the iterations, then re-run at full size. Q: Can I undo many mistaken strokes? A: Only the last ten steps. Beyond that the oldest is discarded, so export an intermediate result before a large rework.

Typical use: Removing a passer-by or bin that slipped into a travel photo. Cleaning a stray cable, price tag or stain from a product shot. Flattening half a watermark left in a screenshot corner.

What you can enter: JPG, PNG or WebP up to 20 MB and 8000 px per side. Brush 4 to 80 px; fast diffusion or patch matching; three to twelve iterations. The mask is stored in source pixels, so display zoom does not move it.

What you get back: A PNG at the original resolution, or a clipboard copy. The history lists only this session and clears on refresh.

Limits to keep in mind: No generative fill; complex texture produces blur and repeated patterns. No automatic object detection; you paint the mask. Images are never uploaded or written to disk.

Related

⏫︎