Abstract
The possibility of focusing images by the autocorrelation function is explained. It can be shown that these techniques are less sensitive to disturbances by noise than others. Furthermore, focusing criteria derived from autocorrelation functions have different responses to image contrast.It has been shown that these focusing criteria can be determined using binary images and applying the laws of stochastic ergodic metrology. This leads to a large reduction in computing time.Moreover, an attempt was made to focus by means of binary images determined by simple segmentation. The experimental results show that such a focus criterion operates quite well. The criterion offers the advantage that brightness levels in the image can be chosen selectively for focusing.