如何使java流派缩略图更清晰

发布于 2024-09-01 16:46:13 字数 33 浏览 1 评论 0原文

我有用 Java 生成的缩略图,但不够清晰,为什么?

I have thumbnails generated in Java, but not sharp enough, why?

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

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

发布评论

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

评论(3

别靠近我心 2024-09-08 16:46:13

我使用 java-image-scaling 库 获得了出色的结果。

I'm getting excellent results with the java-image-scaling library.

給妳壹絲溫柔 2024-09-08 16:46:13

可能是因为您使用的内核。

例如,lanczos 过滤器 可以提供相对清晰的结果。

Possibly because of the kernel you've used.

A lanczos filter, for instance, gives relatively sharp results.

只涨不跌 2024-09-08 16:46:13

我发现最好的结果是使用 Lanczos 比例的缩略图和模糊蒙版之后产生的。大多数缩放算法首先应用低通滤波器(模糊),然后进行二次采样,这使得缩小后的图像看起来不够清晰。

I found the best results are produced with Lanczos scale for thumbnails and unsharp mask after that. Most scale algorithms apply as a first step a low pass filter (blur) and sub-sampling after that, this makes scaled down images to look not sharp enough.

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