Keywords

1 Introduction

Optical Coherence Tomography (OCT) is an imaging technique for the analysis of the eye fundus that provides a non-invasive and contactless cross-sectional retinal visualization with high resolution. It has been widely used in biomedical imaging, as in the extraction of medical information as spatial information but also in the measurement of biological tissues such as retinal layers [1,2,3] and other structures [4, 5], in a micro scale way.

In OCT, speckle noise can be introduced in the capture process by many causes like the eye motion of the patient, multiple scattering or particular properties of each OCT system [6]. Therefore, the process of denoising of ophthalmic OCT images is essential to obtain better quality images that may lead to a better identification of the retinal structures as well as a better recognition and quantification of different retinal diseases, thus aiding the diagnosis made by the clinicians [7]. For speckle noise reduction, two major strategies are applied at different capture stages: (I) during image acquisition and (II) at a post-processing stage. The first strategy is usually performed by the device at the moment of the image capture, by the use of multiple uncorrelated recordings that are combined to produce the final image. The second stage requires a post-processing of the OCT scans based on computational algorithms [8]. A large variety of post-processing methods have been proposed for speckle noise reduction of OCT slices. In the literature, there are several OCT denoising techniques that are being adapted from other domains as active radar, synthetic aperture radar (SAR) or ultrasound, among others, since the granular noisy pattern is similar to the noise that appear in OCT scans [8]. Therefore, a substantial amount of signal processing research has been conducted to combat speckle noise and, in the last years, new versions of standard denoising filters [9] were adapted to the task of OCT image denoising [10, 11]. Most of them were originally applied to other domains, such as the Lee filter [12], Kuan filter [13] and Frost filter [14], wavelet filter [15], general Bayesian filter [16] or anisotropic diffusion [17], which are the most widely discussed as spatial adaptive filters noise attenuation. Despite the efforts, it is being a challenge to develop an efficient speckle noise reduction algorithm that simultaneously preserves details such as texture and edge information, ensuring that the particular anatomy of those structures are preserved, beyond the image quality metrics, as signal-to-noise-ratio (SNR), contrast-to-noise-ratio (CNR) or average effective number of looks (ENL), that are typically used to measure any denoising strategy.

In this paper, we propose a new method for speckle noise reduction in OCT images based on the application of the Fourier Butterworth filter in combination with an image enhancement and histogram regularization. The method ensures, at the same time, image detail as well as preservation of particular morphological structures, allowing the possible recognition of pathologies in the internal retinal tissue. To validate the method, a comparative analysis with algorithms of the state-of-art was developed and implemented for an automatic calculation of quality images metrics, such as SNR, CNR and ENL and using three representative image sets of progressive noise complexity.

2 Methodology

To reduce the speckle noise in OCT retinal images the proposed method is based on the Fourier Butterworth filter. This low pass filter minimizes high frequency components which are essentially the aimed noise. Then, to enhance the image contrast, a post-processing stage based on histogram correction was applied to highlight the morphological structures as retinal layers and pathological structures.

Moreover, in order to develop a systematic comparison between the proposal with methods of the state-of-art, an automated iterative regions of interest (ROIs) extraction was implemented, ensuring an independent and objective process on the determination of quantitative metrics such as SNR, CNR and ENL.

2.1 Fourier Butterworth Image Filtering

Fourier Butterworth filter is a low-pass filter where images are transformed from the spatial to the frequency domain and vice-versa. It is characterized as a smooth filter where the high frequencies are cutoff, reducing the noise while preserving, simultaneously, the edges. The filter is governed by two main parameters: the critical frequency and the order filter [18]. The critical frequency determines the transition zone where amplitude of the frequency drops from 1 down to 0, while the order determines its steepness, such that a higher order produces a narrower transition zone [19].

