Skip to main content
NIHPA Author Manuscripts logoLink to NIHPA Author Manuscripts
. Author manuscript; available in PMC: 2017 Jul 15.
Published in final edited form as: Opt Lett. 2016 Jul 15;41(14):3324–3327. doi: 10.1364/OL.41.003324

Automated computational aberration correction method for broadband interferometric imaging techniques

Paritosh Pande 1,, Yuan-Zhi Liu 1,2,, Fredrick A South 1,2, Stephen A Boppart 1,2,3,4,*
PMCID: PMC5458773  NIHMSID: NIHMS861642  PMID: 27420526

Abstract

Numerical correction of optical aberrations provides an inexpensive and simpler alternative to the traditionally used hardware-based adaptive optics techniques. In this Letter, we present an automated computational aberration correction method for broadband interferometric imaging techniques. In the proposed method, the process of aberration correction is modeled as a filtering operation on the aberrant image using a phase filter in the Fourier domain. The phase filter is expressed as a linear combination of Zernike polynomials with unknown coefficients, which are estimated through an iterative optimization scheme based on maximizing an image sharpness metric. The method is validated on both simulated data and experimental data obtained from a tissue phantom, an ex vivo tissue sample, and an in vivo photoreceptor layer of the human retina.


Aberrations in an optical system cause a reduction in imaging resolution and poor image contrast, and limit the imaging depth while imaging biological samples. Traditional hardware-based adaptive optics (HAO) methods provide a means for correcting these aberrations by physically sensing and modifying the wavefront by using a wavefront sensor and deformable mirror, respectively [1]. HAO methods have complex optical setups and require expensive components. In interforometry-based imaging techniques such as digital holography microscopy (DHM) and optical coherence tomography (OCT)/ optical coherence microscopy (OCM), the measurement of a complex optical field allows for computational correction of aberrations by numerically modifying the phase of the detected signal. Compared to HAO-based methods, computational aberration correction offers the flexibility of correcting the aberrations post-data-acquisition without the need for expensive and complex hardware used in HAO.

A group of computational aberration correction techniques is based on numerical sensing of the aberrated wavefront. In the context of OCT/OCM imaging, the guide star-based numerical correction method proposed by Adie et al. [2] and the subaperture correlation-based wavefront error sensing and correction method proposed by Kumar et al. [3] belong to this category. The guide star method is particularly well-suited for images that contain point-like structures. However, because not all samples contain natural guide stars, the applicability of this method can be limiting. The numerical subaperture correlation technique is more general than the guide star method, but the requirement of a uniform Fourier spectrum, and the trade-off between cross-correlation accuracy (subaperture size) and wavefront precision (subaperture number) makes the performance of this method dependent on the scattering properties of samples. Another group of techniques for computational aberration correction is based on estimating an optimal complex pupil phase profile for aberration correction.

Previously, our group has successfully demonstrated a numerical aberration correction technique called computational adaptive optics (CAO) for OCT imaging of various tissue phantoms and samples [46]. The CAO technique is based on maximizing an image sharpness metric to optimize the pupil phase profile, which is modeled as a linear combination of Zernike polynomials. In the existing implementation of our CAO technique, the optimization of the pupil function is performed by manually changing the coefficients of the Zernike polynomials while monitoring the trend of the sharpness metric. In this Letter, we present an automated approach for performing CAO, wherein the optimal Zernike polynomial coefficients are obtained through an iterative optimization method.

