Talk:Interpolation (computer programming)

From Wikipedia, the free encyclopedia

I think this is not very important.

It's actually quite important in string programming however it does need to be rewritten. And by "rewritten", I mean "written". Jeff Hood 00:56, 13 February 2007 (UTC)

Perhaps something should be added about interpolation in terms of color in computer graphics? (Something along the lines of:

Color interpolation=

• If we want a colored gradient: • At p, the line is 100% red, 0% blue • At q, the line is 0% red, 100% blue • In between, it varies smoothly • This process is called interpolation

In terms of Computer Programming, It would be done like this: for (t = 0.0; t <= 1.0; t += 0.001) { point_r = point_p + (point_q - point_p) * t; colour = colour_p + (colour_q - colour_p) * t; setColour(colour); setPixel(round(r_x), round(r_y)); }

Just an idea.) Luain 12:52, 3 April 2007 (UTC)

[edit] ===

This may be appropriate, but color interp is mentioned in my overview, even if rather briefly. If detailed (pseudo) code of this type is desired, then it should be included for all other types of interpolation, or at least as one of a few examples. no? I originally questioned whether my overview belongs here or in a new topic related more toward Image gerneration rather than this general "computer interpolation". That's why I opened with the "Perhaps the most popular...". These days, just about *all* interpolation is done by computer and for innumerable applications, not just graphics, so I thought this topic title might not be the best for anything other than a general overview with links to many other pages for the specific types/uses. wa-da-ya-think?. EngineerSteve 00:59, 19 May 2007 (UTC)

Most of the content on this page is about the mathematical term Interpolation, it should not be necessary to repeat all that on this page. --Berland 08:20, 10 June 2007 (UTC)

Thanks. I minimized them July 16/07, but just now see I didn't respond here. -- Steve -- 22:06, 9 September 2007 (UTC)