{"title":"Precision autofocus in optical microscopy with liquid lenses controlled by deep reinforcement learning.","authors":"Jing Zhang, Yong-Feng Fu, Hao Shen, Quan Liu, Li-Ning Sun, Li-Guo Chen","doi":"10.1038/s41378-024-00845-8","DOIUrl":null,"url":null,"abstract":"<p><p>Microscopic imaging is a critical tool in scientific research, biomedical studies, and engineering applications, with an urgent need for system miniaturization and rapid, precision autofocus techniques. However, traditional microscopes and autofocus methods face hardware limitations and slow software speeds in achieving this goal. In response, this paper proposes the implementation of an adaptive Liquid Lens Microscope System utilizing Deep Reinforcement Learning-based Autofocus (DRLAF). The proposed study employs a custom-made liquid lens with a rapid zoom response, which is treated as an \"agent.\" Raw images are utilized as the \"state\", with voltage adjustments representing the \"actions.\" Deep reinforcement learning is employed to learn the focusing strategy directly from captured images, achieving end-to-end autofocus. In contrast to methodologies that rely exclusively on sharpness assessment as a model's labels or inputs, our approach involved the development of a targeted reward function, which has proven to markedly enhance the performance in microscope autofocus tasks. We explored various action group design methods and improved the microscope autofocus speed to an average of 3.15 time steps. Additionally, parallel \"state\" dataset lists with random sampling training are proposed which enhances the model's adaptability to unknown samples, thereby improving its generalization capability. The experimental results demonstrate that the proposed liquid lens microscope with DRLAF exhibits high robustness, achieving a 79% increase in speed compared to traditional search algorithms, a 97.2% success rate, and enhanced generalization compared to other deep learning methods.</p>","PeriodicalId":18560,"journal":{"name":"Microsystems & Nanoengineering","volume":"10 1","pages":"201"},"PeriodicalIF":7.3000,"publicationDate":"2024-12-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Microsystems & Nanoengineering","FirstCategoryId":"5","ListUrlMain":"https://doi.org/10.1038/s41378-024-00845-8","RegionNum":1,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"INSTRUMENTS & INSTRUMENTATION","Score":null,"Total":0}
引用次数: 0
Abstract
Microscopic imaging is a critical tool in scientific research, biomedical studies, and engineering applications, with an urgent need for system miniaturization and rapid, precision autofocus techniques. However, traditional microscopes and autofocus methods face hardware limitations and slow software speeds in achieving this goal. In response, this paper proposes the implementation of an adaptive Liquid Lens Microscope System utilizing Deep Reinforcement Learning-based Autofocus (DRLAF). The proposed study employs a custom-made liquid lens with a rapid zoom response, which is treated as an "agent." Raw images are utilized as the "state", with voltage adjustments representing the "actions." Deep reinforcement learning is employed to learn the focusing strategy directly from captured images, achieving end-to-end autofocus. In contrast to methodologies that rely exclusively on sharpness assessment as a model's labels or inputs, our approach involved the development of a targeted reward function, which has proven to markedly enhance the performance in microscope autofocus tasks. We explored various action group design methods and improved the microscope autofocus speed to an average of 3.15 time steps. Additionally, parallel "state" dataset lists with random sampling training are proposed which enhances the model's adaptability to unknown samples, thereby improving its generalization capability. The experimental results demonstrate that the proposed liquid lens microscope with DRLAF exhibits high robustness, achieving a 79% increase in speed compared to traditional search algorithms, a 97.2% success rate, and enhanced generalization compared to other deep learning methods.
期刊介绍:
Microsystems & Nanoengineering is a comprehensive online journal that focuses on the field of Micro and Nano Electro Mechanical Systems (MEMS and NEMS). It provides a platform for researchers to share their original research findings and review articles in this area. The journal covers a wide range of topics, from fundamental research to practical applications. Published by Springer Nature, in collaboration with the Aerospace Information Research Institute, Chinese Academy of Sciences, and with the support of the State Key Laboratory of Transducer Technology, it is an esteemed publication in the field. As an open access journal, it offers free access to its content, allowing readers from around the world to benefit from the latest developments in MEMS and NEMS.