Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How does bicubic interpolation work?

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?

like image 571
aidriiyan Avatar asked Dec 30 '09 08:12

aidriiyan


1 Answers

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.

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

like image 56
Joonas Pulakka Avatar answered Oct 25 '22 11:10

Joonas Pulakka