This will convert your image to a black and white image.
Use the threshold control to set the threshold.