Fig. 1: The MLAO concept.
From: Universal adaptive optics for microscopy through embedded neural network control

a Overview of the AO correction process. A minimum of two bias aberrations were introduced by the adaptive element; corresponding images of the same field were captured. The images were passed to the MLAO estimator, which determined the Zernike coefficients for correction. The correction speed was limited only by the speed of image acquisition, not by computation. Further correction could optionally be implemented through iteration. b Image pre-processing and NN architecture. Images were pre-processed to compute pseudo-PSFs, which were predominantly independent of specimen structure. ℱ and ℱ-1 represent the forward and inverse Fourier transform, respectively. A central cropped region of the pseudo-PSF images was used as the input to a convolutional neural network (CNN). The CNN was designed and trained specifically for aberration determination. The output from the overall network was the correction coefficients for the Zernike modes. The NN architecture was such that the convolutional layer outputs could be correlated with spatial scales of the aberration effects on the pseudo-PSFs and hence the imaging process. Hence, the distribution of weights in the fully connected layer (FCL) of the network had physical relevance. c Training data generation. A range of image variations were included in the synthetic data set for NN training to cope with variations in real experimental scenarios. The data were a combination of artificial and real microscope images, chosen to model a wide range of realistic specimen structures. Images were created through convolution of specimen structures with an appropriate PSF, generated for the specific microscope modality, incorporating aberrations. Details of the training data synthesis and data augmentation can be found in section 2 of the supplemental document