去除 png 中的伪影

发布于 2024-12-29 08:39:56 字数 131 浏览 2 评论 0原文

我创建了自己的算法来消除基于像素的伪影。唯一的问题是我必须根据图片手动指定 RGB 的范围。

我正在尝试使其更加自动化,并得出结论,伪影通常颜色非常浅,除非倾斜屏幕,否则几乎看不见。我可以使用任何 RGB 数学来正确清除这些伪影吗?

I've created my own algorithm to remove artifacts based on pixels. The only problem is that I have to manually specify the range of RGB based on a picture.

I'm trying to make it a bit more automatic, and have concluded that artifacts are usually very light colored and barely visible unless tilting the screen. Is there any RGB math that I can use to weed these artifacts out properly?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

愛放△進行李 2025-01-05 08:39:56

实现此目的的基本方法是在图像上使用自适应模糊。非常接近白色的将变成白色,依此类推,但边缘将保持完整。使用 ImageMagick,http://www.php.net/manual/en/imagick。自适应模糊图像.php

A basic way to do this is to use an adaptive blur on the image. Very close to white will be turned white, and so on, but edges will stay intact. Use ImageMagick, http://www.php.net/manual/en/imagick.adaptiveblurimage.php

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文