The idea of correcting aberrations by maximizing a sharpness metric has been, in the past, proposed and used for both incoherent and coherent imaging systems [7,8]. In the HAO-based OCT literature, the idea is used in sensorless AO systems, where, most commonly, the coefficients of a subset of Zernike basis functions are sequentially optimized in a predetermined order using a 1D grid search algorithm to alter the shape of the deformable mirror so as to achieve maximum image sharpness [911]. While this simple approach is fast and requires only a few measurements, which is advantageous for in vivo imaging, it does not necessarily guarantee an optimal solution. This is because an optimum solution in one dimension of a multidimensional space does not necessarily correspond to the optimum value of the same dimension in the original multidimensional space. Moreover, the choice of the order in which the different Zernike modes are optimized seems unclear [9,10,12,13]. To circumvent these problems, in our optimization routine, instead of optimizing a predetermined Zernike mode at a time, the number and type of Zernike modes at each optimization step are chosen randomly. Starting from an initial point, for different runs of the algorithm, the subsequent random selection of the Zernike modes in our approach allows for the exploration of different trajectories possibly leading to different optima in the multivariate search space. Additionally, instead of using a 1D grid search algorithm for optimization, we use the Resilient backpropagation (Rprop) algorithm, which was originally proposed as an alternative to the gradient-descent based backpropagation algorithm for training the weights in a multilayer feedforward neural network [14].

To understand the optimization problem we seek to solve, consider a complex valued aberrant image g(x, y) and the corresponding Fourier-domain representation G(u, v). In OCT/ OCM, g(x, y) can be an en face complex image extracted from the three-dimensional (3D) data after standard OCT processing. The process of correcting aberrations can be viewed as introducing a suitable phase correction term to ϕ(u, v) to the aberrant image in the Fourier domain to obtain the corrected image, as follows:

H(u,v)=G(u,v)e-jϕ(u,v), (1)

such that sharpness of the corrected image, defined as

S=x,y[h(x,y)h(x,y)]2, (2)

is maximized, where h(x, y) is related to H(u, v) by a Fourier transform, i.e., H(u, v) = ℱ[h(x, y)]. Expressing the phase correction term as a weighted sum of Zernike polynomials, ψk(u, v),

ϕ(u,v)=k=1Kckψk(u,v), (3)

the problem of obtaining the corrected image h(x, y) is then equivalent to finding the optimal weights or coefficients, ĉ = [ĉ1, ĉ2, …, ĉK]T for the Zernike modes that maximize the image sharpness defined as in Eq. (2). Algorithm 1 outlines the main steps of the procedure used to optimize the Zernike mode coefficients. At each iteration of the algorithm, a random number of Zernike modes are selected (step 4 in Algorithm 1). The coefficients for the selected Zernike modes are then optimized by using the Rprop algorithm (step 5). After obtaining the optimized coefficients, c̃opt, all the Zernike polynomial coefficients are updated (step 11) to reflect the cumulative correction applied to the original aberrant image. Finally, the phase correction is applied to the aberrant image to obtain a corrected image, which serves as the aberrant image in the next iteration (step 12). Moreover, to explore multiple optima, the optimization procedure was run five times and the solution yielding the largest value of the sharpness metric was accepted as the final solution.

Algorithm 1.

Optimization of Zernike Coefficients

Input: Iabbg(x, y) ∈ ℝM×N, ZP ∈ ℝM×N×K
Output: Icorrh(x, y) ∈ ℝM×N, coptĉ ∈ ℝK×1
1: Icorr ← Iabb
2: copt ← zeros(K, 1)
3: repeat
4:  k ≡ logical[X1, X2, …, XK]:Xk ~ Bernoulli(0.5)
 ∀ k ∈ {1, 2, …, K} such that not all Xk ∈ {0, 1}
5:  c̃opt ← Rprop(Icorr, ZP(:, :, k))
6: ϕ ← zeros(M, N)
7:  knonzero ← find(k)
8: for kindex = 1:length(c̃opt) do
9:   ϕϕ + c̃opt(kindex) * ZP(:, :, knonzero(kindex))
10: end for
11:  copt(knonzero) ← copt(knonzero) + c̃opt
12:  Icorr ← ℱ−1{ℱ{Icorr}. * exp(−1i * ϕ * ZP)}
13: until converged

