Abstract

Ultrasound elastography infers mechanical properties of living tissues from ultrasound radiofrequency (RF) data recorded while the tissues are undergoing deformation. A challenging yet critical step in ultrasound elastography is to estimate the tissue displacement (or, equivalently the time delay estimate) fields from pairs of RF data. The RF data are often corrupted with noise, which causes the displacement estimator to fail in many in vivo experiments. To address this problem, we present a nonlocal, coherent denoising approach based on Bayesian estimation to reduce the impact of noise. Despite incoherent denoising algorithms that smooth the B-mode images, the proposed denoising algorithm is used to suppress noise while maintaining useful information such as speckle patterns. We refer to the proposed approach as COherent Denoising for Elastography (CODE) and evaluate its performance when CODE is used in conjunction with the two state-of-art elastography algorithms, namely: (i) GLobal Ultrasound Elastography (GLUE) and (ii) Dynamic Programming Analytic Minimization elastography (DPAM). Our results show that CODE substantially improves the strain result of both GLUE and DPAM.

1. Introduction

Ultrasound elastography determines the viscoelastic properties of tissues and is useful for diagnosis of pathology and for aiding surgeons in the operating room. Broadly speaking, ultrasound elastography can be grouped into two categories [16]: dynamic elastography and quasi-static elastography. In this paper, we focus on two state-of-art free-hand palpations and quasi-static elastographic approaches, namely, GLobal Ultrasound Elastography(GLUE) [7] and Real-Time Regularized Ultrasound Elastography (DPAM) [8]. Both approaches use successive pairs of frames of ultrasound RF data to estimate the tissue displacement (also referred to as time delay estimates (TDE)). The derivative of TDE provides an estimate of the induced strain that represents the stiffness or softness of the tissue being imaged. Figure 1 illustrates the steps involved in quasi-static ultrasound elastography with the handheld device shown on the left handside and the displacement field estimates defined using the two frames on the right.

At the heart of both GLUE and DPAM is an energy minimization approach to determine TDE’s. A dynamic programming approach is used in both cases to compute TDE’s first at a coarse pixel level. The resolution of the TDE’s is then enhanced to the finer subpixel level through analytical minimization. Given that RF ultrasound data can be corrupted by several factors such as thermal and electronic noise, there is a need to compensate for noise in the RF data. Traditional filtering techniques, such as the convolution with a Gaussian kernel, use local continuity in the images to reduce noise. A new class of denoising algorithms, referred to as nonlocal means (NLM) [9], considers data from a much larger “nonlocal” region for denoising. NLM relies on redundancy in images and uses the weighted average of most similar intraframe pixels within a large nonlocal neighbourhood to eliminate noise.

Most NLM-based denoising approaches [1012] remove noise from processed output of the RF data, which is referred to as B-mode images in ultrasound literature. NLM denoising reduces speckle pattern and generates smooth B-mode images. Ultrasound speckle is useful in several image analysis techniques, such as ultrasound elastography [13, 14], free-hand sensorless 3D ultrasound [15, 16], and quantitative ultrasound [17]. In this work, we focus on ultrasound elastography.

In this paper, we present an alternate approach, wherein the NLM denoising algorithm is applied directly to raw RF data instead of processed B-mode images. We refer to the proposed approach as COherent Denoising for Elastography (CODE) and evaluate its performance on in vivo liver ablation data when used in conjunction with two commonly used elastography algorithms, namely: (i) GLobal Ultrasound Elastography (GLUE) [7] and (ii) Dynamic Programming Analytic Minimization elastography (DPAM) [8]. CODE exploits the complete set of information in the RF domain, some of which is likely to be lost in the processing steps used to generate the B-mode images. It is, therefore, our intuition that CODE would result in superior denoising results. Using information in RF data to generate visually informative B-mode images is challenging [18]. To illustrate the superiority of CODE, both mathematical analysis and experimental results are included in the paper. Our comparisons corroborate our intuition and verify the usefulness of CODE.

The rest of this paper is organized as follows. In Section 2, we introduce GLUE and DPAM as representative quasi-static elastography approaches. Section 3 provides background on nonlocal denoising and introduces CODE as a Bayesian estimator. In Section 4, we explore the ability of CODE on simulation data. Experimental results using phantom and in vivo data are included in Section 5. Finally, we conclude the paper in Section 6.

2. Quasi-Static Elastography: GLUE and DPAM

Both DPAM and GLUE are quasi-static approaches based on the optimization of a regularized cost function to determine tissue displacements. They both aim at finding the axial and lateral displacements (a and l) of all samples of RF data as shown in Figure 1. DPAM uses dynamic programming (DP) to first estimate the integer displacement of a seed-line in terms of the number of pixels and then applies analytical minimization (AM) to fine tune the estimated displacement to the subpixel level. The strain image is obtained using the spatial differentiation of the displacement field. GLUE also uses DP for estimating the integer tissue displacements and refines the estimates to subpixels for the entire image simultaneously. In other words, GLUE solves an optimization function where both axial and lateral displacements of every sample of the RF frame are unknowns, that is, in the order of a million variables. This is in contrast to DPAM, which refines the estimates line-by-line. The strain image again is calculated based on the differentiation of displacement map similar to DPAM. Although GLUE and DPAM perform well in most cases, they may not converge to the correct solution in the presence of excessive noise. In the next section, we present our denoising approach used to reduce the impact of noise in the RF domain.

