Abstract
The high acquisition speed of state-of-the-art optical coherence tomography (OCT) enables massive signal-to-noise ratio (SNR) improvements by signal averaging. Here, we investigate the performance of two commonly used approaches for OCT signal averaging. We present the theoretical SNR performance of (a) computing the average of OCT magnitude data and (b) averaging the complex phasors, and substantiate our findings with simulations and experimentally acquired OCT data. We show that the achieved SNR performance strongly depends on both the SNR of the input signals and the number of averaged signals when the signal bias caused by the noise floor is not accounted for. Therefore we also explore the SNR for the two averaging approaches after correcting for the noise bias and, provided that the phases of the phasors are accurately aligned prior to averaging, then find that complex phasor averaging always leads to higher SNR than magnitude averaging.
1. Introduction
Optical coherence tomography (OCT) [1] performs biomedical imaging at high speed and with high sensitivity. State-of-the art OCT systems provide data rates of ∼100 million pixels per second and frame rates of ∼100-200 frames per second and beyond [2,3]. OCT provides a distinctively high sensitivity of typically ∼100 dB, meaning that backscatter signals as weak as of a mirror reflection can still be detected [4–6]. At the same time, OCT enables imaging with a very high dynamic range spanning several tens of decibels between the strongest and the weakest signal in the image.
The strong performance of OCT in detecting weak signals can be improved even more by image processing. Noise in OCT images limits the detection capabilities for weakly scattering structures, and thus a variety of different approaches for reducing OCT image noise have been proposed [7–15]. The high acquisition speeds of modern OCT systems enable the improvement of the signal-to-noise ratio by averaging multiple signals, for instance by fusing OCT frames or even volumes quickly repeated at the same sample position. In recent years, several methods were proposed for improving the detection sensitivity of OCT by averaging the complex-valued OCT signals rather than just averaging their magnitudes [16–20]. In 2013, Szkulmowski and Wojtkowski published a thorough analysis of signals and noise subject to different averaging approaches [21]. In their analysis, the authors found a much stronger reduction of the noise floor by complex averaging as compared to magnitude averaging but also observed a heterogeneous outcome in terms of signal-to-noise performance for different imaging scenarios.
In this article, we set out to answer the question: Which signal averaging approach works best for improving signal-to-noise in OCT images, and when? We first introduce signals and noise in OCT (section 2.1) based on the analysis in Ref. [21]. We then analyze the signals and noise after magnitude and complex averaging, respectively, for a given pixel in an OCT image (section 2.2) and present simple expressions for the resulting signal-to-noise ratios. Next, we compare the somewhat surprising theoretical performance of the averaging schemes for different input signal levels and for different numbers of averaged signals and introduce a noise bias corrected signal-to-noise ratio (SNR) analysis (section 2.3). After substantiating our theoretical analysis with data from simulations (section 3.1) and experimentally acquired OCT data (section 3.2), we conclude the paper with a brief summary of the findings and their implications on actual OCT image processing (section 4). An overview of the terminology as well as a brief section on phase correction required for complex phasor averaging is provided in the appendix.
2. Analysis of signals and noise in OCT
2.1. OCT signals and noise
OCT signals can be described by complex phasors of the form
(1) |
where denotes the amplitude and the phase of the OCT signal at location and time . Here the amplitude represents the length of the phasor and the phase corresponds to the polar angle in the complex plane. The noise in OCT images can be specified by phasors too, namely by random phasors. In the complex plane, the real and imaginary parts of random phasors, and , can be described by normal distributions with zero mean and variance [22]. Hence, the complex noise signal is characterized by a binormal (or Beckmann) distibution in the complex plane [22,23]:
(2) |
This 2D Gaussian probability density function (PDF) describes the probability for a noise phasor of an image pixel to have the real part and the imaginary part . The probability density function of the noise amplitude is represented by the Rayleigh distribution (which can be derived by transforming Eq. (2) to polar coordinates and integrating over all angles ) [22]
(3) |
Analogous to , the PDF of the noise amplitude represents the probability of the noise amplitude to take specific values . Figure 1(a-d) shows an example of the complex representation of noise phasors in an OCT image and the corresponding Beckmann and Rayleigh distributions. Note that the Beckmann distribution is symmetric and centered at the origin while the Rayleigh distribution is skewed and only takes positive values. The mean amplitude and variance of a general PDF is given by and , respectively [22]. The mean amplitude and the variance of can be computed as
(4) |
(5) |
In every OCT image pixel, the detected signal is a combination of the actual OCT signal and the noise . By choosing the OCT signal to have and thus to point into the direction of the positive real axis (Fig. 1(e)) similar to Goodman [22], the PDF of the measured amplitudes incorporating both signal and noise is represented by a Rice distribution
(6) |
where B0 is a modified Bessel function of the first kind and zero order. An example of the PDF of the signal amplitudes in presence of noise seen in an OCT image is shown in Fig. 1(g). Note that the signal gives rise to a somewhat spread probability accumulation at a high amplitude level. The mean amplitude and variance in an image pixel are observed as
(7) |
(8) |
where denotes the Laguerre polynomial of degree . yields steadily increasing, positive values for increasingly negative arguments .
OCT amplitude data are usually squared in order to display a quantity proportional to sample reflectivity, , henceforth called intensity. Therefore it makes sense to investigate the behavior of the PDFs of the squared signal and noise amplitude data. For this purpose, a variable transform of is performed such that the PDFs are rendered into . The resulting PDFs for noise () and signal intensities () are
(9) |
(10) |
where . Note that is a negative exponential probability function whereas is a combination of a negative exponential and a monotonically increasing Bessel function. Examples of the above PDFs for noise and signal intensities are shown in Figs. 1(d) and (h), respectively. The mean values and variances for noise and signal intensities, respectively, are given by
(11) |
(12) |
(13) |
(14) |
By comparing Eqs. (11) and (12), one can observe that the mean noise intensity equals the standard deviation . Therefore, for the case of both non-zero signal and noise, the observed mean intensity corresponds to and the intensity variance to . Next, we will investigate the effect of averaging the magnitudes of the phasors as well as the effect of averaging the complex phasors on OCT intensity data.
2.2. Averaging magnitudes and phasors
For averaging OCT data, usually the absolute values (magnitudes) of the signals are used. For some applications, the complex signals have been exploited for adding or increasing image contrast in one way or another [31–36]. Here, we systematically analyze the effect of averaging magnitude and complex signals in OCT images.
2.2.1. Magnitude averaging
Magnitude averaging uses the absolute values of spatially and/or temporally separated signals (e.g., pixels in a 2D or 3D kernel or repeated measurements at the same spatial pixel location but at different time points):
(15) |
The PDF representing the average of data points can be computed numerically by convolving the PDF of a single data point (N − 1)-times [21]. Unfortunately, no closed form expressions are available for the distribution describing an N-fold average of the above PDFs and only some approximations and bounds have been derived [37]. Nevertheless, the mean intensity values and intensity variances can be calculated for Rayleigh distributed noise and Rician signals affected by random noise, respectively, as
(16) |
(17) |
(18) |
(19) |
The above expressions show that the mean noise level as well as the observed mean signal level remain unchanged upon averaging and retain the mean intensity values calculated for single data points. However, the variances of the observed signal and noise, and , are reduced by and thus reducing the standard deviations and by a factor .
2.2.2. Complex averaging
In contrast to magnitude averaging, complex averaging also includes the phase information into the averaging process. This inclusion exploits the fact that the noise phasors (in absence of a signal) randomly fluctuate about the origin according to a 2D Gaussian PDF with a standard deviation of , see Eq. (2). By averaging spatially and/or temporally independent complex noise phasors, the standard deviation of the Beckmann distribution in Eq. (2) is reduced by a factor [22]. This reduction of the noise amplitude variance translates into a reduction of both the mean noise intensity as well as of its variance:
(20) |
(21) |
Compared to the noise performance after magnitude averaging (Eqs. (16) and (17)), which maintains the mean noise level and reduces the noise intensity variance by , complex averaging leads to a decrease of the noise floor intensity and to a smaller noise intensity variance.
Recalling that we initially assumed that the signal vector was pointing in the direction of the positive real axis (i.e. Fig. 1(e)), the precondition for averaging signals in a complex fashion is that the phase of remains constant at . (Likewise, a different signal phase could be chosen, as long as the phases of all signals to be averaged are aligned at the same angle . The signal phase () is chosen here out of convenience to ensure a purely real signal which facilitates the calculations described above.) For such perfectly aligned signals in the presence of random noise, the following mean signal intensity and intensity variance will be observed:
(22) |
(23) |
Unlike magnitude averaging, which maintains the original mean signal intensity , the mean signal intensity does not stay constant but is reduced by after complex averaging. This signal reduction converges to an amount of for large . At the same time, also the noise intensity variance is reduced by an amount compared to magnitude averaging, which converges to a reduction by for large .
2.3. Signal-to-noise performance
The signal-to-noise ratio is the measure of choice to describe the influence of noise on signal measurements. An overview of methods for determining the SNR and in particular the sensitivity of an OCT system has recently been published by Agrawal et al. [24]. The SNR in OCT is typically defined as the ratio of the average signal intensity to the standard deviation of the noise intensity, [24–28] (or alternatively for averaged signals). As shown in the previous sections and visualized in Fig. 2, the measured signal intensity is the sum of the pure signal intensity and the noise floor . Historically, the bias caused by the noise floor is not specifically factored out from the SNR analysis, however some investigations of OCT image data did exclude the background [29,30]. Because of the multiple approaches for OCT data processing, it makes sense to ask, "how important is noise bias correction when measuring SNR?". In the following section, we will investigate the SNR for the total measured signal (i.e. including the contribution of the noise floor) with and without averaging. Subsequently, we will account for the signal offset caused by the noise floor and evaluate the SNR with noise bias correction.
2.3.1. Signal-to-noise performance without noise bias correction
Using the signal and noise pairs in Eqs. (13) and (12), (18) and (17), and (22) and (21), and the relation in Eqs. (11) and (12), we find the following SNRs for single signals, magnitude averaged signals, and complex averaged signals, respectively:
(24) |
(25) |
(26) |
In short, averaging the magnitudes of signals improves the SNR by a factor whereas complex averaging of signals changes the SNR by a factor less .
The relative SNR improvements SNRMAG,CPX/SNR1 and SNRCPX/SNRMAG are plotted for N up to 100 and for typical OCT image dynamics with SNR1 between 5 dB and 20 dB in Fig. 3. In particular for small , complex averaging provides a considerable SNR improvement over magnitude averaging. At the same time, the SNR1 dependence of complex averaging has a considerable impact on its performance: While for strong signals with SNR1 ≫ 1, complex averaging outperforms magnitude averaging by a factor , the signal-to-noise improvement becomes much less for weaker input signals.
In the next section, we are going to explore the SNR enhancement of the two averaging approaches particularly for very weak signals on the order of the noise background, however still without correcting for the signal bias caused by the noise floor. Will magnitude averaging or complex averaging be superior in terms of recovering such small signals?
2.3.2. Averaging domains and borderline SNR
When the signal bias caused by the noise is not accounted for, the SNR performance averaging depends on the approach taken. Equations (25) and (26) revealed a dependence on the number of averaged signals, , and – for complex averaging – on the SNR of the input signals, SNR1. In this section, we are investigating this dependence for different numbers of averaged signals, , and for a great range of signals – from much smaller than the noise variance to several orders of magnitude greater. Recalling the identities for the noise variance and the observed signal intensity in Eqs. (12) and (13), we choose the quantity , which is identical to SNR1 − 1, as the benchmark for the input signal.
Figure 4(a) shows three plots of the signal-to-noise ratios calculated for magnitude averaging (red) and complex averaging (blue) where relatively small signals , 0.5 and 0.1 were chosen as the respective inputs. Note that for (left plot), complex averaging always yields greater SNR than magnitude averaging for . However, for and a small number of signals , magnitude averaging provides a more effective SNR improvement. Figure 4(b) plots three pairs of SNR profiles for a fixed number of averaged signals (, 10 and 100), this time as a function of the relative signal intensity . Again, for weak input signals, the superior performance of magnitude averaging can be observed, while complex averaging excels beyond a crossover point of . This relative borderline signal is plotted for up to 100 in Fig. 4(c) alongside the borderline input SNR1
(27) |
which is the input SNR1 for which magnitude averaging and complex averaging perform equally well.
An overview of the relative SNR performance SNRCPX/SNRMAG at various inputs and is shown as a heat map in Fig. 5. At first glance, two domains can be differentiated: For stronger signals and larger , complex averaging provides a greater SNR improvement than magnitude averaging (see the area in blue in Fig. 5). For signals comparable to or smaller than the noise level, magnitude averaging yields a better SNR enhancement (see the area in red). In between these two domains, the borderline with equal SNR performance of the two approaches is indicated in white, SNRCPX/SNRMAG = 1.
2.3.3. SNR in absence of a signal (noise floor only)
An interesting scenario is posed by the calculation of the SNR when the signal intensity is zero. Then, using the relation from Eqs. (11) and (12), the SNRs for a single signal, after magnitude averaging and after complex averaging, respectively, become:
(28) |
(29) |
(30) |
An obvious disunity of the SNRs calculated for pure noise signal can be observed. This calls for a revised definition of the SNR, this time accounting for the signal bias imposed by the noise floor.
2.3.4. SNR analysis with noise bias correction
In the limit of a very weak OCT signal, the small meaningful signal contribution sits on top of a comparatively large noise floor. This noise bias is evident as the term related to in Eqs. (24–26) and is also visualized in Fig. 2. Thus, it makes sense to actually consider the impact of this noise bias in the SNR analysis – in particular for weak signals. In this section, we introduce and evaluate an SNR analysis with noise bias correction. A similar approach has for instance also been used by Makita et al. [39] and recently been modified by our group [40] to correct for noise contributions in PS-OCT images and improve the computation of the degree of polarization uniformity for weak signals. To some extent, this SNR with noise bias correction resembles the SNR definitions in Refs. [29,30] and has formal similarities with previous definitions of the contrast-to-noise ratios in Refs. [21,27].
The noise bias of the average OCT signals can be removed by subtracting the average noise intensity (, , and in Eqs. (11), (16) and (20), respectively) from the average signal intensity (, , and in Eqs. (13), (18) and (22), respectively). The noise bias corrected average signal intensities then read
(31) |
(32) |
(33) |
Note that the three corrected average signal intensities now match the pure signal intensity . Further, using the noise variances in Eqs. (12), (17) and (21), the respective noise bias corrected SNRs can be calculated as
(34) |
(35) |
(36) |
equates the quantity already known from the analyses in the previous sections. Even more strikingly, the noise bias corrected SNRs after magnitude and complex averaging now exhibit a simple proportionality of and with (Fig. 6), which also means that SNR′ will be zero if there is no signal for Eqs. (34–36). Using the noise bias correction, complex averaging thus always yields a -times better SNR than magnitude averaging, even for weak input signals and small .
3. Experimental validation
3.1. Numerical simulation
OCT signals and noise were simulated according to the probability density functions described in Eqs. (3) and (6), respectively. For the noise contribution, binormally distributed complex signals with similar standard deviations along both the real axis and the imaginary axis were generated. For the signal contribution, the binormal distribution was generated around a real-valued signal such that the phasor distribution was shifted from the origin of the complex plane to (see also Fig. 1(e)). A total of averaged signals were computed for every simulation run. For complex averaging, in every run to complex-valued phasors were averaged. For magnitude averaging, the absolute values were computed for every single noise and signal phasor prior to averaging. Finally, the respective SNRs and SNR′s were calculated from the average signal intensity and the variance of the noise signals for every .
Results of the simulations performed in MATLAB (R2014a, MathWorks) are shown in Fig. 7. To showcase the effect of averaging for strong and weak signals, SNR simulations for two distinct relative signal levels of and are presented in Fig. 7(a) and (b), respectively. Unlike magnitude averaging, complex averaging markedly decreased the signal intensity but at the same time also reduced noise much more by averaging. For the standard deviation of the noise fluctuations, a decrease by and was observed for magnitude and complex averaging, respectively. The resulting SNRs are shown in the four panels in Fig. 7. Here, for averaging up to 100-fold, SNRCPX reveals a better SNR improvement for the strong input signal (Fig. 7(a)) when the noise bias is not corrected for, while magnitude averaging appears more effective for the weaker input signal in Fig. 7(b). After noise bias correction, however, no more dependence upon the input signal level can be observed, and complex averaging provides an N-fold increase in SNR′ whereas the SNR′ is only enhanced by a factor after magnitude averaging.
3.2. Averaging experimental OCT data
For demonstrating the effect of the different averaging approaches on OCT images, we used a spectral domain (SD) OCT system in our lab [38]. This polarization sensitive SD-OCT system was used for imaging a stationary eye phantom. This system is based on a multiplexed superluminescent diode (λ = 840 nm, Δλ = 100 nm) as a light source, a free-space Michelson-type interferometer, and a polarization-sensitive detection unit including two spectrometers. For the investigations presented here, only the co-polarized detection channel was analyzed; thus the PS-OCT system was reduced to what would be considered a standard SD-OCT with high-resolution imaging capabilities - 3.6 μm axial resolution (assuming a refractive index of 1.35), 83 kHz A-scan rate - similar to state-of-the-art commercial SD-OCT scanners for retinal imaging.
The eye phantom, composed of several layers of transparent nail polish on a glass bead to produce a laminar reflectance pattern [38], was imaged using B-scan and M-scan protocols at different levels of attenuation (from 0 dB to -40 dB) to observe the effects of averaging in low-signal conditions. The B-scan protocol scanned a 1 mm lateral range with 100 repeats to generate cross-sectional images of the phantom (Fig. 8(a-d)). Representative depth profiles are shown in Fig. 8(e).
The M-scan protocol was used to acquire 1000 repeated A-lines from a fixed position within the phantom for a precise comparison of averaging methods. The M-scan protocol was chosen to minimize phase differences between consecutive A-lines and ensure that averaging represents a best-case real-world scenario. The 1000 A-lines were split into 10 temporally independent bins of 100 consecutive A-lines each. Complex and magnitude averaging for up to 100 was performed on each of the 10 bins and the resulting signal curves were averaged together before calculating SNR and SNR′ in order to yield more stable SNR curves, particularly for lower numbers of averages. Here, the noise variances were computed from the noise pixel data of 100 consecutive A-lines, similar to the simulation above. Three characteristic SNR and SNR′ curves from the magnitude-averaging dominant, borderline, and complex-averaging dominant domains are shown in Fig. 8(f) and (g). Theoretical SNR profiles based on SNR1 as described in Eqs. (25) and (26) demonstrate good agreement with the experimental data in Fig. 8(f). These results show that the theoretical magnitude-averaging dominant domain is reproducible with real world OCT data when the noise floor induced bias is not accounted for. Similarly, the SNR′ plots from the experimental data with noise bias correction follow the expected slopes of and (Fig. 8(g)).
4. Discussion and conclusion
Signal averaging is one of the most commonly used procedures for OCT image processing. Here, we investigated the SNR performance of magnitude and complex averaging in theory and backed our findings with experimental results from simulations and actual OCT image data. We also studied the effect of the background noise bias on the measured SNR and calculated a noise bias corrected SNR. In the following paragraphs, the main observations are summarized and discussed in order to provide a better understanding of the strengths and weaknesses of the two approaches.
4.1. Impact of averaging on noise and signals
Complex averaging reduces the noise variance by , and thus provides a much stronger noise reduction than magnitude averaging, which only reduces the noise by . At the same time, complex averaging also reduces the signal – in contrast to magnitude averaging, which maintains the signal level and only reduces noise. The main cause of the average signal decrease by complex averaging is the reduction of the average noise level. Both signal and noise characteristics have to be considered to understand the impact of averaging on OCT data.
4.2. Leaving or removing the noise floor bias for the SNR calculation
The signal-to-noise ratio is a commonly used measure to assess the image quality and to describe the system performance of OCT machines. Usually, the ratio of the average intensity of a signal peak and the standard deviation of the noise intensity is used to calculate the SNR [24,28]. While it is rather clear how to estimate the noise variance (e.g., by considering the noise intensity in a signal-free image area), the definition of the average intensity is not that obvious. As visualized in Fig. 2, taking the entire measured signal intensity from the zero line to the (average) peak intensity includes two portions, namely the actual signal intensity term and the background noise level .
For relatively strong signals, the measured signal is dominated by the intensity term and . In contrast, when the actual signal contribution to the measured signal is small (i.e. ), the noise floor bias prevails. We hence investigated the signal-to-noise performance of magnitude and complex averaging for (a) leaving the noise floor bias as part of the measured signal and (b) correcting for the noise bias. As discussed in detail in the following sections, similar results were observed for both SNR analyses when strong signals were investigated. However, for rather weak signals, the impact of manifested in the observation of dissimilar SNR characteristics.
4.3. Noise-afflicted signal-to-noise ratios after averaging strong and weak signals
For sufficiently large signals , the term in Eq. (26) dominates such that complex averaging converges on an N-fold SNR improvement, while magnitude averaging only enhances the SNR -fold. In contrast, for recovering weak signals comparable to or smaller than the noise, magnitude averaging appeared to outperform complex averaging – in particular for small . When the input SNR1 was just slightly larger than unity (i.e., just slightly greater than zero), the right-hand side of Eq. (26) was essentially neutralized such that the SNR improvement was far less than the -fold enhancement yielded by magnitude averaging, especially in the limit of small . Hence, magnitude averaging could be considered more effective for boosting small signals as they may be found in the outer nuclear layer in the retina when the noise floor induced signal bias is not accounted for. However, by taking a look at the SNR in absence of an actual signal (), odd SNR characteristics were observed (see section 2.3.3) which underscored the importance of a noise bias correction.
4.4. SNR calculations with noise bias correction
When SNRs are calculated in the classical way described in section 2.3.1, the average noise floor level contributes to the intensity measured as "signal". This noise bias impacts the measured SNR, in particular for weak signals. Akin to noise offset removal in PS-OCT processing [39,40], we performed SNR calculations with noise bias correction in sections 2.3.4 and 3. By using this modified approach, a superior SNR performance was always observed for complex averaging, regardless of the input signal strength. Compared to the noise bias corrected SNR of a single signal prior to averaging, magnitude and complex averaging improved the SNR (after noise bias correction) by a factor of and , respectively. The theoretically predicted performance agreed well with the performance observed in simulated and experimental OCT data (Figs. 7 and 8). This finding suggests that noise bias correction definitely is an important processing step in SNR analyses – especially when it comes to averaging weak signals.
4.5. Implications for practical OCT image averaging
State-of-the-art swept source and spectral domain OCT devices deliver complex-valued signals (see Eq. (1)) right out of the box. Hence both magnitude and complex averaging can be easily implemented using the image data. For effective complex averaging, it is imperative that the phases of the signals are accurately aligned before averaging as described in more detail in Appendix B. While this means additional computational steps, it may be well worth the effort when the SNR is to be increased in images of scattering structures such as the retina where OCT has been frequently applied. Retinal OCT images may easily span a dynamic range of 40 dB with hyperscattering structures such as the nerve fiber layer and the pigment epithelium that can serve as landmarks for phasor alignment [18]. Other retinal tissues such as the ganglion cell layer and the outer nuclear layer [41], and also structures in the vitreous, which are usually much less reflective [42], may then be visualized by averaging multiple OCT images together. Complex averaging has also been found promising to detect signals in settings with multiple scattering [20].
Magnitude averaging on the other hand can be implemented at less computational expense and may be the averaging approach of choice for images containing mostly weak signals of interest, which would render phase alignment for complex averaging difficult or even impossible. Also in scenarios where images include a lot of varying motion, e.g. when visualizing weakly scattering structures such as flow in lymphatic vessels [43], albeit theoretically less effective by in terms of SNR improvement, magnitude averaging may likely trump complex averaging.
4.6. Future perspectives
Finally, we would like to point out that, while the analysis presented here particularly focused on the SNR improvement for different averaging approaches, it may be interesting to also investigate other image metrics such as their contrast-to-noise characteristics and/or their efficiency in terms of speckle reduction. For this purpose and to explore scenarios with tissue-like scattering, recently described OCT signal models could be particularly interesting candidates [28,44–46]. Additionally, OCT images are often displayed on a logarithmic scale in order to compress signals covering a large dynamic range. The logarithm pulls up weak signals but also the noise floor [21], such that the SNR performance for averaged logarithmic amplitude data will deviate from that for uncompressed OCT data discussed here. An in-depth analysis similar to the one performed for linear data in section 2.2 may provide more insight in the advantages and disadvantages of magnitude- and phasor-based averaging approaches for enhancing OCT image quality.
Acknowledgements
The authors would like to acknowledge fruitful discussions with Antonia Lichtenegger, Danielle J. Harper, Pablo Eugui, Laurin Ginner, and Florian Beer. We would like to express our particular gratitude to Stanislava Fialova for her contributions to the imaging system and eye phantom. We also acknowledge the thoughtful feedback and inputs provided by the anonymous reviewers.
Appendix
Appendix A – Glossary
The table below provides an overview of the variables and symbols used in this article.
Table 1. Overview of variables and abbreviations.
Symbol | Explanation | Equation |
---|---|---|
Amplitude of phasor representing the OCT signal | (1) | |
Mean signal amplitude | (7) | |
Amplitude of complex phasor representing the OCT noise signal | (3) | |
Mean noise amplitude | (4) | |
Phase difference | (39,42) | |
Signal intensity, | ||
Mean signal intensity | (13) | |
with noise bias correction, (x = void,MAG,CPX) | (31–33) | |
Noise intensity, | ||
Mean noise intensity | (11) | |
Imaginary part of complex phasor representing the OCT noise signal | (2) | |
Number of averaged signals | ||
PDF describing amplitudes of random phasors (Rayleigh distribution) | (3) | |
PDF describing distribution of phase differences | (43) | |
PDF describing intensities of random phasors | (9) | |
PDF describing intensities of signals in presence of noise | (10) | |
PDF describing amplitudes of signal phasors in presence of noise (Rice distribution) | (6) | |
Binormal PDF describing random phasors | (2) | |
Penalty factor after averaging signals | (37) | |
Probability density function | (2,3,6,9,10) | |
Phase of phasor representing the OCT signal | (1) | |
Real part of complex phasor representing the OCT noise signal | (2) | |
Complex-valued OCT signal | (1) | |
OCT signal after motion correction (moco) | (40,41,45) | |
Variance of real/imaginary part of | (1) | |
Variance of signal amplitudes for | (8) | |
Variance of signal intensity for | (14) | |
Variance of noise intensity for | (12) | |
Variance of noise amplitudes for | (5) | |
SNR of non-averaged signal | (24) | |
SNR1 of non-averaged signal for | (27) | |
SNR after magnitude averaging | (25) | |
SNR after complex phasor averaging | (26) | |
with noise bias correction, () | (34–36) | |
Quantity ⋅ after magnitude averaging | (16–19) | |
Quantity ⋅ after complex averaging | (20–23) |
Appendix B – Complex signal averaging in case of axial motion
Effect of axial motion on complex averaging
Keeping the signal phase constant is essential for complex signal averaging. If , the complex sum of the signal vectors will have a length smaller than the sum of their absolute values. In other words, if the phases of the complex signals are not matched prior to averaging, the length of the average signal vector will be reduced. The condition is fulfilled for simultaneously acquired signals at the same z-position within the same speckle. When averaging signals among different speckles acquired at the same time point, first the phase offset between different speckles has to be eliminated [48]. Similarly, when signals acquired at the same location but at different time points are averaged (e.g., signals from repeatedly acquired OCT images), the influence of axial motion has to be removed prior to averaging [18].
Axial motion introduces a proportional phase shift in the complex signals (Fig. 9(a)
). This phase shift has been extensively exploited for velocity measurements in Doppler OCT, for displacement measurements in OCT elastography and, recently most prominently, for some OCT angiography approaches [32–36]. The phase shift of an OCT signal is proportional to where is the central wavenumber and is the axial displacement between successive measurements. When complex signals with displacements relative to the first signal are averaged in a complex fashion, the resulting relative signal reduction corresponds to the penalty factor :
(37) |
where denotes the displacement of the j-th signal in terms of wavelengths. In case of constant axial motion, the displacement will increase by for the j-th signal compared to the first signal. The penalty factor when averaging signals with relative separation is
(38) |
Examples for the relative signal intensity decrease due to are shown in Fig. 9(b). For large , the upper limit of the rectified sinc-like decrease is given by .
Compensation of axial motion
In order to remove the detrimental effect of axial motion and thus to fully exploit the SNR advantage of complex averaging, the phases of the signals to be averaged have to be aligned. Ju et al. proposed two approaches: one compensating phase offsets A-line-wise and another one compensating phase offsets in a pixel-wise fashion [18]. Assuming a constant "bulk" displacement of the simultaneously acquired signals within one A-scan, the bulk phase shift between the m-th A-line in a reference frame (ref) and the corresponding m-th A-scan in other frames to be averaged can be calculated by computing the angle of the weighted complex signal average along every A-scan:
(39) |
where , , and denote the A-scan index, the B-scan index and the conjugate complex, respectively, while and are the axial depth limits. By subtracting the bulk phase shift vector from the phases of every transverse line of the OCT image, an axial motion corrected () image is generated:
(40) |
The assumption that displacements are constant along the depth profile does however not hold for all samples. In particular live biological samples are subject to dynamic deformations, which may for instance be caused by pulsating blood vessels. Hence, in another complex image averaging approach, all complex signals of one reference B-scan serve as a 2D baseline image [18]. The phasors in all pixel locations of the subsequent frames are then aligned with respect to those in the reference frame by multiplying them to the conjugate complex of in an amplitude weighted manner,
(41) |
Since Eq. (41) does not only align phasors at signal locations but also all noise phasors, complex averaging of essentially corresponds to magnitude averaging. This detriment can be overcome by locally averaging the phase difference values prior to phase balancing and complex averaging. For this purpose, the phase differences are first calculated between the j-th frame and the reference frame. In order to minimize the number of phase wraps in presence of strong axial motion differences, we choose the central frame as a reference. Second, the j-th phase difference B-scan is averaged using the respective phasors within a small kernel which may, for instance, be rectangular:
(42) |
Ideally, the kernel size is chosen large enough to include at least a few speckles but small enough to only cover a patch of similar axial motion. The PDF of the averaged phase difference centered at zero can be derived from Eq. (2) by performing a variable transform to polar coordinates and then integrating the PDF over the amplitude space [47], whereby is used for the standard deviation:
(43) |
where denotes the Gaussian error function. With increasing , the distribution becomes more narrow and converges towards a -function at [22,47]. For , the maximum of the distribution is located at the respective expectancy value for the phase difference. In absence of a signal , the somewhat complicated PDF reduces drastically and becomes a uniform distribution on ,
(44) |
Hence, the averaging process in Eq. (42) provides an estimate of the localized phase shift with improved precision in case signal pixels are included within the averaging kernel but delivers a random if the kernel only includes noise.
If now, in a third step, the locally averaged phase difference map (Eq. (42)) is used to correct the phasors of the j-th frame with respect to the reference frame,
(45) |
the phasors will only be aligned for signals but will retain their random character for noise regions. By averaging such axial motion balanced frames, the full potential of complex averaging can be tapped without suffering from signal reduction due to local displacement differences.
Funding
Austrian Science Fund10.13039/501100002428 (P25823-B24, P26553-N20); H2020 European Research Council10.13039/100010663 (ERC Starting Grant 640396 OPTIMALZ).
Disclosures
The authors declare that there are no conflicts of interest related to this article.
References
- 1.Huang D., Swanson E. A., Lin C. P., Schuman J. S., Stinson W. G., Chang W., Hee M. R., Flotte T., Gregory K., Puliafito C. A., Fujimoto J., “Optical coherence tomography,” Science 254(5035), 1178–1181 (1991). 10.1126/science.1957169 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 2.Drexler W., Liu M., Kumar A., Kamali T., Unterhuber A., Leitgeb R. A., “Optical coherence tomography today: speed, contrast, and multimodality,” J. Biomed. Opt. 19(7), 071412 (2014). 10.1117/1.JBO.19.7.071412 [DOI] [PubMed] [Google Scholar]
- 3.Klein T., Huber R., “High-speed OCT light sources and systems [Invited],” Biomed. Opt. Express 8(2), 828–859 (2017). 10.1364/BOE.8.000828 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 4.Leitgeb R., Hitzenberger C. K., Fercher A. F., “Performance of fourier domain vs. time domain optical coherence tomography,” Opt. Express 11(8), 889–894 (2003). 10.1364/OE.11.000889 [DOI] [PubMed] [Google Scholar]
- 5.Choma M. A., Sarunic M. V., Yang C., Izatt J. A., “Sensitivity advantage of swept source and Fourier domain optical coherence tomography,” Opt. Express 11(18), 2183–2189 (2003). 10.1364/OE.11.002183 [DOI] [PubMed] [Google Scholar]
- 6.de Boer J. F., Cense B., Park B. H., Pierce M. C., Tearney G. J., Bouma B. E., “Improved signal-to-noise ratio in spectral-domain compared with time-domain optical coherence tomography,” Opt. Lett. 28(21), 2067–2069 (2003). 10.1364/OL.28.002067 [DOI] [PubMed] [Google Scholar]
- 7.Sakamoto A., Hangai M., Yoshimura N., “Spectral-Domain Optical Coherence Tomography with Multiple B-Scan Averaging for Enhanced Imaging of Retinal Diseases,” Ophthalmology 115(6), 1071–1078.e7 (2008). 10.1016/j.ophtha.2007.09.001 [DOI] [PubMed] [Google Scholar]
- 8.Puvanathasan P., Bizheva K., “Interval type-II fuzzy anisotropic diffusion algorithm for speckle noise reduction in optical coherence tomography images,” Opt. Express 17(2), 733–746 (2009). 10.1364/OE.17.000733 [DOI] [PubMed] [Google Scholar]
- 9.Wu W., Tan O., Pappuru R. R., Duan H., Huang D., “Assessment of frame-averaging algorithms in OCT image analysis,” Ophthalmic Surg. Lasers Imag. Retin. 44(2), 168–175 (2013). 10.3928/23258160-20130313-09 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 10.Chen C.-L., Ishikawa H., Wollstein G., Bilonick R. A., Kagemann L., Schuman J. S., “Virtual Averaging Making Nonframe-Averaged Optical Coherence Tomography Images Comparable to Frame-Averaged Images,” Trans. Vis. Sci. Tech. 5(1), 1 (2016). 10.1167/tvst.5.1.1 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 11.Xu D., Vaswani N., Huang Y., Kang J. U., “Modified compressive sensing optical coherence tomography with noise reduction,” Opt. Lett. 37(20), 4209–4211 (2012). 10.1364/OL.37.004209 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 12.Sugita M., Zotter S., Pircher M., Makihira T., Saito K., Tomatsu N., Sato M., Roberts P., Schmidt-Erfurth U., Hitzenberger C. K., “Motion artifact and speckle noise reduction in polarization sensitive optical coherence tomography by retinal tracking,” Biomed. Opt. Express 5(1), 106–122 (2014). 10.1364/BOE.5.000106 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 13.Zhang H., Li Z., Wang X., Zhang X., “Speckle reduction in optical coherence tomography by two-step image registration,” J. Biomed. Opt. 20(3), 036013 (2015). 10.1117/1.JBO.20.3.036013 [DOI] [PubMed] [Google Scholar]
- 14.Chan A. C., Kurokawa K., Makita S., Miura M., Yasuno Y., “Maximum a posteriori estimator for high-contrast image composition of optical coherence tomography,” Opt. Lett. 41(2), 321–324 (2016). 10.1364/OL.41.000321 [DOI] [PubMed] [Google Scholar]
- 15.Tan B., Wong A., Bizheva K., “Enhancement of morphological and vascular features in OCT images using a modified Bayesian residual transform,” Biomed. Opt. Express 9(5), 2394–2406 (2018). 10.1364/BOE.9.002394 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 16.Tomlins P. H., Wang R. K., “Digital phase stabilization to improve detection sensitivity for optical coherence tomography,” Meas. Sci. Technol. 18(11), 3365–3372 (2007). 10.1088/0957-0233/18/11/016 [DOI] [Google Scholar]
- 17.Jacobs J. W., Matcher S. J., “Digital phase stabilization for improving sensitivity and degree of polarization accuracy in polarization sensitive optical coherence tomography,” Proc. SPIE 7889, 788938 (2011). 10.1117/12.874509 [DOI] [Google Scholar]
- 18.Ju M. J., Hong Y.-J., Makita S., Lim Y., Kurokawa K., Duan L., Miura M., Tang S., Yasuno Y., “Advanced multi-contrast Jones matrix optical coherence tomography for Doppler and polarization sensitive imaging,” Opt. Express 21(16), 19412–19436 (2013). 10.1364/OE.21.019412 [DOI] [PubMed] [Google Scholar]
- 19.Pfeiffer T., Wieser W., Klein T., Petermann M., Kolb J. P., Eibl M., Huber R., “Flexible A-scan rate MHz OCT: computational downscaling by coherent averaging,” Proc. SPIE 9697, 96970S (2016). 10.1117/12.2214788 [DOI] [Google Scholar]
- 20.Thrane L., Gu S., Blackburn B. J., Damodaran K. V., Rollins A. M., Jenkins M. W., “Complex decorrelation averaging in optical coherence tomography: a way to reduce the effect of multiple scattering and improve image contrast in a dynamic scattering medium,” Opt. Lett. 42(14), 2738–2741 (2017). 10.1364/OL.42.002738 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 21.Szkulmowski M., Wojtkowski M., “Averaging techniques for OCT imaging,” Opt. Express 21(8), 9757–9773 (2013). 10.1364/OE.21.009757 [DOI] [PubMed] [Google Scholar]
- 22.Goodman J. W., Statistical Optics (John Wiley & Sons, 2000). [Google Scholar]
- 23.Beckmann P., “Statistical distribution of the amplitude and phase of a multiply scattered field,” J. Res. Natl. Bur. Stand. (U. S.) 66D(3), 231–240 (1962). 10.6028/jres.066D.027 [DOI] [Google Scholar]
- 24.Agrawal A., Pfefer T. J., Woolliams P. D., Tomlins P. H., Nehmetallah G., “Methods to assess sensitivity of optical coherence tomography systems,” Biomed. Opt. Express 8(2), 902–917 (2017). 10.1364/BOE.8.000902 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 25.Zhu X., Liang Y., Mao Y., Jia Y., Liu Y., Mu G., “Analyses and calculations of noise in optical coherence tomography systems,” Front. Optoelectron. China 1(3-4), 247–257 (2008). 10.1007/s12200-008-0034-0 [DOI] [Google Scholar]
- 26.Izatt J., Choma M., “Theory of optical coherence tomography,” in Optical Coherence Tomography - Technology and Applications, (2008), pp. 47–72. [Google Scholar]
- 27.Szkulmowski M., Gorczynska I., Szlag D., Sylwestrzak M., Kowalczyk A., Wojtkowski M., “Efficient reduction of speckle noise in Optical Coherence Tomography,” Opt. Express 20(2), 1337–1359 (2012). 10.1364/OE.20.001337 [DOI] [PubMed] [Google Scholar]
- 28.Sugita M., Weatherbee A., Bizheva K., Popov I., Vitkin A., “Analysis of scattering statistics and governing distribution functions in optical coherence tomography,” Biomed. Opt. Express 7(7), 2551–2564 (2016). 10.1364/BOE.7.002551 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 29.Stein D. M., Ishikawa H., Hariprasad R., Wollstein G., Noecker R. J., Fujimoto J. G., Schuman J. S., “A new quality assessment parameter for optical coherence tomography,” Br. J. Ophthalmol. 90(2), 186–190 (2006). 10.1136/bjo.2004.059824 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 30.Lozzi A., Agrawal A., Boretsky A., Welle C. G., Hammer D. X., “Image quality metrics for optical coherence angiography,” Biomed. Opt. Express 6(7), 2435–2447 (2015). 10.1364/BOE.6.002435 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 31.Wojtkowski M., Kowalczyk A., Leitgeb R., Fercher A. F., “Full range complex spectral optical coherence tomography technique in eye imaging,” Opt. Lett. 27(16), 1415–1417 (2002). 10.1364/OL.27.001415 [DOI] [PubMed] [Google Scholar]
- 32.Wang S., Larin K. V., “Optical coherence elastography for tissue characterization: a review,” J. Biophotonics 8(4), 279–302 (2015). 10.1002/jbio.201400108 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 33.Makita S., Kurokawa K., Hong Y.-J., Miura M., Yasuno Y., “Noise-immune complex correlation for optical coherence angiography based on standard and Jones matrix optical coherence tomography,” Biomed. Opt. Express 7(4), 1525–1548 (2016). 10.1364/BOE.7.001525 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 34.Larin K. V., Sampson D. D., “Optical coherence elastography - OCT at work in tissue biomechanics [Invited],” Biomed. Opt. Express 8(2), 1172–1202 (2017). 10.1364/BOE.8.001172 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 35.Xu J., Song S., Li Y., Wang R. K, “Complex-based OCT angiography algorithm recovers microvascular information better than amplitude- or phase-based algorithms in phase-stable systems,” Phys. Med. Biol. 63(1), 015023 (2017). 10.1088/1361-6560/aa94bc [DOI] [PMC free article] [PubMed] [Google Scholar]
- 36.Braaf B., Donner S., Nam A. S., Bouma B. E., Vakoc B. J., “Complex differential variance angiography with noise-bias correction for optical coherence tomography of the retina,” Biomed. Opt. Express 9(2), 486–506 (2018). 10.1364/BOE.9.000486 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 37.Nadarajah S., “A review of results on sums of random variables,” Acta Appl. Math. 103(2), 131–140 (2008). 10.1007/s10440-008-9224-4 [DOI] [Google Scholar]
- 38.Fialová S., Augustin M., Glösmann M., Himmel T., Rauscher S., Gröger M., Pircher M., Hitzenberger C. K., Baumann B., “Polarization properties of single layers in the posterior eyes of mice and rats investigated using high resolution polarization sensitive optical coherence tomography,” Biomed. Opt. Express 7(4), 1479–1495 (2016). 10.1364/BOE.7.001479 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 39.Makita S., Hong Y.-J., Miura M., Yasuno Y., “Degree of polarization uniformity with high noise immunity using polarization-sensitive optical coherence tomography,” Opt. Lett. 39(24), 6783–6786 (2014). 10.1364/OL.39.006783 [DOI] [PubMed] [Google Scholar]
- 40.Baumann B., Augustin M., Lichtenegger A., Harper D. J., Muck M., Eugui P., Wartak A., Pircher M., Hitzenberger C. K., “Polarization-sensitive optical coherence tomography imaging of the anterior mouse eye,” J. Biomed. Opt. 23(08), 1 (2018). 10.1117/1.JBO.23.8.086005 [DOI] [PubMed] [Google Scholar]
- 41.Liu Z., Kurokawa K., Zhang F., Lee J. J., Miller D. T., “Imaging ganglion cells in the living human retina,” Proc. Nat. Acad. Sci. 114(48), 12803–12808 (2017). 10.1073/pnas.1711734114 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 42.Liu J. J., Witkin A. J., Adhi M., Grulkowski I., Kraus M. F., Dhalla A.-H., Lu C. D., Hornegger J., Duker J. S., Fujimoto J. G., “Enhanced Vitreous Imaging in Healthy Eyes Using Swept Source Optical Coherence Tomography,” PLoS One 9(7), e102950 (2014). 10.1371/journal.pone.0102950 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 43.Blatter C., Meijer E. F. J., Nam A. S., Jones D., Bouma B. E., Padera T. P., Vakoc B. J., “In vivo label-free measurement of lymph flow velocity and volumetric flow rates using Doppler optical coherence tomography,” Sci. Rep. 6(1), 29035 (2016). 10.1038/srep29035 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 44.Almasian M., van Leeuwen T. G., Faber D. J., “OCT amplitude and speckle statistics of discrete random media,” Sci. Rep. 7(1), 14873 (2017). 10.1038/s41598-017-14115-3 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 45.Dubose T. B., Cunefare D., Cole E., Milanfar P., Izatt J. A., Farsiu S., “Statistical models of signal and noise and fundamental limits of segmentation accuracy in retinal optical coherence tomography,” IEEE Trans. Med. Imaging 37(9), 1978–1988 (2018). 10.1109/TMI.2017.2772963 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 46.Sugita M., Brown R. A., Popov I., Vitkin A., “K-distribution three-dimensional mapping of biological tissues in optical coherence tomography,” J. Biophotonics 11(3), e201700055 (2018). 10.1002/jbio.201700055 [DOI] [PubMed] [Google Scholar]
- 47.van Etten W. C., Introduction to Random Signals and Noise (John Wiley & Sons, 2005). [Google Scholar]
- 48.Lim Y., Yamanari M., Fukuda S., Kaji Y., Kiuchi T., Miura M., Oshika T., Yasuno Y., “Birefringence measurement of cornea and anterior segment by office-based polarization-sensitive optical coherence tomography,” Biomed. Opt. Express 2(8), 2392–2402 (2011). 10.1364/BOE.2.002392 [DOI] [PMC free article] [PubMed] [Google Scholar]