Butterworth filter is applied in OCT images for speckle noise reduction following, as shown in the diagram of blocks in Fig. 1, the next steps: (1) fast Fourier transform (FFT), (2) Transfer Function H(uv), (3) inverse Fourier transform (IFFT). Based on spatial information of the input noisy image, a meshgrid array is created in order to process the information in frequency domain, which corresponds to the first process block of the diagram.

Fig. 1.
figure 1

Basic flow diagram of speckle noise reduction for OCT images based on Fourier Butterworth filter.

There, I is the input noise image and \(I_{o}\) is the output Fourier Butterworth filtered image. The second process block represents the transfer function H(uv) of the Butterworth low-pass filter of order n at a distance from the origin, defined by:

$$\begin{aligned} H(u,v)=\frac{1}{1 + ( \frac{D(u,v)}{D_{0}} ) ^{2}} \end{aligned}$$
(1)

where, D(uv) is the distance from point (uv) to the center of the filter and \(D_{0}\) is the cutoff frequency. Having calculated H(uv) a multiply operation is applied with the Fourier transform of an original image, F(uv), as:

$$\begin{aligned} G(u,v)=H(u,v)\times {F(u,v)} \end{aligned}$$
(2)

Finally, the resultant image, G(uv) is returned from the frequency to the spacial domain applying IFFT.

2.2 Post Processing

The Fourier Butterworth filter minimizes the presence of noise, Fig. 2(b). However, it is necessary to enhance the visualization of the morphological structures such as retinal layers that appear in the eye fundus in order to facilitate the posterior analysis. In an attempt to enhance these structures, two main steps were taken: a weighted multiplicative operation of the output Fourier Butterworth filter by the original image and a histogram correction.

Firstly, the resultant image of the Fourier Butterworth filter is multiplied by the original image with a weight \(w=1.2\), value empirically calculated based on extensive experimentation to yield the best results enhancing the boundaries of retinal layers, as well as preserving the details of the tissue of the morphological structures, as shown in Fig. 2(c).

Then, as a second step, a histogram correction was introduced to regularize the image contrast based on the histogram, as shown in Fig. 2(d), resulting in a more detailed and clear image.

Fig. 2.
figure 2

Example of the post-processing stage of the OCT retinal images. (a) Original noisy image. (b) Output Fourier Butterworth filtered image. (c) Original image correction using the Fourier Butterworth output filter. (d) Contrast enhancement and histogram correction.

2.3 Automatic Validation Process

In order to validate and compare the proposed methodology with reference methods of the literature, quantitative image metrics were calculated, such as SRN, CNR and ENL, as some of the most used metrics in other denoising approaches as classification metrics for speckle noise reduction. However, the presence of pathological structures in the OCT images makes the scenario of image denoise quantification more complicated, since the pathological regions, black non-reflective spaces [20], can alter erroneously this metrics. In order to minimize this limitation, we implemented an automatic method for the extraction of a background and retinal layer ROIs that are needed for the calculation of the implemented metrics. Two main steps were implemented: an automatic segmentation of the retinal layers and the automatic ROIs extraction.

Automatic Segmentation of Retinal Layers: The calculation of the implemented metrics needs the selection of ROI windows in the background and inside the retinal layer tissue. To automatize this process, we need to identify the limits of these retinal layers. Based on the work of Chiu et al. [21], we implemented the identification of the boundaries of retinal tissues in OCT images. This automatic approach for segmenting retinal layers uses graph theory and dynamic programming to represent each OCT image as a graph of nodes, connecting optimum paths from both sides of the image. Firstly, the algorithm calculates dark-to-light gradient images, identifying adjacent layers and generating weights for the layer segmentations. The minimum weighted paths are found by the Dijkstra’s algorithm [22] to progressively identify the main layers of the retina. This approach detects eight different layers. However, for this purpose, only the Inner Limiting Membrane (ILM) and the Retinal Pigment Epithelium (RPE) layers were used, as they delimit the retinal layer region.

