Expand this Topic clickable element to expand a topic
Skip to content
Optica Publishing Group

High-speed spectral calibration by complex FIR filter in phase-sensitive optical coherence tomography

Open Access Open Access

Abstract

Swept-laser sources offer a number of advantages for Phase-sensitive Optical Coherence Tomography (PhOCT). However, inter- and intra-sweep variability leads to calibration errors that adversely affect phase sensitivity. While there are several approaches to overcoming this problem, our preferred method is to simply calibrate every sweep of the laser. This approach offers high accuracy and phase stability at the expense of a substantial processing burden. In this approach, the Hilbert phase of the interferogram from a reference interferometer provides the instantaneous wavenumber of the laser, but is computationally expensive. Fortunately, the Hilbert transform may be approximated by a Finite Impulse-Response (FIR) filter. Here we explore the use of several FIR filter based Hilbert transforms for calibration, explicitly considering the impact of filter choice on phase sensitivity and OCT image quality. Our results indicate that the complex FIR filter approach is the most robust and accurate among those considered. It provides similar image quality and slightly better phase sensitivity than the traditional FFT-IFFT based Hilbert transform while consuming fewer resources in an FPGA implementation. We also explored utilizing the Hilbert magnitude of the reference interferogram to calculate an ideal window function for spectral amplitude calibration. The ideal window function is designed to carefully control sidelobes on the axial point spread function. We found that after a simple chromatic correction, calculating the window function using the complex FIR filter and the reference interferometer gave similar results to window functions calculated using a mirror sample and the FFT-IFFT Hilbert transform. Hence, the complex FIR filter can enable accurate and high-speed calibration of the magnitude and phase of spectral interferograms.

© 2016 Optical Society of America

Introduction

There are a variety of extensions of Optical Coherence Tomography (OCT) that take advantage of the interferometric phase to garner additional information. Some example applications include the measurement of blood flow with Doppler OCT [1–3] and tissue mechanical properties with OCT elastography [4, 5]. In particular, we are interested in using a technique called Phase-sensitive Optical Coherence Tomography (PhOCT) to accomplish vibrometry with picometer sensitivities. This exquisite sensitivity is enabling 3-D vibrometry in the intact cochlea of animal models of hearing, revealing new insights into cochlea function. In recent work [6], we have quantitatively measured differential motion in the mouse Organ of Corti using techniques collectively called Volumetric Optical Coherence Tomography and Vibrometry (VOCTV).

PhOCT has most often been prosecuted with spectrometer based or Spectral-Domain OCT (SDOCT) systems owing to their inherent phase stability [7–11]. Nevertheless, there are several advantages to the swept-laser source or Swept-Source OCT (SSOCT) architecture. For example, swept laser sources typically have very narrow instantaneous line widths that provide long coherence length and therefore low sensitivity rolloff as a function of depth. Likewise, they are compatible with architectures using some variant of the Mach-Zehdner interferometer and balanced detection. Balanced detection cancels the DC part of the signal and suppresses common mode noise. Unfortunately, swept laser sources used for OCT typically suffer sweep instabilities that lead to phase noise and therefore reduced sensitivity.

Specifically, the mechanical wavelength tuning of the laser source causes the wavenumber to be swept nonlinearly and to vary within subsequent sweeps which are referred to as intra- and inter-sweep variability, respectively. Several hardware and software approaches have been proposed to mitigate intra/inter-sweep variability. Postaid et al. and Choi et al. [12, 13] utilized a variable rate optical clock as a sampling clock for the Analog to Digital Converter (ADC) to remove intra-sweep variability. This method simplifies not only required hardware in the system but also the necessary post-processing. However, the ADC suffers from clock jitter generated by the variability of the optical clock. The clock jitter engenders a frequency dependent degradation of the signal-to-noise ratio (SNR) of the input signal [14]. Since the input signal is an interferometric signal, its frequency is a function of the optical pathlength difference. Therefore, the signal suffers more SNR degradation as the optical pathlength difference becomes larger, consequently deteriorating phase sensitivity as well as image intensity. There are software based approaches to deal with intra-sweep variability. Huber et al. [15] used a nearest-neighbor check algorithm to linearize the interferometric signal. This method is very efficient but not accurate. A more accurate algorithm was proposed by Gora et al. [16]. This method involves linearizing the interferometric signal using the phase of a reference interferometer. The phase of the reference interferometer is extracted by Fast Fourier Transform-Inverse Fast Fouirer Transform (FFT-IFFT) based Hilbert transform. This method is very accurate but requires substantial computation due to the FFT-IFFT process.

Several hardware based approaches have been used to remove inter-sweep variability. Vakoc et al. [17] and Baumann et al. [18] used a phase reference signal created by additional optics placed in the sample arm. The phase calibration signal is then used to measure and remove the inter-sweep variability. However, this approach requires careful adjustment so that the magnitude of the phase reference signal is sufficient for calibration but weak enough to avoid autocorrelation artifacts. A new type of hardware approach was proposed by Choi et al. [13]. The method places a Fiber Bragg Grating (FBG) in the optical system to act as a wavenumber reference signal. The inter-sweep variability is compensated by using the wavenumber reference signal. However, this method reflects some portion of the interferometric signal and needs careful selection and alignment of the FBG to work well. From the software point of view, the inter-sweep variability can be eliminated by a correlation method used by Braaf et al. [19]. In this method, two adjacent phases of k-clock signals are correlated with each other to calculate a shift magnitude. The shift magnitude is applied to the secondly measured k-clock signal to remove variations between sweeps. This method does not need additional optical hardware but has a considerable computational load due the calculation of correlation between two adjacent sweeps. In summary, hardware only based methods do not require significant post-processing but they increase hardware and alignment complexities and can be accompanied by unwanted artifacts or signal degradation. On the other hand, software based methods require considerable post-processing to guarantee accuracy and additional hardware to generate a reference interferometer signal, but they do not degrade the signal or introduce artifacts.

