Research Article  Open Access
P. Khavari, A. Asif, M. Boily, H. Rivaz, "Nonlocal Coherent Denoising of RF Data for Ultrasound Elastography", Journal of Healthcare Engineering, vol. 2018, Article ID 7979528, 9 pages, 2018. https://doi.org/10.1155/2018/7979528
Nonlocal Coherent Denoising of RF Data for Ultrasound Elastography
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 Bmode 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 stateofart 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 [1–6]: dynamic elastography and quasistatic elastography. In this paper, we focus on two stateofart freehand palpations and quasistatic elastographic approaches, namely, GLobal Ultrasound Elastography(GLUE) [7] and RealTime 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 quasistatic 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 NLMbased denoising approaches [10–12] remove noise from processed output of the RF data, which is referred to as Bmode images in ultrasound literature. NLM denoising reduces speckle pattern and generates smooth Bmode images. Ultrasound speckle is useful in several image analysis techniques, such as ultrasound elastography [13, 14], freehand 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 Bmode 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 Bmode images. It is, therefore, our intuition that CODE would result in superior denoising results. Using information in RF data to generate visually informative Bmode 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 quasistatic 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. QuasiStatic Elastography: GLUE and DPAM
Both DPAM and GLUE are quasistatic 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 seedline 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 linebyline. 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 Bmode 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 GaussianEuclidean 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 Bmode 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 [19–21]. Both logarithmic compression and envelope detection steps, applied to derive the Bmode 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 Bmode 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 outofplane 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 Bmode 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 Bmode image. Figure 4 compares the histogram of the Bmode of these three images. Since the distribution of noisefree image (ground truth) is known, we used the following chisquare 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 chisquared 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 (chisquared and SSD), CODE outperforms the conventional NLM approach and Gaussian denoising applied directly on RF data, as demonstrated in theory in Section 3.2.
(a)
(b)
(c)
(d)
(e)
(a)
(b)
(c)
 
