Image thresholding is critical to computer vision systems designed to detect very small numbers of contaminant particles from analysis of images acquired by in-line process monitoring. The objective of this work was to obtain a thresholding method that would permit in-line, \real-time," determination of both the number of particles in an image and their size. An additional requirement was that it automatically adapt to inevitable variations in the image quality. A new global image thresholding method, the MaxMin method (\MaxMin"), was developed. MaxMin notes the size of the smallest detected particle in an image as threshold value is progressively changed from black to white. The selected threshold value is the one providing the largest size. MaxMin was tested on thousands of images, and it was shown to readily adapt to images of different background noise levels and provided particle counts as accurate as those of a human observer in less than three seconds per image. Error in particle size measurement was a function of the particle size and the image resolution. It was about 3% for 50 m particles, using a CCD camera with 2Â lens, calibrated for each pixel to represent *5 m 2 . The error was significantly higher for smaller particles, when the same system resolution was used.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.