In our work which requires very high phase stability, we have adopted an approach similar to Gora et al. [16], where each sweep of the laser is calibrated by using a reference interferometer. The Hilbert phase of the reference interferometer is proportional to the instantaneous wavenumber of the laser and can be used to resample the interferometric signal such that δk is constant. However, the traditional Fast Fourier Transform-Inverse Fast Fourier Transform (FFT-IFFT) based Hilbert transform comes with considerable computational overhead. An alternative approach is to use a complex Finite Impulse Response (FIR) filter to extract the phase of the reference interferometer. The complex FIR filter is composed of two FIR filters used to generate an analytic signal [20]. The use of the FIR filter has the advantage of digital hardware efficiency compared to the FFT-IFFT method [21]. Other methods that have been utilized include the delay element and Hilbert FIR filter approach [22], and a bandpass and Hilbert FIR filter approach [23]. The complex FIR filter has been implemented in ultrasound imaging to detect the envelope of a beam formed signal and in OCT imaging to detect blood velocity [22, 23]. However, to the best our knowledge we present here the first application of the complex FIR filter to calibrate via a reference interferometer each sweep of a swept laser for SSOCT. We explicitly consider the accuracy of the phase of the different FIR based Hilbert transforms. In the context of PhOCT, we consider the impact of phase errors on phase noise. Furthermore we mitigate the computational load of the FIR filters by utilizing a field programmable gate array (FPGA) which can reduce processing time by working in parallel with the digitization [24]. Finally, we make use of the magnitude of the Hilbert transform to calculate an “ideal” window function, which allows us to carefully control the sidelobes of our axial point spread function.

Method

Proposed architecture

The proposed architecture is composed of two parts: phase extraction and resampling (as shown in Fig. 1). The phase extraction part uses a complex FIR filter to make an analytic signal, and coordinate rotation digital computer (CORDIC) to calculate the phase of the analytic signal. CORDIC allows a simple and efficient hardware implementation by using shift and add operations to calculate trigonometric functions [25]. The resampling part linearizes an interferometric signal henceforth called the OCT signal, by linearly interpolating it with the extracted reference interferometer phase and a linearized phase.

 figure: Fig. 1

Fig. 1 The proposed architecture for continuous real-time spectral calibration and linearization.

Download Full Size | PDF

Generation and phase extraction of an analytic signal

The phase extraction from the reference interferometer is the most important task in the proposed architecture because it affects the accuracy of the spectral wavenumber calibration. Specifically, if the extracted phase has errors, those errors are propagated through the calculation of the depth resolved interferometric phase in the PhOCT image and reduces the system sensitivity. Therefore, it is important to extract the phase from reference interferometer accurately.

There are several types of FIR filter based methods for generating an analytic signal such as the delay element and Hilbert FIR approach, the bandpass and Hilbert FIR approach, and the complex FIR approach as shown in Fig. 2. Delay element and Hilbert FIR approach uses a delay element, Z-d, for the in-phase signal to synchronize with the quadrature signal, and Hilbert FIR to make the quadrature signal. The bandpass and Hilbert FIR approach utilizes a bandpass FIR not only for synchronization but also for matching the bandwidth with the quadrature signal. The complex FIR approach consists of two filters: one from real coefficients, the other from imaginary coefficients. Ideally, these two filters exhibit an exact π/2 phase relationship as well as a matched frequency spectrum. The π/2 relationship is important for an analytic signal to be correctly defined as in Euler's formula. However, this property is not conserved in the other two FIR based methods, hence in this respect the complex FIR approach is the most accurate method among them.

 figure: Fig. 2

Fig. 2 Block diagram illustrating several types of FIR filter approaches to generate an analytic signal (a): Delay element and Hilbert FIR approach (b): Bandpass and Hilbert FIR approach (c): complex FIR approach. In (a), Z-d is a delay element to delay an input signal by d samples and Hilbert FIR is Hilbert transform implemented by FIR filter. The complex FIR filter has two kinds of filter coefficients: real and imaginary coefficients which are described as Complex FIR - Real and Complex FIR - Imag in (c), respectively.

Download Full Size | PDF

In order to analyze and compare the FIR approaches mathematically, a reference interferometer signal was modeled using the following equation,

IRI(k(n))=ρ4[s(k(n))(R1+R2)+2s(k(n))R1R2cos(2k(n)ΔzRI)]
where n is the digital time index, k(n) is the wavenumber as a function of time, ρ is the detector responsivity, s(k(n)) is the power spectrum of the swept laser, ΔzRI is the optical pathlength difference in the reference interferometer, R1 and R2 are the reflectivities of the two arms of the interferometer. If we assume that the power spectrum is constant within the bandwidth, and R1 = R2 = 1, then Eq. (1) can be simplified to
IRI(n)=αA+Acos(2k(n)ΔzRI)
where the constant A is equal to ρs(k(n))/2, and α is a weighting factor less than 1 .

Equation (2) shows that the reference interferometer has both a bandpass signal and a DC signal. In principle, the DC signal is cancelled when a balanced detector is used. However, the imperfect spectral response of the fiber coupler and difference in responsivity of photodetectors in a balanced detector keep the DC signal from being removed completely. The imperfect DC cancelation is the origin of the parameter α. The DC component should be removed in order to extract the phase from the reference interferometer accurately.

Assuming the Hilbert FIR has no delay, the impulse response for the delay and Hilbert FIR approach in Fig. 2(a) can be expressed as

δ(n)+jhHilbert(n)
where δ(n) is the impulse function and hhilbert(n) is the impulse response of the Hilbert FIR filter. The analytic signal and its phase after going through the delay element and Hilbert FIR filter are then calculated as

(αA+Acos(k(n)ΔzRI))*(δ(n)+jhHilbert(n))=αA+Acos(k(n)ΔzRI)+jAsin(k(n)ΔzRI)

with the corresponding phase

tan1(Asin(k(n)ΔzRI)αA+Acos(k(n)ΔzRI))=tan1(sin(k(n)ΔzRI)α+cos(k(n)ΔzRI))
where * denotes convolution.

As shown in Eq. (4), the DC component, αA, included in the reference interferometer signal is not removed by the delay element and thus ends up with the cosine term in the calculation of the arctangent and corrupts the phase estimation. On the other hand, the αA term is eliminated by Hilbert FIR filter whose magnitude response is characteristic of a bandpass filter. The bandpass and Hilbert FIR approach in Fig. 2(b) can overcome this issue and remove the DC component in the reference interferometer signal. Nevertheless it has an inherent phase error which prevents it from reproducing the correct π/2 phase relationship between the bandpass and the Hilbert FIR filters. That is,

H[hBPF(n)]hHilbert(n)
where H is the Hilbert Transform operator and hBPF(t) is the impulse response of the bandpass FIR filter. The independent filter generation process for these two different FIR filters causes them to not have the correct π/2 phase relationship outside the passband region.

