摘要 |
An image focus assessment method is provided that works reliably for images of a variety of relatively dissimilar workpieces or workpiece features. The focus assessment method is based on analysis of a single image (without the benefit of comparison to other images). The robustness of the focus assessment method is enhanced by the use of at least one classifier based on a plurality of focus classification features. In one application, a primary advantage of assessing focus from a single image is that an overall workpiece inspection time may be reduced by avoiding running an autofocus routine if an image is already in focus. In various embodiments, the focus assessment method may include an ensemble of classifiers. The ensemble of classifiers can be trained on different training data (sub)sets or different parameter (sub)sets, and their classification outcomes combined by a voting operation or the like, in order to enhance the overall accuracy and robustness of the focus assessment method.
|