Neural Network Control of Focal Position During Time-lapse Microscopy of Cells
Authors
Affiliations
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. About ~100 annotated z-stacks were required to train the network making our method quite practical for custom autofocus applications.
Chalfoun J, Lund S, Ling C, Peskin A, Pierce L, Halter M Sci Rep. 2024; 14(1):7768.
PMID: 38565548 PMC: 10987482. DOI: 10.1038/s41598-024-57123-w.
He W, Ma Y, Wang W Sensors (Basel). 2023; 23(17).
PMID: 37688033 PMC: 10490662. DOI: 10.3390/s23177579.
Machine learning-based detection of label-free cancer stem-like cell fate.
Chambost A, Berabez N, Cochet-Escartin O, Ducray F, Gabut M, Isaac C Sci Rep. 2022; 12(1):19066.
PMID: 36352045 PMC: 9646748. DOI: 10.1038/s41598-022-21822-z.
Dharmawan A, Mariana S, Scholz G, Hormann P, Schulze T, Triyana K Sci Rep. 2021; 11(1):3213.
PMID: 33547342 PMC: 7865004. DOI: 10.1038/s41598-021-81098-7.
Deep Learning in Image Cytometry: A Review.
Gupta A, Harrison P, Wieslander H, Pielawski N, Kartasalo K, Partel G Cytometry A. 2018; 95(4):366-380.
PMID: 30565841 PMC: 6590257. DOI: 10.1002/cyto.a.23701.