In contrast, the complex FIR approach in Fig. 2(c) generates real and imaginary filters dependently to ensure the exact π/2 phase relationship. In order to design the complex FIR filter, a low pass FIR filter (LPF) is designed first and then multiplied by a complex sinusoidal function. The resultant impulse response complex FIR filter can be expressed as

hLPF(n)ej2πf0n=hLPF(n)cos(2πf0n)jhLPF(n)sin(2πf0n)
where hLPF(n) is the impulse response of the LPF.

As shown in Eq. (6), the real and imaginary filters have the same envelope, hLPF(n) and the exact π/2 phase relationship. The analytic signal and its phase from the complex FIR approach are obtained using the appropriate hLPF(n) and f0 as

(αA+Acos(k(n)ΔzRI))*(hReal(n)+jhImag(n))=Acos(k(n)ΔzRI)+jAsin(k(n)ΔzRI)

with the corresponding phase

tan1(sin(k(n)ΔzRI)cos(k(n)ΔzRI))=k(n)ΔzRI
where hReal(n) and hImag(n) are the impulse responses of real and imaginary filters for the complex FIR approach, respectively. As shown in Eq. (7), the phase is extracted without any artifact due to the DC component and with the exact π/2 relationship of real and imaginary filters.

Design of complex FIR filter

The proper selection of hLPF(n) and f0 is important to the design of the complex FIR filter. There are two approaches; a wideband complex FIR filter approach [20] and a narrowband complex FIR filter approach [23]. The wideband approach sets the passband of hLPF(n) to be close to the normalized digital frequency of 0.25 and f0 as 0.25. In the narrowband approach the passband of hLPF(n) and f0 are determined by the bandwidth and the center frequency of an input signal, respectively. Although the narrowband approach has better SNR by rejecting the out of band noise, it requires optimization for a given swept laser and reference interferometer. On the other hand, the wideband approach can cover the total frequency range even though it does not reject the out of band noise. The SNR of the reference interferometer signal tends to be high, hence the improved noise rejection in the narrow band case is not particularly helpful. We have chosen to take the wideband approach for our spectral calibration algorithm since a single set of filter parameters could readily work for multiple systems and is therefore more general.

In order to design the complex FIR filter, the prevalent Park-McClellan algorithm (equiripple design) was used. The specifications such as the passband and stopband frequencies (fp and fs), the passband ripple (δp), and the stopband attenuation (δs) are first determined. From them, a specification for hLPF(n) is developed by left-shifting the frequency response of the complex FIR by the normalized digital frequency of 0.25 as shown in Fig. 3.

 figure: Fig. 3

Fig. 3 (a): The desired frequency response for complex FIR filter (b): The frequency response for the prototype LPF after left-shifting (a) by 0.25.

Download Full Size | PDF

In the wideband approach, two stopband frequencies are easily defined as 0 and 0.5. Two passband frequencies are set as close to 0 and 0.5 as possible and should have the relationship between them of fp1 = 0.5-fp2 in order to make hLPF(n) a real filter. However, getting closer to 0 and 0.5 requires greater filter length, incurring greater computational load and therefore hardware resources, Therefore, fp1 and fp2 are heuristically set to 0.1 and 0.4, respectively. In order to set δs, the desired attenuation of the DC and the negative frequency component must be specified. Reilly et al. used the stopband attenuation of 0.17% below the passband [20]. By using this value, δs for both the DC and the negative frequency are reduced to 55 dB below the passband as depicted in Fig. 4. Figure 4(a) shows the simplified frequency response of the reference interferometer from Eq. (2) where α is assumed to be 1 (worst case) generating a DC component 6dB higher than the frequency component of interest. Thus, δs is set to 0.085% (−61dB) in order to decrease the DC and the negative frequency components to −55dB and −61dB, respectively, as shown in Fig. 4(b). Since the equiripple design method requires the same ripples in both the passband and the stopband, δp is set as 0.085%.

 figure: Fig. 4

Fig. 4 (a): The frequency spectrum of reference interferogram (b): the desired frequency spectrum of reference interferogram after complex FIR filtering.

Download Full Size | PDF

Using the stated filter specification and Kaiser’s estimation method [26], the appropriate filter order was found to be 34.

Linearization of OCT signal

After extracting the phase from reference interferometer, the OCT signal is resampled such that δk is constant to enable the use of the fast Fourier transform. We have found that linear interpolation is sufficient for our purposes where we typically image near the zero pathlength difference. It is known that the performance of linear interpolation degrades as the depth approaches the Nyquist frequency, however the SNR is largely insensitive to the interpolation method [27]. The advantage of linear interpolation compared to polynomial interpolation methods is its computational simplicity. Assuming that the DC and auto-correlation terms of the signal are removed, the OCT signal for one reflector can be modeled as,

IOCT(n)=ρ2s(k(n))RRRScos(2k(n)ΔzOCT)
where ΔzOCT is the optical pathlength difference between the reference and sample arm of the OCT interferometer.

Intersweep variability in k(n) leads to an apparent sweep to sweep change in the phase of the interferogram, i.e. the argument of the cosine in Eq. (8). Assuming a fixed number of samples are collected after the sweep trigger, this variability can also be thought of as a sweep to sweep change in the center frequency of the laser source. In order to mitigate this issue the interpolant was fixed and encompassed a range of k that was reliably spanned by each sweep of the laser. This approach fixes the beginning, ending, and center wavenumber of every sweep at a predetermined value, thus eliminating the associated phase error.

Results and discussion

Simulation result

The performance of the FIR filter methods was first investigated by MATLAB simulation. For comparison, three FIR methods in Fig. 2 were designed with the same filter order of 34 and the same passband of 0.1~0.4. Figure 5 shows the magnitude responses in the frequencydomain of the three FIR approaches. Clearly, the DC component is not eliminated and the response is not flat in the negative frequency range for the delay element and Hilbert FIR approach, Fig. 5(a). Although the DC component is removed in the bandpass and Hilbert FIR approach, Fig. 5(b), the response is not flat in the negative frequency range. On the other hand, the complex FIR approach not only removes the DC component but also has flat magnitude response in the negative frequency range as depicted in Fig. 5(c). Errors in the estimation of the phase arise both from incomplete suppression of the DC component and residual negative frequency components.

 figure: Fig. 5

