» Articles » PMID: 29540156

Assessing Microscope Image Focus Quality with Deep Learning

Overview
Publisher Biomed Central
Specialty Biology
Date 2018 Mar 16
PMID 29540156
Citations 43
Authors
Affiliations
Soon will be listed here.
Abstract

Background: Large image datasets acquired on automated microscopes typically have some fraction of low quality, out-of-focus images, despite the use of hardware autofocus systems. Identification of these images using automated image analysis with high accuracy is important for obtaining a clean, unbiased image dataset. Complicating this task is the fact that image focus quality is only well-defined in foreground regions of images, and as a result, most previous approaches only enable a computation of the relative difference in quality between two or more images, rather than an absolute measure of quality.

Results: We present a deep neural network model capable of predicting an absolute measure of image focus on a single image in isolation, without any user-specified parameters. The model operates at the image-patch level, and also outputs a measure of prediction certainty, enabling interpretable predictions. The model was trained on only 384 in-focus Hoechst (nuclei) stain images of U2OS cells, which were synthetically defocused to one of 11 absolute defocus levels during training. The trained model can generalize on previously unseen real Hoechst stain images, identifying the absolute image focus to within one defocus level (approximately 3 pixel blur diameter difference) with 95% accuracy. On a simpler binary in/out-of-focus classification task, the trained model outperforms previous approaches on both Hoechst and Phalloidin (actin) stain images (F-scores of 0.89 and 0.86, respectively over 0.84 and 0.83), despite only having been presented Hoechst stain images during training. Lastly, we observe qualitatively that the model generalizes to two additional stains, Hoechst and Tubulin, of an unseen cell type (Human MCF-7) acquired on a different instrument.

Conclusions: Our deep neural network enables classification of out-of-focus microscope images with both higher accuracy and greater precision than previous approaches via interpretable patch-level focus and certainty predictions. The use of synthetically defocused images precludes the need for a manually annotated training dataset. The model also generalizes to different image and cell types. The framework for model training and image prediction is available as a free software library and the pre-trained model is available for immediate use in Fiji (ImageJ) and CellProfiler.

Citing Articles

The senolytic cocktail, dasatinib and quercetin, impacts the chromatin structure of both young and senescent vascular smooth muscle cells.

Gadecka A, Nowak N, Bulanda E, Janiszewska D, Dudkowska M, Sikora E Geroscience. 2025; .

PMID: 39828770 DOI: 10.1007/s11357-024-01504-6.


GJFocuser: a Gaussian difference and joint learning-based autofocus method for whole slide imaging.

Chen W, Li C, Huang Z, Wang Z Biomed Opt Express. 2025; 16(1):282-302.

PMID: 39816138 PMC: 11729290. DOI: 10.1364/BOE.547119.


Intelligent Beam Optimization for Light-Sheet Fluorescence Microscopy through Deep Learning.

Li C, Rai M, Cai Y, Ghashghaei H, Greenbaum A Intell Comput. 2024; 3.

PMID: 39099879 PMC: 11298055. DOI: 10.34133/icomputing.0095.


Establishing a reference focal plane using convolutional neural networks and beads for brightfield imaging.

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.


DeepFocus: fast focus and astigmatism correction for electron microscopy.

Schubert P, Saxena R, Kornfeld J Nat Commun. 2024; 15(1):948.

PMID: 38296974 PMC: 10830472. DOI: 10.1038/s41467-024-45042-3.


References
1.
Bray M, Fraser A, Hasaka T, Carpenter A . Workflow and metrics for image quality control in large-scale high-content screens. J Biomol Screen. 2011; 17(2):266-74. PMC: 3593271. DOI: 10.1177/1087057111420292. View

2.
Koho S, Fazeli E, Eriksson J, Hanninen P . Image Quality Ranking Method for Microscopy. Sci Rep. 2016; 6:28962. PMC: 4929473. DOI: 10.1038/srep28962. View

3.
Lamprecht M, Sabatini D, Carpenter A . CellProfiler: free, versatile software for automated biological image analysis. Biotechniques. 2007; 42(1):71-5. DOI: 10.2144/000112257. View

4.
Hou W, Gao X, Tao D, Li X . Blind image quality assessment via deep learning. IEEE Trans Neural Netw Learn Syst. 2014; 26(6):1275-86. DOI: 10.1109/TNNLS.2014.2336852. View

5.
Sirinukunwattana K, Raza S, Tsang Y, Snead D, Cree I, Rajpoot N . Locality Sensitive Deep Learning for Detection and Classification of Nuclei in Routine Colon Cancer Histology Images. IEEE Trans Med Imaging. 2016; 35(5):1196-1206. DOI: 10.1109/TMI.2016.2525803. View