Determine for each pixel if it is black or white to create a checkerboard pattern
Reference image