Fig. 5 Frequency spetra of three FIR approaches. (a): delay element and Hilbert FIR filter (b): bandpass and Hilbert FIR filter (c): complex FIR filter.

Download Full Size | PDF

Next we compared the full calibration algorithm using the three different FIR approaches. Raw data was acquired from an OCT system with an identical architecture as [6] except the laser source had a 50 kHz sweep rate (SSOCT-1310, Axsun) and the digitizer was a 14-Bit, 250 MS/s Adapter Module (NI5761, National Instrument). The optical layout resembled a Mach-Zehdner interferometer with an optical circulator in the sample arm to preserve sample signal power. For additional details on the hardware setup and signal processing steps see [6]. The raw data consisted of a set of 300 reference interferograms and the corresponding OCT interferograms that comprised an OCT B-scan image of a mouse cochlea. Figure 6 shows the frequency spectra of reference interferograms filtered by delay element and Hilbert FIR, bandpass and Hilbert FIR, and complex FIR approaches as depicted in Fig. 6(c), 6(d) and 6(e), respectively. Each plot contains 300 reference spectral interferograms. The spectra processed with the delay element and Hilbert FIR approach, Fig. 6(c), and the bandpass and Hilbert FIR approach, Fig. 6(d), show a strong DC component and incomplete suppression of negative frequencies, respectively. In contrast, both DC and negative frequency components are eliminated in the complex FIR approach as seen in Fig. 6(e).

 figure: Fig. 6

Fig. 6 (a) Example reference interferogram overlaid with its Hilbert phase. The signal had a center frequency of 19.36 MHz and 0.0775 in digital frequency. (b) Reference interferograms in the frequency domain (c): filtered by delay element and Hilbert FIR approach (d): filtered by bandpass and Hilbert FIR approach (e): filtered by complex FIR approach. These spectra are obtained from 300 reference interferograms.

Download Full Size | PDF

The B-scan images processed via the traditional FFT-IFFT approach and the three FIR approaches described here are shown in Fig. 7. The delay element and Hilbert FIR approach result in Fig. 7(b) shows strong ghost images repeated in depth which result from the high DC component as shown in Fig. 6(c). The bandpass and Hilbert FIR and complex FIR approaches (Fig, 7(c) and 7(d)) show similar results that compared well to the traditional FFT-IFFT Hilbert approach (Fig. 7(a)). That is because the negative component is suppressed enough not to adversely affect the image in bandpass and Hilbert FIR approach. However, in principle the spectrum of the reference signal can be located at any frequency range. If the frequency of the reference interferometer falls in a range where the negative components are not well suppressed, artifacts will arise.

 figure: Fig. 7

Fig. 7 B-scan images of a mouse cochlea. (a): image from FFT-IFFT Hilbert transform (b): image from the delay element and Hilbert FIR approach (c): image from the bandpass and Hilbert FIR approach (d): image from the complex FIR approach. For reference the top of the images are near zero delay with digital frequency 0.024,and the bottom has a zero delay of 0.292.

Download Full Size | PDF

For illustration, the unfiltered reference signal was shifted down by the normalized digital frequency of 0.03, and A-scans recomputed using the down-shifted reference signal. Figure 8(a) shows the down shifted reference signal. Figures 8(b) and 8(c) display the filtered signals by the bandpass and Hilbert FIR, and complex FIR approaches, respectively. Compared to Fig. 6(d) and Fig. 6(e), the negative frequency component is increased by about 20 dB for the bandpass and Hilbert FIR approach while it is essentially unchanged for the complex FIR approach. A-lines from the FFT-IFFT Hilbert Transform, bandpass and Hilbert FIR and complex FIR approaches are shown in Figs. 8(d)-8(f), respectively. In the case of the bandpass and Hilbert FIR approach, strong artifacts arise at around 3.50 mm and 3.96 mm marked with an arrow in Fig. 8(e). These artifacts are not present in the result using the complex FIR approach which closely matches the result using the more traditional FFT-IFFT Hilbert transform.

 figure: Fig. 8

Fig. 8 Effect of spectral down-shifting of the reference signal: frequency spectra of the down-shifted reference signal (a) before filtering, (b) bandpass and Hilbert FIR approach and (c) complex FIR approach. A-scans from (d) FFT-IFFT Hilbert transform, (e) bandpass and Hilbert FIR approach and (f) complex FIR approach. Red arrow indicates an artifact that arises due to incomplete suppression of the negative frequencies in the bandpass and Hilbert FIR approach.

Download Full Size | PDF

In order to assess the different approaches for making vibratory measurements with PhOCT, we utilized a piezo electric element driven at 8 kHz. An M-scan consisting of 10000 A-scans was recorded and the data analyzed using each of the four approaches. The results are shown in Fig. 9.

 figure: Fig. 9

Fig. 9 Frequency responses of displacement of a piezo, from (a) FFT-IFFT Hilbert transform (b) delay element and Hilbert FIR approach (c) bandpass and Hilbert FIR approach (d) complex FIR approach.

Download Full Size | PDF

The phase noise of each approach is characterized by its mean ± standard deviation calculated in the range from 12.5 kHz to 25 kHz. The theoretical shot noise limited phase noise [28, 29] is 25.0 ± 13.1 pm. The result from the traditional FFT-IFFT Hilbert transform, Fig. 9(a), showed a peak at 8 kHz with a magnitude of 221 pm and 29.8 ± 15.4 pm phase noise. The result from the delay element and Hilbert FIR approach has no discernible peak and considerably worse phase noise, 112.5 ± 58.0 pm. The bandpass and Hilbert FIR and complex FIR approaches show similar results with a 221 pm magnitude peak at 8 kHz and 29.5 ± 15.3 pm and 29.6 ± 15.3 pm phase noise, respectively. As with the OCT B-scan image, the strong DC component in the delay element FIR approach severely compromises the results, however incomplete suppression of the negative frequencies in the bandpass filter FIR approach has no discernible impact. Based on the phase noise results both the bandpass and Hilbert FIR approach and complex FIR approach performed slightly better than the traditional FFT-IFFT Hilbert transform. The explanation lies in the difference in the number of data points of transient response between them. The FFT-IFFT Hilbert transform operation can be thought of as a circular convolution in the time domain with a FIR filter having the same length as the input signal [20]. Specifically, since we used 2000 data points per one reference interferogram, there were 1999 transient response data points for FFT-IFFT Hilbert transform while 34 points for bandpass FIR and complex FIR approaches. As a result, the FFT-IFFT Hilbert transform ends up with 1965 more unstable data points than the FIR approaches, which negatively affects the phase extraction of the reference signal. Presumably if we shifted the reference signal as in Fig. 8, the results from bandpass and FIR Hilbert approach would begin to deteriorate.

