A comparison of different focus functions for use in autofocus algorithms.
A number of functions for the autofocusing of microscopes and other optical instruments are to be found in the literature. In this article we compare 11 of them to determine, in an objective manner, which functions are most suitable for implementation with real-time video acquisition systems. Three different images, each representing a typical class of image, are used in the comparison. Among the best focus functions found in our study are the squared magnitude gradient, the squared Laplacian, and the normalized image standard deviation.
D008853:Microscopy / Q000379:methods*; D055095:Optics and Photonics; D013223:Statistics as Topic