We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(3)
尝试一下(使用 ImageMagick):
它基本上需要一个图像文件(即
picture.jpg
),并使用 12% 的模糊因子(您可以使用此值以获得更好的结果)基于图像进行洪水填充图像四个角的像素颜色。经过所有这些过程,输出的图像是result.png
。基于这篇文章: http://snippets .aktagon.com/snippets/558-how-to-remove-a-background-with-imagemagick
Try this (using ImageMagick):
It basically takes an image file (i.e.
picture.jpg
), and using a fuzz factor of 12% (you can play with this value for better results) floodfills the image based on the pixel colors of the image's four corners. After all that process, the image outputted isresult.png
.Based on this post: http://snippets.aktagon.com/snippets/558-how-to-remove-a-background-with-imagemagick
您如何使用 Imagemagick?我正在一个项目中使用以下命令执行类似的操作:
注意:我使用非常旧的 imageMagick 版本(6.2.4.3)。命令语法可能已更改。
How are you using Imagemagick? I am doing something similar in one project, with this commands:
Note: I use a very old imageMagick version (6.2.4.3). Commands syntax may have changed.
http://FotoFuze.com 半自动进行背景去除,并为产品摄影提供出色的质量效果!
http://FotoFuze.com does background removal semi-automatically and has great quality results for product photography!