The bandpass and Hilbert FIR and complex FIR approaches provide comparable performance for both OCT imaging and OCT based vibrometry, at least to the limitations of the assessment presented here. Likewise, they have similar computational complexity. Nevertheless, going forward we have chosen to implement the complex FIR approach because it theoretically is more accurate, conserving the π/2 relationship between the complex components of the analytical signal, and completely suppresses the negative frequencies thereby mitigating potential problems related to the frequency of the reference interferometer signal.

FPGA implementation result

Our motivation for exploring the FIR approach to the Hilbert transform was to reduce the computational load from the traditional FFT-IFFT Hilbert transform. To that end, we have implemented the complex FIR approach on an FPGA and quantitatively compared the resource usage to our current FFT-IFFT method. The code was implemented on a Virtex-5 SX95T FPGA in an NI PXIe-7965R with 18-bit precision. Table 1 shows device utilization for the FPGA implementing post processing using the FFT-IFFT Hilbert and complex FIR approaches. The FFT-IFFT Hilbert approach is based on the structure in Fig. 2(a) where the Hilbert FIR filter is replaced by FFT-IFFT Hilbert transformation. The values in Table 1 include the operations in Fig. 2 as well as linear interpolation and DC subtraction.

Tables Icon

Table 1. Comparison of device utilization of FPGA

Since both sets of code were compiled with the same clock frequency, they output data at the same rate however the latency for the FIR approach is 17 clock cycles while that of the FFT-IFFT approach is 12,000 clock cycles. This difference is further manifest in the resource usage. Since the complex FIR approach requires a smaller number of additions and multiplications than the FFT-IFFT Hilbert approach, slice registers, slice LUTs and DSP48s are reduced by around 20%. In addition, since the FFT-IFFT Hilbert approach requires block RAM in order to match the latency between real and imaginary signals as in Fig. 2(a), the usage of block RAM decreased by 11.5%. The results described here were for a system with a 200 kHz swept laser source.

In order to test the implementation, a piezo was driven at 12 kHz and its displacement was measured using a 200 kHz PhOCT system described in detail in [6]. The displacement was measured 10 times with 4000 A-scans for each M-scan. Figure 10 shows two frequency spectra of the measured displacement: one using the FFT-IFFT Hilbert Transform and the other from the complex FIR approach. The phase noise of each method was calculated as the square root of an averaged noise energy in the frequency domain along the range of 20 kHz to 100 kHz. The result from the traditional FFT-IFFT Hilbert transform displays a peak at 12 kHz with a magnitude of 3.78 ± 0.06 nm and phase noise of 40.2 ± 5.5 pm, where ± indicates the standard deviation among the 10 samples. The complex FIR approach showed similar results with a magnitude of 3.73 ± 0.06 nm and 32.6 ± 2.5 pm phase noise. In agreement with previous results, the complex FIR approach demonstrated slightly better phase noise than the FFT-IFFT Hilbert transform.

 figure: Fig. 10

Fig. 10 Frequency responses of displacement of a piezo, (a) from FFT-IFFT Hilbert transform (b) from complex FIR approach

Download Full Size | PDF

Reducing the number of coefficients used in the FIR filter can reduce the required resources. Owing to the fairly efficient multiply and addition operations on the FPGA, there is a limited potential for further gains over what we have shown in Table 1. Nevertheless, small reductions in the resources can be the difference between an FPGA code successfully compiling and not. In order to explore the limits we have experimented with how few coefficients could be used before the image quality and/or the phase sensitivity were compromised. We repeated the processing of the mouse cochlea and piezo using the complex FIR approach systematically reducing the number of coefficients while retaining the passband and stopband frequencies in order to only affect passband ripple and stopband atteunuation. Figure 11(a) and Fig. 11(b)-11(e) show phase noise and B-scan images at various filter orders, respectively. The phase noise was measured from filter orders ranging from 4 to 40 and quantified by the root mean square (RMS) in order to simultaneously consider mean and standard deviation. In Fig. 11(a), the phase noise converges to around 33 pm at the filter order of 8. The plateau above the order of 8 in Fig. 11(a) comes from the fact that the added noise caused by the complex FIR filter is below the system noise. The B-scan images were processed using the same filter orders as the phase noise measurement. Images using filter orders, 4, 8, 12 and 18 are displayed in Fig. 11(b)-11(e), respectively. In these images there is clearly ghosting at the lower filter orders which essentially completely disappears with filter order of 18. These results taken together leads us to the conclusion that the filter order can be reduced to 18 without any noticeable impact. However, decreasing the filter order reduces the performance of the filter by increasing the passband ripple and the stopband attenuation if the passband and stopband frequencies are unchanged. Hence, careful selection of the minimum filter order is required, depending on the relative strength of the DC component to the frequency components in the reference interferogram.

 figure: Fig. 11

Fig. 11 Phase noise and B-scan image in accordance with filter order. (a) shows phase noise calculated by Root Mean Square (RMS) according to the filter order ranging from 4 to 40. (b), (c), (d), (e) show B-scan images in accordance with the filter order of 4, 8, 12 and 18, respectively.

Download Full Size | PDF

We have also explored the accuracy of the magnitude of the Hilbert transform, |H|, as a measure of the instantaneous swept laser power. We typically use this to calculate a custom window to be applied to the OCT spectral interferogram before computing the IFFT. The custom window is meant to engender the spectral shape of a standard window function to the interferogram. For instance, if we desired the sideband structure of a Hanning window, we would calculate a custom window by Wcust = WHann/|H|. We do this to carefully control the sidelobe behavior of our axial point spread function. The phenomena of phase leakage [30] is well documented and known to cause errors in the estimation of depth resolved phase in OCT. Careful control of the sidebands can help mitigate this issue and reduce ambiguity in the interpretation of results of OCT vibratory measurements.

