Converts background into a tile based system. Basic edge detection.