bioRxivCell Biology
Neural network control of focal position during time-lapse microscopy of cells
Abstract
Live-cell microscopy is quickly becoming an indispensable technique for studying the dynamics of cellular processes. Maintaining the specimen in focus during image acquisition is crucial for high-throughput applications, especially for long experiments or when a large sample is being continuously scanned. Automated focus control methods are often expensive, imperfect, or ill-adapted to a specific application and are a bottleneck for widespread adoption of high-throughput, live-cell imaging. Here, we demonstrate a neural network approach for automatically maintaining focus during bright-field microscopy. Z-stacks of yeast cells growing in a microfluidic device were collected and used to train a convolutional neural network to classify images according to their z-position. We studied the effect on prediction accuracy of the various hyperparameters of the neural network, including downsampling, batch size, and z-bin resolution. The network was able to predict the z-position of an image with {+/-}1 m accuracy, outperforming human annotators. Finally, we used our neural network to control microscope focus in real-time during a 24 hour growth experiment. The method robustly maintained the correct focal position compensating for 40 m of focal drift and was insensitive to changes in the field of view. Only ~100 annotated z-stacks were required to train the network making our method quite practical for custom autofocus applications.
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Single-shot autofocus microscopy using deep learning
H. Pinkard, Z. Phillips, … L. Waller·bioRxiv·Mar 23, 2019
- Robust optical autofocus system utilizing neural networks trained for extended range and time-course and automated multiwell plate imaging including single molecule localization microscopy
J. Lightley, F. Görlitz, … P. M. W. French·bioRxiv·Mar 5, 2021
- Using Beads as a Focus Fiduciary to Aid Software-based Autofocus Accuracy in Microscopy
I Gibson, Elizabeth J. Osterlund, Ray Truant·BIO-PROTOCOLPeer-reviewed·Jan 1, 2025
- Object Detection Networks and Augmented Reality for Cellular Detection in Fluorescence Microscopy Acquisition and Analysis.
Dominic Waithe, Jill M. Brown, … Christian Eggeling·The Journal of Cell BiologyPeer-reviewed·Jul 22, 2020
- RAPID: Real-time image-based autofocus for all wide-field optical microscopy systems
L. Silvestri, M. C. Muellenbroich, … F. S. Pavone·bioRxiv·Jul 31, 2017
- Stochastic Neural Networks for Automatic Cell Tracking in Microscopy Image Sequences of Bacterial Colonies
Sorena Sarmadi, James J. Winkle, … Robert Azencott·Mathematical and Computational ApplicationsPeer-reviewed·Mar 2, 2022