Our standard procedure is to place a mirror reflector in the sample arm of the OCT interferometer, calculate the Hilbert transform of the OCT spectral interferogram and use the measured |H| to calculate the Wcust. Since most swept laser sources have a relatively stable power and spectral shape at least after they have warmed-up we infrequently update this measurement. Therefore, our primary motivation was to determine if the complex FIR approach was accurate enough for this task in order to provide for simplicity and consistency in writing the code to run our system. Nevertheless, we recognized that there could be some advantage to recalculating the window for every sweep of the laser since any fluctuation in the laser power or spectral shape would automatically be compensated. Likewise, it would be a nearly trivial addition to the code already running on the FPGA if we could use the |H| from the reference interferometer instead of a mirror reflector.

In order to test this, the reflection from a mirror was measured using the 200 kHz PhOCT system. 12 M-scans were collected with 100 signal and reference interferograms. Among them, the first set of 100 A-scans was used to calculate dispersion compensation coefficients and a custom window using our standard procedure, as described above. Using this same set of data, coefficients to compensate for differences in chromatic losses between the signal and reference interferograms were calculated.

In the proposed new algorithm, |H| was calculated and then processed by low pass FIR filter (LPF) to remove additive noise before calculating the ideal window. The stopband of LPF was set to the normalized digital frequency of 0.05 because |H| is a baseband signal with narrow bandwidth. We compared the new algorithm with and without correcting for chromatic losses to our current algorithm on the remaining 11 sets of data. Figure 12 shows the results from one data set, in the depth range of the mirror reflection. The results were quantified in terms of Full width at half maximum (FWHM) resolution, SNR and Main to Side lobe Ratio (MSR) for the 1st side lobes on either side. We found no difference for the FWHM resolution or SNR among the three algorithms. Specifically, the mean ± standard deviation of the FWHM resolution over the 11 data sets was 8.56 ± 0.18, 8.56 ± 0.18 and 8.58 ± 0.19 pixels, for the current method, without chromatic correction and with chromatic correction, respectively. The FWHM of the perfect Hanning window, WHann, was 8.38 pixels which compares well with the results obtained here with the custom window designed to impart the shape of a Hanning window to the interferogram. Similarly, the SNR was 61.47 ± 1.76, 61.74 ± 1.67 and 61.43 ± 1.73dB, respectively. However, the MSR is degraded significantly if the chromatic correction is not included. From the data set in Fig. 12 the sidelobes increase by 1.85 dB and 3.44 dB. Likewise, it is fairly obvious in Fig. 12(a) that the sidelobe structure varies significantly when the chromatic correction is not applied. In contrast the sidelobe structure in Fig. 12(b) is faithfully reproduced even beyond the 1st sidelobes. These results indicate that the magnitude of the complex FIR Hilbert transform can be used to build a custom window and moreover it can be done using the reference interferometer as long as a chromatic correction is applied. We used a low-pass filter to suppress additive noise so that we could calculate a custom window on every sweep, however we found that using simple averaging of ~100 laser sweeps works equally as well if sweep to sweep variations are not a concern.

 figure: Fig. 12

Fig. 12 Comparison of methods for calculating a custom window. (a): axial point spread functions from current and proposed procedures without chromatic correction (b): axial point spread functions from current and proposed procedures with chromatic correction. For comparison, the axial point spread function with no windowing is also shown.

Download Full Size | PDF

Conclusion

In this article we have evaluated several FIR based methods for spectral calibration of every sweep of a swept laser in real time. We found the complex FIR based approach was the most robust of the three considered. It provided as good or better results compared to the more traditional IFFT-FFT based Hilbert transform on OCT image quality and phase sensitivity. Our implementation on an FPGA also demonstrated that it used fewer hardware resources than the traditional IFFT-FFT approach. Our FPGA code used a filter order of 34 as recommended by Kaiser’s estimation method. We also explored using lower filter orders and found that we could reduce the order to as low as 18 without impacting image quality and phase sensitivity. We also explored using the Hilbert magnitude of the reference interferometer signal as an instantaneous measure of the spectral power of the swept laser. We used this information to calculate an ideal window function that carefully controlled the sidelobes on the axial point spread function. We compared results derived from imaging a mirror with the OCT interferometer and an IFFT-FFT based Hilbert transform to those obtained from the reference interferometer and the complex FIR filter. We found that after a chromatic correction that accounted for differences in the wavelength dependent attenuation between the reference interferometer and the OCT interferometer, we were able to generate essentially equivalent results using both methods. However, the reference interferometer based measurement can be done in real time and is independent of the sample being imaged with the OCT interferometer. In conclusion, the complex FIR approach to the Hilbert transform allows for highly accurate real time wavelength and magnitude calibration of a swept laser source.

Acknowledgments

We gratefully acknowledge financial support for this work via grants from the Congressionally Directed Medical Research Programs, DoD W81XWH-11-2-0004, and the National Institutes of Health, R01DC013774, R01DC014450, and P30DC010363.

References and links

1. Y. Wang, B. A. Bower, J. A. Izatt, O. Tan, and D. Huang, “In vivo total retinal blood flow measurement by Fourier domain Doppler optical coherence tomography,” J. Biomed. Opt. 12(4), 041215 (2007). [CrossRef]   [PubMed]  

2. Y. Zhao, Z. Chen, C. Saxer, S. Xiang, J. F. de Boer, and J. S. Nelson, “Phase-resolved optical coherence tomography and optical Doppler tomography for imaging blood flow in human skin with fast scanning speed and high velocity sensitivity,” Opt. Lett. 25(2), 114–116 (2000). [CrossRef]   [PubMed]  

3. R. Leitgeb, L. Schmetterer, W. Drexler, A. Fercher, R. Zawadzki, and T. Bajraszewski, “Real-time assessment of retinal blood flow with ultrafast acquisition by color Doppler Fourier domain optical coherence tomography,” Opt. Express 11(23), 3116–3121 (2003). [CrossRef]   [PubMed]  

4. J. Schmitt, “OCT elastography: imaging microscopic deformation and strain of tissue,” Opt. Express 3(6), 199–211 (1998). [CrossRef]   [PubMed]  

5. J. Rogowska, N. A. Patel, J. G. Fujimoto, and M. E. Brezinski, “Optical coherence tomographic elastography technique for measuring deformation and strain of atherosclerotic tissues,” Heart 90(5), 556–562 (2004). [CrossRef]   [PubMed]  

