hq2x implementation?

Has anybody seen or written an implementation of the hq2x image filter in Java?

For those of you who don’t know what this is, hq2x is a very high quality scaling/magnification filter that’s commonly used in emulators to allow games to have their resolution increased without a sacrifice in quality. It’s like Scale 2x but 10x better and a lot more complicated to implement.

You can read more about it here. http://www.hiend3d.com/hq2x.html

They do provide source, but it’s convoluted to say the least.

http://www.hiend3d.com/img/mailbox_original.gif

http://www.hiend3d.com/img/mailbox_nn2x.gif
(Normal Scaling)

http://www.hiend3d.com/img/mailbox_hq2x.gif
hq2x

http://192.18.37.44/forums/index.php?topic=10209.0

This is a scale2x implementation >.<

Hell i would love to see a hq2x in java, it looks very nice but i havent seen of one.

It was ment as a pointer to some related topic :wink:

So, yea I wa aware of the visual differences, but the scale2/3x thing is something he could have used in the meantime.