Autofocusing in computer microscopy: selecting the optimal focus algorithm
Related Experiment Video
Updated: Aug 20, 2026

Control of Cell Geometry through Infrared Laser Assisted Micropatterning
Published on: July 10, 2021
Yu Sun1, Stefan Duthaler, Bradley J Nelson
1Advanced Micro and Nanosystems Laboratory, University of Toronto, Canada. sun@mie.utoronto.ca
Abstract:
Autofocusing is a fundamental technology for automated biological and biomedical analyses and is indispensable for routine use of microscopes on a large scale. This article presents a comprehensive comparison study of 18 focus algorithms in which a total of 139,000 microscope images were analyzed. Six samples were used with three observation methods (brightfield, phase contrast, and differential interference contrast (DIC)) under two magnifications (100x and 400x). A ranking methodology is proposed, based on which the 18 focus algorithms are ranked. Image preprocessing was also conducted to extensively reveal the performance and robustness of the focus algorithms. The presented guidelines allow for the selection of the optimal focus algorithm for different microscopy applications.
Related Concept Videos
Imaging Biological Samples with Optical Microscopy
In optical microscopy, the specimen to be viewed is placed on a glass slide and clipped on the stage...
Confocal Fluorescence Microscopy
Super-resolution Fluorescence Microscopy