Automatic ROIs Extraction: As second step, an iterative and random process of seed generation and ROI construction was implemented. The seed coordinates are needed to construct \(m^{th}\) ROI windows inside the retinal layers as well as 1 background ROI window. Based on these seeds, which are obtained from the original noisy image between the ILM and RPE retinal layers, it is possible to obtain the ROIs in exactly the same coordinates on the returned filtered images to measure the degree of improvement before and after the denoising process. In order to ensure that the quality metrics will not be influenced by pathological structures, 50 random repetitions were executed in an automatic way obtaining as a result the final quality metric means. Moreover, each set of random positions is used with all the methods, certifying that the approaches are all under the same conditions. The positions represent the upper left coordinates of \(m^{th}\) ROIs, as shown in Fig. 3, and each ROI will be a window with a size of \(10 \times 20\) pixels. The background ROI is obtained from the upper left part of the each OCT filtered image, having a total area equal to the sum of the \(m^{th}\) ROIs areas, as:

$$\begin{aligned} A_{b}=\sum _{m=1}^{m} A_{m} \end{aligned}$$
(3)

where, \(A_{b}\) is the background total area and \(A_{m}\) are the area of each \(m^{th}\) ROIs.

The quality metrics, SNR, CNR and ENL, provide relevant information about the noise signal, contrast and homogeneity in images, respectively, and are defined as:

$$\begin{aligned} SNR_{m}=20\cdot {log_{10}}(\dfrac{\mu _{m}}{\sigma _{b}}) \end{aligned}$$
(4)
$$\begin{aligned} CNR_{m}=\dfrac{\mu _{m}-\mu _{b}}{\sqrt{\sigma _{m}^{2}+\sigma _{b}^{2}}} \end{aligned}$$
(5)
$$\begin{aligned} ENL_{m}=\frac{\mu _{m}^{2}}{\sigma _{m}^{2}} \end{aligned}$$
(6)

where, \(\mu _{b}\) and \(\sigma _{b}\) are the mean and standard deviation of the background ROI, respectively, while \(\mu _{m}\) and \(\sigma _{m}\) are the mean and standard deviation, of the \(m^{th}\) ROIs, respectively. For this purpose, 8 ROIs were selected as m value, for the extraction of the retinal tissue regions, which is a representative and sufficient value to estimate accurately, the quality metrics, having finally:

$$\begin{aligned} SNR=\dfrac{1}{8}[\sum _{m=1}^{m=8} SNR_{m}] \quad CNR=\dfrac{1}{8}[\sum _{m=1}^{m=8} CNR_{m}] \quad ENL=\dfrac{1}{8}[\sum _{m=1}^{m=8} ENL_{m}] \end{aligned}$$
(7)
Fig. 3.
figure 3

Example of retinal layers delimitation and ROIs construction. \(1^{st}\) row, iterative random seeds (+) between ILM and RPE layers. \(2^{nd}\) row, ROIs construction where: 1–8, retinal layer ROIs; 9, the background ROI.

3 Results and Discussion

We used a dataset composed by 45 OCT retinal images acquired by two different OCT devices: CIRRUS\(^\mathrm{TM}\) HD-OCT Zeiss OCT device and Spectralis\(\textregistered \) OCT confocal scanning laser ophtalmoscope from Heidelberg Engineering, two of the most representative and used of the market. We used these groups of images with different levels of noise and, therefore quality, each one of them with 15 images: (a) good quality images, (b) mid quality images and (c) bad quality images. Figure 4 shows representative examples of images included in each group. The vast majority, almost 90% of the images on the dataset belongs to unhealthy retinal patients, increasing the difficulty of the validation process due to the presence of dark regions, typically cystoid regions, that may influence in the metric results.

Fig. 4.
figure 4

Example of classification groups of OCT retinal images. (a) Good quality. (b) Mid quality. (c) Bad quality images.