3. The Nonlocal Denoising Approach

The central idea behind this paper is to apply coherent denoising on RF data. Unlike incoherent denoising approaches that process the B-mode images to remove noise (resulting in spatial averaging and significant loss of speckle patterns), the proposed approach retains speckle patterns. We first outline NLM, which is followed by a description of the CODE algorithm, including an analytical justification of why CODE provides better denoising results.

3.1. Nonlocal Means

Let be the observed value of the discretized image for pixel and be its true value. Due to the presence of noise , we have

To simplify our explanation, we focus on 1D signals, but our results are generalizable to 2D images. In fact, the experimental results included in Section 4 are for 2D phantom and in vivo liver ablation data. To denoise the image for each pixel , NLM searches a reference area of the image within a rectangular search window , which is centered around pixel (Figure 2). A neighbourhood of known dimension is selected around pixel and compared to neighbourhood around pixel for all . For pixel , weight is assigned to each pixel . The value of pixel is then replaced by

The distance metric is proportional to the square of the Euclidian distance between the two patches. The weight is then calculated as

Based on (3), it is clear that the weight is the convolution of a Gaussian with standard deviation and the squared Euclidean distance between two neighbourhoods , for and . The smoothing parameter controls the contribution of the Gaussian-Euclidean distance exponent in the weights. The normalization factor for pixel is given bywhere the weight is normalized to ensure that the dynamic range of the is the same as that of its counterpart .

3.2. The Proposed Bayesian CODE Framework

Noise in ultrasound B-mode images originates from piezoelectric sensors and data acquisition card. Depending on the application, the level of noise can even be higher. For example, ablation treatment generates heat and microbubbles that severely deteriorate RF data [1921]. Both logarithmic compression and envelope detection steps, applied to derive the B-mode image, are nonlinear operations that complicate measurement noise added by sensors and acquisition card. Our CODE approach eliminates noise introduced by sensors and acquisition card before the nonlinear logarithmic compression and envelope detection by applying NLM directly to RF ultrasound data.

We now provide an analytical explanation of why NLM denoising is adapted for the RF domain. Let and be vectorized ground truth and observed patches of size centered at pixel of RF data (Figure 2). We define them as with and , where and are the neighbourhoods (patches) of size around the central pixel in ground truth and observed images. Our goal is to derive the Bayesian estimator for patch based on the observed patch . Defining the optimal estimator by minimizing the posterior expected loss aswhere constitutes all possible outcomes of , the loss function is given by

Substituting (6) in (5), the optimal Bayesian estimator is

Equation (7) can be expressed as

Only a subset of is accessible in the search region of the central pixel . We refer to this subset as the search region, . Assuming that cardinality of is and is uniformly distributed, that is, , (8) simplifies towhere is the optimal estimator based on the uniform distribution assumption. Given the ground truth is not accessible, we substitute the observed value of the neighbourhood patches to get

Given that the noise in the RF data is modelled as an additive Gaussian noise [22, 23], we havewhere is the additive white Gaussian noise with variance . By assuming that the likelihood can be factorized aswhere and are the counterpart pixels in the patches with central pixels and . Therefore, is multivariant normal distributed . Notation is the identity matrix. Thus, the filter in (10) can be adapted to remove the noise of RF data as

Equation (13) is also known as the NLM algorithm. By considering the normal distributed assumption, (13) can be adapted for denoising the RF data by replacing . Therefore, the adapted filter for denoising the RF data (CODE) is

This filter is based on the noise statistics of RF data. CODE is, therefore, the optimal denoising approach for removing noise in (11) within the RF domain.

Kevrann et al. [12] and Coupe et al. [10] have developed similar Bayesian estimators but for reducing the speckles pattern in the B-mode image. Aligned with the mathematical Bayesian estimator, the properties of noise in RF data show the usefulness of CODE for removing noise from the RF ultrasound data.

4. Simulation Validation for Code

To assess the performance of the CODE approach, the Field II [24] software is used to simulate RF data from a lesion phantom of size 60, 50, and 10 mm in axial, lateral, and out-of-plane directions, respectively. The phantoms consist of two classes of background and target tissues. To determine the precision and sensitivity of the CODE, three different setups with 5, 10, and 15 scatterers per resolution cell distributed randomly within the phantom are used. Different realizations for each group of scatterers are generated. The RF output of Field II is corrupted by adding additive white Gaussian noise with a SNR of 5 dB.

