在不影响清晰度的情况下放大图像 [英] Enlarging image without affecting clarity

查看:97
本文介绍了在不影响清晰度的情况下放大图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要放大下载的图像而不影响它的清晰度。但是当调整大小时它的清晰度已经消失。可以提供任何帮助吗?

解决方案

鉴于上下文,我认为你的意思是视觉外观。你想要你升级的图像,我相信你正在处理升级而不是降尺度(它没有在你的问题中指定),看起来视觉上很好。我们实际上可以神奇地创造细节,但可能不是一个完美的细节。有专门处理像素化图像的技术,一样, Lanczos 或更现代的东西,如 ICBI http://www.cs.huji.ac.il /~raananf/projects/lss_upscale/paper.pdf 。考虑前三个,我们得到相应的结果:





可能有点难以想象最后三个之间的差异,但如果你可以放大实际的图像,然后你就能注意到它们。在这种情况下,ICBI给出了最清晰的边缘。


I need to enlarge the image downloaded without affecting its clarity.but when resized its clarity has gone.Can any one help?

解决方案

Given the context, by clarity I assume you mean visual appearance. You want your upscaled image, again I believe you are dealing with upscaling and not downscaling (it is not specified in your problem), to look visually good. We actually can magically create detail, but probably not a perfect one. There are techniques for specifically working with pixelated images, hqx or http://research.microsoft.com/en-us/um/people/kopf/pixelart/paper/pixel.pdf for instance. Since that is not clear from your description either, I'm simply assuming you have images of any kind.

With these considerations, you have yet to describe what you tried. Let me guess you tried a nearest neighbor interpolation, so you get something like:

There are other common types of interpolation. Like bicubic, Lanczos or something more modern like ICBI or http://www.cs.huji.ac.il/~raananf/projects/lss_upscale/paper.pdf. Consider the first three of those, we get the respective results:

It may be a little hard to visualize the differences among these last three, but if you zoom into the actual images then you will be able to notice them. ICBI gives sharpest edges in this case.

这篇关于在不影响清晰度的情况下放大图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