In order to test the performance of the method and perform a fair comparison, we also tested representative denoising methods for OCT images of the state-of-the-art under the same conditions of the proposed methodology. These methods [10, 11] are: Frost filters, Kuan filter, Kuwahara filter, Lee filter and wavelet filter. The proposed method was used with a cutoff frequency equal to 80 Hz and \(5^{th}\) order, parameters that were empirically established.

The results are synthesized in Fig. 5 which allows to do a quantitative comparison between the original and the filtered images of each quality group. The results show that the proposed method offers a better performance than the rest of the tested methods for all the groups of images in the dataset, having an increase of the SNR parameter from 22.9 dB to 35.6 dB in the group of good quality images and 9.3 dB better than the second best filter, the Frost filter. This demonstrates that the proposed filter suppresses noise in group (a) of images with good quality, but also, similarly positive results were obtained from (b) and (c) groups of images. Further, as expected in group (c) the proposed method have an improvement of 7.5 dB better than the next best filter, which is Kuan filter and 14.1 dB higher than the original images. Regarding the CNR metric, the proposed method also shows improvements of over 22.1 dB, 6.5 dB and 13.2 dB better than the second best method for (a) to (c), groups of images qualities, respectively. It is also possible to conclude that the image quality classification is coherent with the quantitative metrics, since the best group of original image quality has the highest values for SNR and CNR while the worth group of image quality has the lowest values.

Table 1 presents a general performance analysis and comparison using the entire dataset of 45 images. The three SNR, CNR and ENL were calculated for the original image, the state-of-the-art approaches and the proposed method. The SNR metric of the proposed method increases over 12.74 dB more when compared to the original noisy image and over 7.04 dB than the second best filter, the Kuan filter. Moreover, the proposed method also produced the best image contrast (CNR), near 17.81 dB better than the original image from 4.77 dB to 22.58 dB and 14.08 dB better than the Kuan filter (22.58 dB to 8.50 dB) also the second best method. This reinforces the effectiveness of the proposed method in noise removal conditions with the contrast enhancement of the images and the preservation of the retinal layer tissue details. Regarding the ENL metric, despite the proposal offers a satisfactory score, it is not the best of all of them. However, as this metric measures the homogeneity of the tissue, extremely high values are not desired as they may be derived due to more blurred output filtered images, losing, therefore, retinal tissue details (Fig. 6).

Fig. 5.
figure 5

Results of quality metrics for the tested denoising methods filters on the 3 groups of quality images: (a) Good quality, (b) Mid quality and (c) Bad quality images.

Table 1. Results of the quality metrics SNR, CNR and ENL using the entire dataset.
Fig. 6.
figure 6

Example of denoising results in OCT images. (a) Original good quality image. (b) Filtered good quality image. (c) Original mid quality image. (d) Filtered mid quality image. (e) Original bad quality image. (f) Filtered bad quality image.

4 Conclusions

In this paper, we present a new methodology for denoising OCT images based on the Fourier Butterworth filter combined with an image contrast enhancement and histogram regularization. The property of low-pass filter ensures the speckle noise reduction that is present on the OCT images whereas the post-processing with the histogram correction allows an improvement on the image contrast, enhancing the retinal tissue details.

According to the visual assessment of the results before and after filtering the OCT images, it is possible to conclude that the proposed method provides an efficient noise suppression with a higher contrast enhancing of morphological structures such as the boundaries of the different retinal layers, preserving clinical details as cysts without blurring excessively the output image in all the groups of original image qualities. Additionally, based on experimental quality metrics as SNR, CNR and ENL, we can offer an accurate method for noise suppression in comparison with other well-stated methods of the literature. The proposed method returns the best results in SNR, improving over 12.74 dB and 7.04 dB when compared with the original and the second best filtered images, respectively. Moreover, it has a great potential to improve the image contrast (CNR) with 17.81 dB better than original image and 14.08 dB better than the Kuan filter, the second best filter. In this way, the method is capable to improve the conditions of the OCT images, facilitating any posterior analysis of the retinal characteristics in the diagnosis of different retinal diseases.