The choice of the Rprop algorithm used as the optimization method in our study was primarily motivated by the simplicity of the algorithm and the robustness of its performance to the choice of the various parameters of the algorithm. Here, we briefly outline the basic steps of the algorithm in the context of our problem. More details regarding the implementation and comparison of the Rprop algorithm with other optimization methods can be found elsewhere [1416]. The algorithm starts by setting the initial update values for all Zernike polynomial weights to Δ0. This parameter determines the size of the first weight step and was set to 0.01 in this study. The choice of this parameter is rather uncritical because the weight steps are adaptively changed during the course of the optimization, as discussed next. The subsequent update value for each weight is adaptively determined based on the change in the sign of the partial derivative of the sharpness metric with respect to the corresponding weight. Every time the partial derivative of a weight ∇ck S(t) changes sign, which indicates that the last update for that weight was too large, and causing the algorithm to jump over a maximum point, the update value Δk(t) is decreased by a factor of η. If, however, the sign of the derivative is unchanged, then the update value is incremented by a factor of η+ to accelerate the convergence process. Based on the recommendations of the developers of Rprop, η+ and η were set to 0.5 and 1.2, respectively. To avoid the weights from becoming too large or too small, the update values are bounded by an empirically determined upper limit Δmax and a lower limit Δmin:

