Quantise the image to 4 brightness values.
Reference image
Original