In my project, I load an image via OpenFileDialog. This is converted to a black and white image (not a gray image). You can also adjust the black and white threshold a littl