6. H. Y. Lee, P. D. Raphael, J. Park, A. K. Ellerbee, B. E. Applegate, and J. S. Oghalai, “Noninvasive in vivo imaging reveals differences between tectorial membrane and basilar membrane traveling waves in the mouse cochlea,” Proc. Natl. Acad. Sci. U.S.A. 112(10), 3128–3133 (2015). [CrossRef]   [PubMed]  

7. B. E. Applegate, R. L. Shelton, S. S. Gao, and J. S. Oghalai, “Imaging high-frequency periodic motion in the mouse ear with coherently interleaved optical coherence tomography,” Opt. Lett. 36(23), 4716–4718 (2011). [CrossRef]   [PubMed]  

8. S. S. Gao, P. D. Raphael, R. Wang, J. Park, A. Xia, B. E. Applegate, and J. S. Oghalai, “In vivo vibrometry inside the apex of the mouse cochlea using spectral domain optical coherence tomography,” Biomed. Opt. Express 4(2), 230–240 (2013). [CrossRef]   [PubMed]  

9. S. S. Gao, R. Wang, P. D. Raphael, Y. Moayedi, A. K. Groves, J. Zuo, B. E. Applegate, and J. S. Oghalai, “Vibration of the organ of Corti within the cochlear apex in mice,” J. Neurophysiol. 112(5), 1192–1204 (2014). [CrossRef]   [PubMed]  

10. C. T. Nguyen, H. Tu, E. J. Chaney, C. N. Stewart, and S. A. Boppart, “Non-invasive optical interferometry for the assessment of biofilm growth in the middle ear,” Biomed. Opt. Express 1(4), 1104–1116 (2010). [CrossRef]   [PubMed]  

11. H. M. Subhash, A. Nguyen-Huynh, R. K. Wang, S. L. Jacques, N. Choudhury, and A. L. Nuttall, “Feasibility of spectral-domain phase-sensitive optical coherence tomography for middle ear vibrometry,” J. Biomed. Opt. 17(6), 060505 (2012). [CrossRef]   [PubMed]  

12. B. Potsaid, B. Baumann, D. Huang, S. Barry, A. E. Cable, J. S. Schuman, J. S. Duker, and J. G. Fujimoto, “Ultrahigh speed 1050nm swept source/Fourier domain OCT retinal and anterior segment imaging at 100,000 to 400,000 axial scans per second,” Opt. Express 18(19), 20029–20048 (2010). [CrossRef]   [PubMed]  

13. W. Choi, B. Potsaid, V. Jayaraman, B. Baumann, I. Grulkowski, J. J. Liu, C. D. Lu, A. E. Cable, D. Huang, J. S. Duker, and J. G. Fujimoto, “Phase-sensitive swept-source optical coherence tomography imaging of the human retina with a vertical cavity surface-emitting laser light source,” Opt. Lett. 38(3), 338–340 (2013). [CrossRef]   [PubMed]  

14. C. Azeredo-Leme, “Clock Jitter Effects on Sampling: A Tutorial,” IEEE Circuits Syst. Mag. 11(3), 26–37 (2011). [CrossRef]  

15. R. Huber, M. Wojtkowski, K. Taira, J. Fujimoto, and K. Hsu, “Amplified, frequency swept lasers for frequency domain reflectometry and OCT imaging: design and scaling principles,” Opt. Express 13(9), 3513–3528 (2005). [CrossRef]   [PubMed]  

16. M. Gora, K. Karnowski, M. Szkulmowski, B. J. Kaluzny, R. Huber, A. Kowalczyk, and M. Wojtkowski, “Ultra high-speed swept source OCT imaging of the anterior segment of human eye at 200 kHz with adjustable imaging range,” Opt. Express 17(17), 14880–14894 (2009). [CrossRef]   [PubMed]  

17. B. Vakoc, S. Yun, J. de Boer, G. Tearney, and B. Bouma, “Phase-resolved optical frequency domain imaging,” Opt. Express 13(14), 5483–5493 (2005). [CrossRef]   [PubMed]  

18. B. Baumann, B. Potsaid, M. F. Kraus, J. J. Liu, D. Huang, J. Hornegger, A. E. Cable, J. S. Duker, and J. G. Fujimoto, “Total retinal blood flow measurement with ultrahigh speed swept source/Fourier domain OCT,” Biomed. Opt. Express 2(6), 1539–1552 (2011). [CrossRef]   [PubMed]  

19. B. Braaf, K. A. Vermeer, V. A. D. P. Sicam, E. van Zeeburg, J. C. van Meurs, and J. F. de Boer, “Phase-stabilized optical frequency domain imaging at 1-mu m for the measurement of blood flow in the human choroid,” Opt. Express 19(21), 20886–20903 (2011). [CrossRef]   [PubMed]  

20. A. Reilly, G. Frazer, and B. Boashash, “Analytic Signal Generation - Tips and Traps,” IEEE Trans. Signal Process. 42(11), 3241–3245 (1994). [CrossRef]  

21. K. Ayob, Digital Filters in Hardware: A Practical Guide for Firmware Engineers (Trafford Publishing, 2008).

22. L. Thrane, H. E. Larsen, K. Norozi, F. Pedersen, J. B. Thomsen, M. Trojer, and T. M. Yelbuz, “Field programmable gate-array-based real-time optical Doppler tomography system for in vivo imaging of cardiac dynamics in the chick embryo,” Opt. Eng. 48(2), 023201 (2009). [CrossRef]  

23. P. Levesque and M. Sawan, “Real-Time Hand-Held Ultrasound Medical-Imaging Device Based on a New Digital Quadrature Demodulation Processor,” IEEE Trans. Ultrason. Ferroelectr. Freq. Control 56(8), 1654–1665 (2009). [CrossRef]   [PubMed]  

24. H. E. Larsen, R. T. Nilsson, L. Thrane, F. Pedersen, T. M. Jorgensen, and P. E. Andersen, “Optical Doppler tomography based on a field programmable gate array,” Biomed. Signal Process. Control 3(1), 102–106 (2008). [CrossRef]  

25. P. K. Meher, J. Valls, T.-B. Juang, K. Sridharan, and K. Maharatna, “50 years of CORDIC: Algorithms, architectures, and applications,” IEEE Trans. Circuits Syst. 56, 1893–1907 (2009).

26. B. Porat, A Course in Digital Signal Processing (Wiley New York, 1997).

