照片物体移除
使用传统图像修复(非生成式 AI)填充所选矩形区域。
输入
提示:按 Ctrl + Enter 运行
已保存的设置
下方的详细帮助目前仅提供英文版。
关于此工具
Sometimes a photo is almost perfect except for a small distraction: a date stamp burned into a scan, a dust spot, a sticker or a small sign. This tool fills a rectangle you specify by extending the surrounding pixels inward with the Telea inpainting algorithm.
Because it is a classical algorithm rather than generative AI, it works best on small areas surrounded by fairly uniform texture (sky, walls, grass, water) and does not invent new objects.
使用方法
- Choose the photo and note the area to remove in pixels (an image viewer shows cursor coordinates).
- Enter the left and top position and the width and height of the rectangle.
- Run it and check the result; adjust the rectangle if needed.
计算原理
A mask covering the rectangle is created and OpenCV’s cv2.inpaint with the INPAINT_TELEA method fills it by propagating colour and gradient information from the boundary inward, with a radius of 3 pixels.
计算示例
A family scan has an orange “98 07 14” date stamp in the bottom-right corner, roughly at x = 1480, y = 1010, 220 × 60 pixels. Entering that rectangle fills it with the surrounding grass texture. A person in the middle of a busy street would be too complex for this method.
局限性
- Rectangles only.
- Large or detailed areas leave visible smudging.
- Processed on the server; the file is deleted after the job.
最后更新:
常见问题
Why not use AI?
Generative fill can invent misleading content. Classical inpainting only spreads nearby texture.
How do I find pixel coordinates?
Most image viewers and editors show the cursor position; or crop a copy to measure.
Can I remove several objects?
Run the tool once per rectangle on the result.
故障排除
“Out of bounds” error.
The rectangle extends beyond the image; reduce width or height.
The fill looks blurry.
Use a tighter rectangle around the object.
Edges of the object remain.
Make the rectangle a few pixels larger than the object.
隐私 & 免费使用
我的输入会被保存吗?
此工具会将文件或输入上传到我们的隔离处理器。任务完成后会删除工作文件。请勿提交敏感或机密材料。
这个工具免费吗?
是的。无需注册或付费。