In order to be able to evaluate, measure or count objects, the images have to be converted to black and white binary images as a preparatory step. The objective is to separate the foreground from the background. This is the only way to assure simple subsequent evaluation of the images.