Litcius/Paper detail

Fast and accurate autofocus control using Gaussian standard deviation and gradient-based binning

Peter DiMeo, Lu Sun, Xian Du

2021Optics Express28 citationsDOIOpen Access PDF

Abstract

We propose a fast and accurate autofocus algorithm using Gaussian standard deviation and gradient-based binning. Rather than iteratively searching for the optimal focus using an optimization process, the proposed algorithm directly calculates the mean of the Gaussian shaped focus measure (FM) curve to find the optimal focus location and uses the FM curve standard deviation to adapt the motion step size. The calculation only requires 3-4 defocused images to identify the center location of the FM curve. Furthermore, by assigning motion step sizes based on the FM curve standard deviation, the magnitude of the motion step is adaptively controlled according to the defocused measure, thus avoiding overshoot and unneeded image processing. Our experiment verified the proposed method is faster than the state-of-the-art Adaptive Hill-Climbing (AHC) and offers satisfactory accuracy as measured by root-mean-square error. The proposed method requires 80% fewer images for focusing compared to the AHC method. Moreover, due to this significant reduction in image processing, the proposed method reduces autofocus time to completion by 22% compared to the AHC method. Similar performance of the proposed method was observed in both well-lit and low-lighting conditions.

Topics & Concepts

AutofocusStandard deviationComputer scienceFocus (optics)GaussianArtificial intelligenceImage processingGaussian processAlgorithmComputer visionMathematicsOpticsImage (mathematics)PhysicsStatisticsQuantum mechanicsImage Processing Techniques and ApplicationsDigital Holography and MicroscopyOptical measurement and interference techniques