Convert from camera capture image to dot image