The ground truth was obtained from a Field II simulation 
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 5–10. 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.
(a)
(b)
(c)
(d)
(a)
(b)
(c)
(d)
(a)
(b)
(c)
(d)
(a)
(b)
(c)
(d)
(a)
(b)
(c)
(d)
(a)
(b)
(c)
(d)
Phantom data in Figures 5 and 6 are obtained from a CIRS breast phantom (Norfolk, VA) under freehand palpation. There is excessive outofplane 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 opensurgical 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 [19–21]. 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 welladapted 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 L312 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 RGPIN201504136 and 228415.
References
 J. Ophir, S. K. Alam, B. Garra et al., “Elastography: ultrasonic estimation and imaging of the elastic properties of tissues,” Proceedings of the Institution of Mechanical Engineers, Part H: Journal of Engineering in Medicine, vol. 213, no. 3, pp. 203–233, 1999. View at: Publisher Site  Google Scholar
 T. J. Hall, P. E. Barboneg, A. A. Oberai et al., “Recent results in nonlinear strain and modulus imaging,” Current Medical Imaging Reviews, vol. 7, no. 4, pp. 313–327, 2011. View at: Publisher Site  Google Scholar
 G. Treece, J. Lindop, L. Chen, J. Housden, R. Prager, and A. Gee, “Realtime quasistatic ultrasound elastography,” Interface Focus, vol. 1, no. 4, pp. 540–552, 2011. View at: Publisher Site  Google Scholar
 K. J. Parker, M. M. Doyley, and D. J. Rubens, “Imaging the elastic properties of tissue: the 20 year perspective,” Physics in Medicine and Biology, vol. 56, no. 2, p. 513, 2010. View at: Publisher Site  Google Scholar
 J.L. Gennisson, T. Deffieux, M. Fink, and M. Tanter, “Ultrasound elastography: principles and techniques,” Diagnostic and Interventional Imaging, vol. 94, no. 5, pp. 487–495, 2013. View at: Publisher Site  Google Scholar
 A. Tang, G. Cloutier, N. M. Szeverenyi, and C. B. Sirlin, “Ultrasound elastography and MR elastography for assessing liver fibrosis: part 1, principles and techniques,” American Journal of Roentgenology, vol. 205, no. 1, pp. 22–32, 2015. View at: Publisher Site  Google Scholar
 H. S. Hashemi and H. Rivaz, “Global timedelay estimation in ultrasound elastography,” IEEE Transactions on Ultrasonics, Ferroelectrics, and Frequency Control, vol. 64, no. 10, pp. 1625–1636, 2017. View at: Publisher Site  Google Scholar
 H. Rivaz, E. M. Boctor, M. A. Choti, and G. D. Hager, “Realtime regularized ultrasound elastography,” IEEE Transactions on Medical Imaging, vol. 30, no. 4, pp. 928–945, 2011. View at: Publisher Site  Google Scholar
 A. Buades, B. Coll, and J.M. Morel, “A nonlocal algorithm for image denoising,” in Proceedings of the IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR 2005), vol. 2, pp. 60–65, IEEE, San Diego, CA, USA, June 2005. View at: Google Scholar
 P. Coupé, P. Hellier, C. Kervrann, and C. Barillot, “Nonlocal meansbased speckle filtering for ultrasound images,” IEEE Transactions on Image Processing, vol. 18, no. 10, pp. 2221–2229, 2009. View at: Publisher Site  Google Scholar
 H. Khodadadi, A. G. Aghdam, and H. Rivaz, “Edgepreserving ultrasonic strain imaging with uniform precision,” in Proceedings of the 2015 37th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC), pp. 3835–3838, IEEE, Milan, Italy, August 2015. View at: Google Scholar
 C. Kervrann, J. Boulanger, and P. Coupé, “Bayesian nonlocal means filter, image redundancy and adaptive dictionaries for noise removal,” in Proceedings of the Scale Space and Variational Methods in Computer Vision (SSVM 2007), pp. 520–532, Ischia, Italy, MayJune 2007. View at: Google Scholar
 H. Rivaz, E. M. Boctor, M. A. Choti, and G. D. Hager, “Ultrasound elastography using multiple images,” Medical Image Analysis, vol. 18, no. 2, pp. 314–329, 2014. View at: Publisher Site  Google Scholar
 J. Ophir, S. K. Alam, B. S. Garra et al., “Elastography: imaging the elastic properties of soft tissues with ultrasound,” Journal of Medical Ultrasonics, vol. 29, no. 4, pp. 155–171, 2002. View at: Publisher Site  Google Scholar
 N. Afsham, M. Najafi, P. Abolmaesumi, and R. Rohling, “A generalized correlationbased model for outofplane motion estimation in freehand ultrasound,” IEEE Transactions on Medical Imaging, vol. 33, no. 1, pp. 186–199, 2014. View at: Publisher Site  Google Scholar
 H. Rivaz, R. Zellars, G. Hager, G. Fichtinger, and E. Boctor, “9c1 beam steering approach for speckle characterization and outofplane motion estimation in real tissue,” in Proceedings of the Ultrasonics Symposium, 2007, pp. 781–784, IEEE, New York, NY, USA, October 2007. View at: Google Scholar
 M. L. Oelze and J. Mamou, “Review of quantitative ultrasound: Envelope statistics and backscatter coefficient imaging and contributions to diagnostic ultrasound,” IEEE Transactions on Ultrasonics, Ferroelectrics, and Frequency Control, vol. 63, no. 2, pp. 336–351, 2016. View at: Publisher Site  Google Scholar
 C. Wachinger, T. Klein, and N. Navab, “The 2D analytic signal for envelope detection and feature extraction on ultrasound images,” Medical Image Analysis, vol. 16, no. 6, pp. 1073–1084, 2012. View at: Publisher Site  Google Scholar
 T. Varghese, U. Techavipoo, W. Liu et al., “Elastographic measurement of the area and volume of thermal lesions resulting from radiofrequency ablation: pathologic correlation,” American Journal of Roentgenology, vol. 181, no. 3, pp. 701–707, 2003. View at: Publisher Site  Google Scholar
 J. Jiang, T. Varghese, C. L. Brace et al., “Young’s modulus reconstruction for radiofrequency ablation electrodeinduced displacement fields: a feasibility study,” IEEE Transactions on Medical Imaging, vol. 28, no. 8, pp. 1325–1334, 2009. View at: Publisher Site  Google Scholar
 H. Rivaz, I. Fleming, L. Assumpcao et al., “Ablation monitoring with elastography: 2D invivo and 3D exvivo studies,” in Proceedings of the Medical Image Computing and ComputerAssisted Intervention (MICCAI 2008), pp. 458–466, New York, NY, USA, September 2008. View at: Publisher Site  Google Scholar
 F. Viola and W. F. Walker, “A comparison of the performance of timedelay estimators in medical ultrasound,” IEEE Transactions on Ultrasonics, Ferroelectrics, and Frequency Control, vol. 50, no. 4, pp. 392–401, 2003. View at: Publisher Site  Google Scholar
 C. A. Teixeira, L. Mendes, M. G. Ruano, and W. C. Pereira, “A method for subsample computation of time displacements between discrete signals based only on discrete correlation sequences,” Biomedical Signal Processing and Control, vol. 31, pp. 560–568, 2017. View at: Publisher Site  Google Scholar
 J. A. Jensen, “Field: a program for simulating ultrasound systems,” in 10th Nordicbaltic Conference on Biomedical Imaging, vol. 4, no. S1, Tampere, Finland, June 1996. View at: Google Scholar
 H. Zhou and H. Rivaz, “Registration of preand postresection ultrasound volumes with noncorresponding regions in neurosurgery,” IEEE Journal of Biomedical and Health Informatics, vol. 20, no. 5, pp. 1240–1249, 2016. View at: Publisher Site  Google Scholar
Copyright
Copyright © 2018 P. Khavari et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.