有损压缩图像处理

发布于 2024-08-16 21:09:02 字数 132 浏览 5 评论 0原文

如果我们将无损压缩图像的图像处理与有损压缩图像的图像处理进行比较,后者是否提供与前者相当的结果。

我问这个问题是因为无损压缩产生的图像对于人眼来说是可以的,但它们在微小细节上有所不同,这可能会影响计算机对图像的处理。但我无法说出多少。

If we compare image procesing of the losslessly compressed images with the image processing of the lossy compressed images, does the latter provide the results comparable to the former one.

I am asking this question because the images prodiced by lossless compression are ok for human eye but they vary at minute details which may effect the processing of images by the computer. But I can't tell how much.

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

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

发布评论

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

评论(2

百变从容 2024-08-23 21:09:02

我在这里没有看到太多问题,但你是对的。如果处理具有中等压缩比的 JPG 图像,这种情况尤其明显 - 构成 JPG 的 8x8 方块在过滤后往往会变得更加明显。

这与基于计算机的浮点数运算时计算误差的增加相当。

图像处理的最佳选择是使用无损格式进行图像处理 - PNG 是一个不错的选择,因为它们都提供无损压缩,并且对位深度、透明度提供良好的支持,并且与浏览器兼容。

另一种在专业领域更常用的格式是 TIFF (Targa)。

但是,请注意,如果您的图像已经采用基于丢失的格式,将其转换为无损格式只会阻止添加其他伪像,而不会传播和增强旧图像。但是,您可以通过将其转换为无损格式并通过小种子高斯模糊运行来减少错误程度。

I don't see much of a question here, but you are right. It is especially visible if processing a JPG image with a medium compression ratio -- the 8x8 squares of which JPG's are built of tend to get more visible after filtering.

This is comparable to the rising of computational error when operating on computer-based floating point numbers.

Your best bet for image processing is using lossless formats for image processing -- PNG's are a good choice, cause they both provide lossless compression, as well as a decent support for bitdepths, transparency and are browser-compatible.

Another format, more often used in the professional world are TIFF's (Targa).

However, note that if your source image is already in a loss-based format, converting it to a lossless one will only prevent adding additional artifact's, not spreading and enhancing the old one. You can however reduce the extent of error by converting it to a lossless format and running it through a small seed gaussian blur.

冰魂雪魄 2024-08-23 21:09:02

也许您正在寻找感知图像差异实用程序?

Perhaps you are looking for the Perceptual Image Diff utility?

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