双三次插值如何工作? [英] How does bicubic interpolation work?

查看:407
本文介绍了双三次插值如何工作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在阅读有关此主题的文字后,我发现它考虑了原始相邻像素中的16个。我想知道的是它如何计算新像素的颜色值。如果已知16个像素的颜色值,你怎么能计算出新颜色的值?

After reading text about this said topic, i found out that it considers 16 of the original neighboring pixels. What i want to know is how does it compute the color value of the new pixel. If the color values of the 16 pixels are known, how could you compute the value of the new one?

推荐答案

我认为这是很好地解释了维基百科。您需要4 * 4 = 16像素的强度值,您可以从中计算<*>在<* em> 4 * 4网格中的任何点的插值。

I think it's pretty well explained in Wikipedia. You need the intensity values of 4*4=16 pixels, from which you can calculate the interpolated value at any point within that 4*4 grid.

如果您的意思是如何为RGB三元组执行此操作,则只需对每个组件单独执行此过程。

If you mean how to do this for RGB triplets, you just do the process separately for each component.

这篇关于双三次插值如何工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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