Figure 3 shows the results of NLM applied to B-mode images. As expected, NLM performs incoherent averaging and removes speckle pattern. This is desired for many applications such as segmentation and registration [25], but not in elastography. Figure 3 also shows the results of applying a Gaussian kernel to the RF data. Since averaging is performed in the RF domain, the speckle pattern is retained. Finally, the results of CODE denoising are also shown in this figure, which visually outperforms other methods in terms of similarity to the original B-mode image. Figure 4 compares the histogram of the B-mode of these three images. Since the distribution of noise-free image (ground truth) is known, we used the following chi-square test as a quantitative parameter for comparison:where is the observed value, is the expected value, and is the number of bins (256 bins of grey levels for simulated images). The chi-squared criterion for distribution and sum of squared difference (SSD) between original and filtered images using NLM, Gaussian with kernel width of 5 and smoothing parameter 1, and CODE with search region 21, kernel width 5, and smoothing parameter 5, are compared in Table 1. In both cases (chi-squared and SSD), CODE outperforms the conventional NLM approach and Gaussian denoising applied directly on RF data, as demonstrated in theory in Section 3.2.

Moreover, with respect to simulations in Field II, the ground truth is available to study error variance of all 3 distributions of scatterers. The error variance is measured using normalized root mean square error (NRMSE) defined aswhere is ground truth of Field II, is either noisy image or denoised version using NLM or Gaussian denoising. Table 2 shows that the error variance for the CODE method is minimum in comparison with other denoising.

5. Phantom and In Vivo Elastography

We study 3 different cases of phantom data, in vivo liver ablation data, and tendon data for both GLUE and DPAM. The results are provided in Figures 510. The window size of 3 provides correct strain map, for CODE meanwhile requires the minimum computational budget. To be fair in comparison, the window size is the same for both NLM and Gaussian denoising.

Phantom data in Figures 5 and 6 are obtained from a CIRS breast phantom (Norfolk, VA) under free-hand palpation. There is excessive out-of-plane motion between the two processed images, and therefore, the DP step fails. This leads to failure in both DPAM and GLUE, which is apparent as black horizontal artifacts in (a), (c) and black artifact at right down corner of (d) for both mentioned figures. However, CODE removes the noise from the RF data and leads to a strain image with low noise and high contrast. The phantom contains a cyst in the middle with certain elasticity surrounded by another tissue. Those artifacts as described are failing to depict the tissue around the cyst or the cyst elasticity by showing different elasticities.

Patient data in Figures 7 and 8 were acquired from a patient undergoing open-surgical radiofrequency thermal ablation for primary or secondary liver cancer. These data are available online [8]. The Institutional Ethical Review Board at Johns Hopkins University approved all experimental procedures involving human subjects. For the patient data, ablation procedure generates substantial amount of noise in the RF data [1921]. As a result of excessive noise, DP fails, which generates the horizontal black and white bands in the top left of (a), (c), and (d). Although the environment is extremely noisy, the well-adapted CODE method denoises the RF data in a way that both algorithms are able to get the correct strain map for patient data. The ablation operation coagulates the tissue, which makes the tissue stiffer. The coagulated tissue is often referred to as ablation lesion, and its size should be bigger than the tumor to ensure that the entire tumor is ablated. The strain images in Figures 7(b) and 8(b) clearly show the ablation lesion as a dark region with low strain (i.e., hard). CODE helps to remove noise in RF data, which leads to less noisy strain images. Such strain images can help the surgeon to minimize the cancer recurrence rate. However, NLM and Gaussian fail to reconstruct the strain map and show sudden changes in tissue that are misleading and violate tissue continuity.

We also evaluate CODE on data collected from patellar tendon. These data were collected at the PERFORM Centre at Concordia University. Ethics approval was obtained for this study from Quebec’s Ministere de la Sante et des Services Sociaux, and all subjects signed a consent form to participate. Data are collected using an Alpinion ECube ultrasound machine (Bothell, WA) with a L3-12 linear transducer at the centre frequency of 11 MHz with sampling frequency of 40 MHz. The results are shown in Figures 9 and 10. The probe is held stationary, and the subject flexes his knee joint during data collection. CODE removes the noise in the RF data and results in a more meaningful strain image.

6. Conclusions

In this paper, we have proposed a denoising algorithm, referred to as the CODE (COherent Denoising for Elastography) approach for ultrasound elastography. CODE is applied directly to the RF data and has the ability to eliminate noise, while retaining relevant speckle patterns. This is demonstrated using phantom and experiments based on in vivo clinical data. The results of CODE are used for GLUE and DPAM, which verifies the effectiveness of the proposed CODE. More clinical studies are needed to fully verify the benefits of the CODE algorithm.

Data Availability

The data collected for this publication cannot be shared online due to the requirements of the ethics approval and other constraints. Some of the data used in this paper are available online [8].

Conflicts of Interest

The authors declare that they have no conflicts of interest.

Acknowledgments

The authors would like to thank Julian Lee from Alpinion USA for technical help. The liver data were collected at Johns Hopkins Hospital. The authors would like to thank the principal investigators Drs. E. Boctor, M. Choti, and G. Hager who provided the data. This research has been provided by two NSERC Discovery Grants RGPIN-2015-04136 and 228415.