Remove checkerboard patterns from a 16 color image using grafx2

Hi,

Some time ago i did try to write a program that can remove checkerboard patterns and ended up in writing a grafx2 filter:

Method 1 : http://pastebin.com/72ECfysR
Method 2 : http://pastebin.com/UBJuh38x

Both Methods do remove chess pattern. However the result will differ. I can’t say which method is better, it depends on the image size the art of the image and other things.

WARNING: It won’t work on Black/White images very well. Those images would require an entire different algorithm logic. Processing p.ex 640×480 16 color images may still take some time but i think that black and white images would take much more time. ( The filter logic would be really complex for 2 color images.).

The algorithm works really well :

[Image: 2hx9k7r.jpg]

Why i did share this, well perhaps some of you have older computer graphics that are checkerboarded , a thing that isnt necessary nowadays.

regards bluedxca93

Posted by: bluedxca93-web-blog.coolpage.biz on