27. A. E. Desjardins, B. J. Vakoc, M. J. Suter, S. H. Yun, G. J. Tearney, and B. E. Bouma, “Real-time FPGA processing for high-speed optical frequency domain imaging,” IEEE Trans. Med. Imaging 28(9), 1468–1472 (2009). [CrossRef]   [PubMed]  

28. J. Park, E. F. Carbajal, X. Chen, J. S. Oghalai, and B. E. Applegate, “Phase-sensitive optical coherence tomography using an Vernier-tuned distributed Bragg reflector swept laser in the mouse middle ear,” Opt. Lett. 39(21), 6233–6236 (2014). [CrossRef]   [PubMed]  

29. M. Szkulmowski, I. Grulkowski, D. Szlag, A. Szkulmowska, A. Kowalczyk, and M. Wojtkowski, “Flow velocity estimation by complex ambiguity free joint Spectral and Time domain Optical Coherence Tomography,” Opt. Express 17(16), 14281–14297 (2009). [CrossRef]   [PubMed]  

30. A. K. Ellerbee and J. A. Izatt, “Phase retrieval in low-coherence interferometric microscopy,” Opt. Lett. 32(4), 388–390 (2007). [CrossRef]   [PubMed]  

Cited By

Optica participates in Crossref's Cited-By Linking service. Citing articles from Optica Publishing Group journals and other participating publishers are listed here.

Alert me when this article is cited.


Figures (12)

Fig. 1
Fig. 1 The proposed architecture for continuous real-time spectral calibration and linearization.
Fig. 2
Fig. 2 Block diagram illustrating several types of FIR filter approaches to generate an analytic signal (a): Delay element and Hilbert FIR approach (b): Bandpass and Hilbert FIR approach (c): complex FIR approach. In (a), Z-d is a delay element to delay an input signal by d samples and Hilbert FIR is Hilbert transform implemented by FIR filter. The complex FIR filter has two kinds of filter coefficients: real and imaginary coefficients which are described as Complex FIR - Real and Complex FIR - Imag in (c), respectively.
Fig. 3
Fig. 3 (a): The desired frequency response for complex FIR filter (b): The frequency response for the prototype LPF after left-shifting (a) by 0.25.
Fig. 4
Fig. 4 (a): The frequency spectrum of reference interferogram (b): the desired frequency spectrum of reference interferogram after complex FIR filtering.
Fig. 5
Fig. 5 Frequency spetra of three FIR approaches. (a): delay element and Hilbert FIR filter (b): bandpass and Hilbert FIR filter (c): complex FIR filter.
Fig. 6
Fig. 6 (a) Example reference interferogram overlaid with its Hilbert phase. The signal had a center frequency of 19.36 MHz and 0.0775 in digital frequency. (b) Reference interferograms in the frequency domain (c): filtered by delay element and Hilbert FIR approach (d): filtered by bandpass and Hilbert FIR approach (e): filtered by complex FIR approach. These spectra are obtained from 300 reference interferograms.
Fig. 7
Fig. 7 B-scan images of a mouse cochlea. (a): image from FFT-IFFT Hilbert transform (b): image from the delay element and Hilbert FIR approach (c): image from the bandpass and Hilbert FIR approach (d): image from the complex FIR approach. For reference the top of the images are near zero delay with digital frequency 0.024,and the bottom has a zero delay of 0.292.
Fig. 8
Fig. 8 Effect of spectral down-shifting of the reference signal: frequency spectra of the down-shifted reference signal (a) before filtering, (b) bandpass and Hilbert FIR approach and (c) complex FIR approach. A-scans from (d) FFT-IFFT Hilbert transform, (e) bandpass and Hilbert FIR approach and (f) complex FIR approach. Red arrow indicates an artifact that arises due to incomplete suppression of the negative frequencies in the bandpass and Hilbert FIR approach.
Fig. 9
Fig. 9 Frequency responses of displacement of a piezo, from (a) FFT-IFFT Hilbert transform (b) delay element and Hilbert FIR approach (c) bandpass and Hilbert FIR approach (d) complex FIR approach.
Fig. 10
Fig. 10 Frequency responses of displacement of a piezo, (a) from FFT-IFFT Hilbert transform (b) from complex FIR approach
Fig. 11
Fig. 11 Phase noise and B-scan image in accordance with filter order. (a) shows phase noise calculated by Root Mean Square (RMS) according to the filter order ranging from 4 to 40. (b), (c), (d), (e) show B-scan images in accordance with the filter order of 4, 8, 12 and 18, respectively.
Fig. 12
Fig. 12 Comparison of methods for calculating a custom window. (a): axial point spread functions from current and proposed procedures without chromatic correction (b): axial point spread functions from current and proposed procedures with chromatic correction. For comparison, the axial point spread function with no windowing is also shown.

Tables (1)

Tables Icon

Table 1 Comparison of device utilization of FPGA

Equations (10)

Equations on this page are rendered with MathJax. Learn more.

I RI ( k(n) )= ρ 4 [ s(k( n ))( R 1 + R 2 )+2s(k(n)) R 1 R 2 cos( 2k(n) Δz RI ) ]
I RI ( n )=αA+Acos( 2k(n) Δz RI )
δ( n )+ jh Hilbert (n)
( αA+Acos( k(n) Δz RI ) )*( δ( n )+ jh Hilbert (n) )=αA+Acos( k(n) Δz RI )+jAsin( k(n) Δz RI )
tan 1 ( Asin( k(n) Δz RI ) αA+Acos( k(n) Δz RI ) )= tan 1 ( sin( k(n) Δz RI ) α+cos( k(n) Δz RI ) )
H[ h BPF (n) ] h Hilbert (n)
h LPF ( n ) e j2 πf 0 n = h LPF ( n )cos( 2 πf 0 n ) jh LPF ( n )sin( 2 πf 0 n )
( αA+Acos( k( n ) Δz RI ) )*( h Real ( n )+ jh Imag ( n ) )=Acos( k( n ) Δz RI )+jAsin( k( n ) Δz RI )
tan 1 ( sin( k(n) Δz RI ) cos( k(n) Δz RI ) )=k(n) Δz RI
I OCT ( n )= ρ 2 s(k(n)) R R R S cos( 2k( n ) Δz OCT )
Select as filters


Select Topics Cancel
© Copyright 2024 | Optica Publishing Group. All rights reserved, including rights for text and data mining and training of artificial technologies or similar technologies.