tutorial for scaling and interpolation algorithms

BlitzMax Forums/BlitzMax Programming/tutorial for scaling and interpolation algorithms

MindWorm(Posted 2009) [#1]
Hi :)

I just read the following article about scaling and interpolation algorithms: http://en.wikipedia.org/wiki/Pixel_art_scaling_algorithms

As such algorithms seem to enhance the quality of upscaled images pretty much, I'm very interested in implementing such an algorithm in BlitzMax. I don't know whether this could be done real-time to a fullscreen image in BlitzMax, but even non-real-time would be interesting.

In the mentioned article there is a very understandable description of how the eagle algorithm works. Unfortunately I find the hq2x and Super 2xSaI algorithms way more interesting, but I couldn't find any tutorial or good description of how they work in the web. I've only found the source for Super 2xSaI ( http://bob.allegronetwork.com/projects.html ), but as my knowledge of C/C++ is limited, this code doesn't help me as much, as a description would, so I'd be very happy, if someone could explain how the hq2x or Super 2xSaI algorithm works or give me a link to a tutorial.