Δk(t)={max(η+Δk(t-1),Δmax)ifckS(t-1)ckS(t)>0min(η-Δk(t-1),Δmin)ifckS(t-1)ckS(t)<0Δk(t-1)otherwise. (4)

The coefficient update value thus obtained can then be used to obtain the new coefficient value based on the sign of the derivative as follows:

ck(t+1)={ck(t)+Δk(t)ifckS(t)>0ck(t)-Δk(t)ifckS(t)<0Δk(t)otherwise. (5)

Finally, following the derivation in [17] an expression for the partial derivative of the sharpness metric can be analytically obtained as

ckS=x,yhi(x,y)2J{u,vHi(u,v)ωMuxωNvyψk(u,v)hi(x,y)}, (6)

where the subscript i denotes the intermediate value for each iteration step, M, and N denotes the number of pixels in the image along the lateral dimensions, ωM = e2πj/M denotes a primitive Mth root of unity, and ℑ{z} denotes the imaginary part of z.

The performance of the proposed algorithm was first validated on a simulated U.S. Air Force (USAF) resolution test target image. A mixture of Gaussian and speckle noise was added to the original image to simulate a noisy image. Next, optical aberrations were introduced to the simulated noisy image by adding a phase term to the nonaberrant image in Fourier domain. Similar to previous works on sensorless AO [9,12,13], the phase term was modeled as a weighted sum of Zernike polynomials corresponding to the following six primary aberrations: defocus, astigmatism (0°), astigmatism (45°), coma (0°), coma (45°), and spherical aberration. To mimic a general optical aberration, the weights of the Zernike polynomials were randomly chosen. The aberrant noisy image thus generated is shown in Fig. 1(a), which was used as the input to our aberration correction algorithm. The image obtained after aberration correction is shown in Fig. 1(b), which, when compared to the aberrant image, has significantly better contrast and reduced aberrations.

Fig. 1.

Fig. 1

(a) Simulated USAF resolution test target image with introduced aberrations. (b) Recovered image after automated aberration correction.

After validating the performance of the proposed aberration correction algorithm on a simulated image, the algorithm was tested for OCT/OCM images of various samples. Figure 2(a) shows an aberrant en face OCM image of a tissue mimicking phantom consisting of copper zinc iron oxide nanoparticles (<100 nm) in PDMS. The en face image corresponds to a plane located 30.4 μm above the focus and extracted from the 3D volumetric data set, which was acquired using a high NA (NA = 0.6) Fourier-domain OCM system described elsewhere [5]. The image shows significant blurring resulting from the broadening of the point spread function (PSF) due to the presence of the aberrations. A zoomed-in view of the area enclosed by the blue dashed rectangle in Fig. 2(a) shows the severity of the aberrations. After aberration correction, as expected, the image SNR is improved and the subresolution nanoparticles appear as point-like structures, as shown in Fig. 2(b) and the corresponding zoomed-in view in Fig. 2(e). A comparison of the zoomed-in views shows that the three particles, which are indistinguishable in Fig. 2(c) due to the presence of aberrations, can be clearly resolved in Fig. 2(e). Additionally, as shown in Fig. 2(d), the PSF obtained after aberration correction (orange curve) is significantly narrower than the PSF obtained from the aberrant image (blue curve). Specifically, after CAO processing, the full-width-at-half-maximum (FWHM) of the PSF was estimated to be 0.8 μm, which was the diffraction limit of the OCM system.

Fig. 2.

Fig. 2

En face OCM images of sub-resolution particles in a tissue mimicking phantom before (a) and after (b) CAO correction. (c) and (e) are zoomed-in images of the regions enclosed by the blue dashed squares in (a) and (b), respectively. The color bar scales indicate significant improvement of the peak intensity of the signal after aberration correction. (d) PSF measurements for the particles indicated by arrows in (a) and (b). The scale bar denotes 25 μm.

Next, the algorithm was tested on an OCM image acquired from a scattering biological sample, which in our case was ex vivo adipose tissue surrounding the aorta from an atherosclerotic rabbit. The OCM system used for imaging was the same as was used for the tissue mimicking phantom. The aberrant en face OCM image corresponding to a plane at 37 μm above the focal plane and the corrected image are shown in Figs. 3(a) and 3(b), respectively. The corrected image clearly has better contrast than the aberrant image, and the membrane boundaries of the adipose tissue are also much better delineated in the corrected image.

Fig. 3.

Fig. 3

En face images from rabbit adipose tissue: (a) before CAO correction and (b) after CAO correction. The scale bar denotes 50 μm.

Finally, the proposed aberration correction algorithm was used and tested on an en face OCT image acquired in vivo from the retinal photoreceptor layer in a human subject. The parafoveal cone image was acquired using a high-speed en face OCT system, details of which have been reported in an earlier publication [6]. Unlike the adipose tissue, the photoreceptor layer is a strongly backscattering sample. Due to optical aberrations, the individual cones are not recognizable in the raw en face OCT image as shown in Fig. 4(a). After CAO correction, the cones become clearly visible and well resolved throughout the entire image as shown in Fig. 4(b). The enhancement in image resolution is also supported by the improved intensity of the peak in the plot of radially averaged power spectrum of the cone mosaic indicated by the black arrow in Fig. 4(c), which corresponds to the radius of Yellott’s ring and is an indicator of the improved periodicity of the regularly arranged photoreceptors. Figure 4(c) also shows that the amplitude of higher spatial frequency components has been improved, which suggests finer structures over the entire field-of-view in the corrected image are better resolved than in the raw image before applying CAO.

Fig. 4.

Fig. 4

Imaging of the living human photoreceptors in the parafoveal region. (a) En face OCT of the cone mosaic before aberration correction. (b) Cone mosaic after automated aberration correction. The insets show zoomed-in views of the regions in white squares. (c) Radially averaged power spectrum of (a) and (b). The peak indicated by the black arrow corresponds to the radius of Yellott’s ring. The scale bar represents 0.25°.

In summary, we have proposed and demonstrated an automated method for computational aberration correction in broadband interferometry techniques. The ability of the proposed method to successfully correct aberrations was demonstrated with OCT/OCM images of simulated, ex vivo, and in vivo samples, having different scattering properties. The number of iterations, the change in sharpness metric, and the computational time of the proposed algorithm depend on a multitude of factors, such as the nature of the structures present in the image, the amount of aberrations, the number of Zernike modes that are sought to be optimized, and the size of the image, in addition to the stochasticity of our approach. In its current implementation, the average time required for correcting six primary aberrations in the USAF target image (image size: 512 × 512) on a Windows machine with an Intel i7 3.3 GHz processor and 16 GB RAM was 20 s. Although the processing time is not extremely crucial for our applications because CAO processing is performed post-data-acquisition, it might nevertheless be advantageous, especially for clinical applications, where rapid aberration correction might be a requirement during imaging. In this regard, a graphic-processing-unit (GPU) based implementation of the proposed method might be worth exploring and will be pursued in future work.

Acknowledgments

Funding. National Institutes of Health (NIH) (1 R01 CA166309, 1 R01 EB013723, S.A.B).

The research involving in vivo imaging in human subjects was conducted under an Institutional Review Board protocol approved by the University of Illinois at Urbana-Champaign. We thank Eric Chaney for his assistance with managing these IRB protocols. Additional information can be found at http://biophotonics.illinois.edu.

Footnotes

OCIS codes: (110.4500) Optical coherence tomography; (110.3175) Interferometric imaging; (110.1758) Computational imaging; (110.1080) Active or adaptive optics.

References

  • 1.Booth MJ. Philos Trans R Soc London Ser A. 2007;365:2829. doi: 10.1098/rsta.2007.0013. [DOI] [PubMed] [Google Scholar]
  • 2.Adie SG, Shemonski ND, Graf BW, Ahmad A, Carney PS, Boppart SA. Appl Phys Lett. 2012;101:221117. doi: 10.1063/1.4768778. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 3.Kumar A, Drexler W, Leitgeb RA. Opt Express. 2013;21:10850. doi: 10.1364/OE.21.010850. [DOI] [PubMed] [Google Scholar]
  • 4.Adie SG, Graf BW, Ahmad A, Carney PS, Boppart SA. Proc Natl Acad Sci USA. 2012;109:7175. doi: 10.1073/pnas.1121193109. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 5.Liu Y-Z, Shemonski ND, Adie SG, Ahmad A, Bower AJ, Carney PS, Boppart SA. Biomed Opt Express. 2014;5:2988. doi: 10.1364/BOE.5.002988. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 6.Shemonski ND, South FA, Liu Y-Z, Adie SG, Carney PS, Boppart SA. Nat Photonics. 2015;9:440. doi: 10.1038/NPHOTON.2015.102. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 7.Muller RA, Buffington A. J Opt Soc Am. 1974;64:1200. [Google Scholar]
  • 8.Paxman RG, Marron J. 32nd Annual Technical Symposium (International Society for Optics and Photonics, 1988); pp. 37–47. [Google Scholar]
  • 9.Bonora S, Zawadzki R. Opt Lett. 2013;38:4801. doi: 10.1364/OL.38.004801. [DOI] [PubMed] [Google Scholar]
  • 10.Jian Y, Xu J, Gradowski MA, Bonora S, Zawadzki RJ, Sarunic MV. Biomed Opt Express. 2014;5:547. doi: 10.1364/BOE.5.000547. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 11.Xu Y, Liu Y-Z, Boppart SA, Carney PS. Appl Opt. 2016;55:2034. doi: 10.1364/AO.55.002034. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 12.Grisan E, Frassetto F, Da Deppo V, Naletto G, Ruggeri A. Appl Opt. 2007;46:6434. doi: 10.1364/ao.46.006434. [DOI] [PubMed] [Google Scholar]
  • 13.Jewel A, Akondi V, Vohnsen B. J Eur Opt Soc. 2013;8:13073. [Google Scholar]
  • 14.Riedmiller M, Braun H. IEEE International Conference on Neural Networks. IEEE; 1993. pp. 586–591. [Google Scholar]
  • 15.Riedmiller M. Comput Stand Interfaces. 1994;16:265. [Google Scholar]
  • 16.Riedmiller M. Technical Report (Inst f Logik, Komplexität u Deduktionssysteme) 1994. Rprop-Description and Implementation Details. [Google Scholar]
  • 17.Fienup J, Miller J. J Opt Soc Am A. 2003;20:609. doi: 10.1364/josaa.20.000609. [DOI] [PubMed] [Google Scholar]

RESOURCES