In recent years, smartphones have become the primary device for day-to-day photography. Therefore, it is critical for mobile imaging to capture sharp images automatically without human intervention. In this paper, we formulate autofocus as a decisionmaking process, in which the travel distance of a lens is determined from the phase data obtained from the phase sensors of a smartphone, and the decision-making policy is based on reinforcement learning, a popular technique in the field of deep learning. We propose to use a noise-tolerant reward function to combat the noise of the phase data. In addition, instead of using only the current phase data, each lens movement is determined using the phase data acquired along the journey of an autofocus process. As a result, the proposed machine-learning approach is able to expedite the autofocus process as well. Experimental results show that the method indeed improves the autofocus speed.
Chin-Cheng Chan, Homer H Chen, "Autofocus by deep reinforcement learning" in Proc. IS&T Int’l. Symp. on Electronic Imaging: Photography, Mobile, and Immersive Imaging, 2019, pp 577-1 - 577-6, https://doi.org/10.2352/ISSN.2470-1173.2019.4.PMII-577